taskrambler
v0.1.8
Web server and task management solution.
|
#include <stdio.h>
#include <search.h>
#include <sys/types.h>
#include "hash.h"
#include "tree.h"
#include "utils/hash.h"
Go to the source code of this file.
Functions | |
static int | hashGetComp (const void *a, const void *b) |
void * | hashGet (Hash this, const char *search, size_t nsearch) |
void * | hashGetByVal (Hash this, unsigned long hash) |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file hash/get.c.
void* hashGet | ( | Hash | this, |
const char * | search, | ||
size_t | nsearch | ||
) |
Definition at line 51 of file hash/get.c.
References hashGetComp(), sdbm(), and treeFind().
Referenced by _controllerCreateUserFromArgs(), _controllerGetCredentialFromArgs(), _controllerGetUserFromArgs(), _controllerUpdateUserFromArgs(), assetPoolGet(), configGet(), controllerAuthenticateCreate(), controllerUserRead(), getMimeType(), getSessionId(), httpMessageHasKeepAlive(), httpParserParse(), and httpWorkerGetAsset().
void* hashGetByVal | ( | Hash | this, |
unsigned long | hash | ||
) |
Definition at line 60 of file hash/get.c.
References hashGetComp(), and treeFind().
|
inlinestatic |
Definition at line 35 of file hash/get.c.
References hashableGetHash().
Referenced by hashGet(), and hashGetByVal().