sarg  2.4.0
About: SARG ia a Squid Analysis Report Generator.
  Fossies Dox: sarg-2.4.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

dichotomic.h
Go to the documentation of this file.
1 #ifndef DICHOTOMIC_HEADER
2 #define DICHOTOMIC_HEADER
3 
4 #ifdef HAVE_STDBOOL_H
5 #include <stdbool.h>
6 #else
7 typedef int bool;
8 #ifndef true
9 #define true 1
10 #endif
11 #ifndef false
12 #define false 0
13 #endif
14 #endif
15 
18 
21 
22 const char *Dichotomic_Search(DichotomicObject Obj,const char *key);
23 bool Dichotomic_Insert(DichotomicObject Obj,const char *key, const char *value);
24 
25 
26 #endif //DICHOTOMIC_HEADER
DichotomicStruct
Definition: dichotomic.c:42
bool
int bool
Definition: dichotomic.h:7
Dichotomic_Destroy
void Dichotomic_Destroy(DichotomicObject *ObjPtr)
Definition: dichotomic.c:82
Dichotomic_Create
DichotomicObject Dichotomic_Create(void)
Definition: dichotomic.c:61
DichotomicObject
struct DichotomicStruct * DichotomicObject
The object to store key/value pairs.
Definition: dichotomic.h:17
Dichotomic_Search
const char * Dichotomic_Search(DichotomicObject Obj, const char *key)
Definition: dichotomic.c:192
Dichotomic_Insert
bool Dichotomic_Insert(DichotomicObject Obj, const char *key, const char *value)
Definition: dichotomic.c:139