taskrambler  0.1.9
Web server and task management solution.
config/get.c File Reference
#include <sys/types.h>
#include "class.h"
#include "hash/hash.h"
#include "config/config.h"
#include "config/value.h"
+ Include dependency graph for config/get.c:

Go to the source code of this file.

Functions

ConfigValue configGet (Config this, const char *key, size_t nkey)
 

Detailed Description

Author
Georg Hopp

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 config/get.c.

Function Documentation

ConfigValue configGet ( Config  this,
const char *  key,
size_t  nkey 
)

Definition at line 31 of file config/get.c.

References config, and hashGet().

Referenced by httpWorkerProcess(), and main().

32 {
33  if (NULL == this) {
34  return NULL;
35  }
36 
37  return hashGet(this->config, key, nkey);
38 }
void * hashGet(Hash, const char *, size_t)
Definition: hash/get.c:51
Config config
Definition: taskrambler.c:67

+ Here is the call graph for this function:

+ Here is the caller graph for this function: