#include <stdio.h>
#include <neuro/neuro.h>
Go to the source code of this file.
Defines | |
#define | ERR_NOSTRING 1 |
#define | ERR_INVALID 2 |
#define | ERR_TABLEFULL 3 |
Typedefs | |
typedef void(* | StringTableIterator )(struct StringTable *st, const char *key, void *val, void *udata) |
Functions | |
StringTable * | newStringTable (void) |
int | putString (struct StringTable *st, const char *key, void *val) |
int | putInt (struct StringTable *st, int key, void *val) |
int | delString (struct StringTable *st, const char *key) |
int | delInt (struct StringTable *st, int key) |
void * | findString (struct StringTable *st, const char *key) |
void * | findInt (struct StringTable *st, int key) |
int | stringToInt (const char *str) |
void | allStrings (struct StringTable *st, StringTableIterator sti, void *udata) |
void | freeStringTable (struct StringTable *st) |
|
Definition at line 10 of file stringtable.h. |
|
Definition at line 9 of file stringtable.h. Referenced by delString(). |
|
Definition at line 11 of file stringtable.h. |
|
Definition at line 14 of file stringtable.h. |
|
Definition at line 130 of file stringtable.c. Referenced by freeCommandHandler(). |
|
Definition at line 76 of file stringtable.c. References delString(). |
|
Definition at line 81 of file stringtable.c. References ERR_NOSTRING, and StringTable::stringTableNodeTab. Referenced by delInt(). |
|
Definition at line 96 of file stringtable.c. References findString(). Referenced by waitForNetEvent(). |
|
Definition at line 101 of file stringtable.c. References StringTable::stringTableNodeTab. Referenced by findInt(), and handleLine(). |
|
Definition at line 138 of file stringtable.c. References StringTable::stringTableNodeTab. Referenced by closeNSNet(), and freeCommandHandler(). |
|
Definition at line 26 of file stringtable.c. Referenced by newCommandHandler(), and newNSNet(). |
|
Definition at line 53 of file stringtable.c. References putString(). Referenced by attachConnectionReadHandler(), attemptBind(), and attemptConnect(). |
|
Definition at line 58 of file stringtable.c. References StringTable::stringTableNodeTab. Referenced by enregisterCommand(), newClientStarted(), and putInt(). |
|
Definition at line 40 of file stringtable.c. |