|
taskrambler
0.1.9
Web server and task management solution.
|
#include <stdarg.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include "class.h"#include "config/value.h"#include "utils/memory.h"#include "utils/hash.h"
Include dependency graph for config/value.c:Go to the source code of this file.
Functions | |
| static int | configValueCtor (void *_this, va_list *params) |
| static void | configValueDtor (void *_this) |
| static unsigned long | configValueGetHash (void *_this) |
| static void | configValueHandleDouble (void *_this, void *_double) |
| INIT_IFACE (Class, configValueCtor, configValueDtor, NULL) | |
| INIT_IFACE (Hashable, configValueGetHash, configValueHandleDouble) | |
| CREATE_CLASS (ConfigValue, NULL, IFACE(Class), IFACE(Hashable)) | |
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/value.c.
|
static |
if we find the value enclosed by single or double quotes we take it as a string, else we take it as a numeric which is treated as a long long right now.
Definition at line 35 of file config/value.c.
References CONFIG_VALUE_NUMERIC, CONFIG_VALUE_STRING, memMalloc(), and sdbm().
Here is the call graph for this function:
|
static |
Definition at line 71 of file config/value.c.
References CONFIG_VALUE_STRING, and MEM_FREE.
|
static |
Definition at line 82 of file config/value.c.
|
static |
Definition at line 91 of file config/value.c.
| INIT_IFACE | ( | Class | , |
| configValueCtor | , | ||
| configValueDtor | , | ||
| NULL | |||
| ) |
| INIT_IFACE | ( | Hashable | , |
| configValueGetHash | , | ||
| configValueHandleDouble | |||
| ) |