c-icap-doc
0.1
|
Macros, functions and structures used to implement and use lookup tables
More...
Data Structures | |
struct | ci_lookup_table |
The lookup table struct. More... | |
Functions | |
struct ci_lookup_table * | ci_lookup_table_create (const char *table) |
Create a lookup table More... | |
void | ci_lookup_table_destroy (struct ci_lookup_table *lt) |
Destroy a lookup table. More... | |
Macros, functions and structures used to implement and use lookup tables
Lookup tables can considered as simple read only databases where the user can search a set of values using a key
struct ci_lookup_table* ci_lookup_table_create | ( | const char * | table | ) |
Create a lookup table
table | The path of the lookup table (eg file:/etc/c-icap/users.txt or ldap://hostname/o=base?cn,uid?uid=chtsanti) |
void ci_lookup_table_destroy | ( | struct ci_lookup_table * | lt | ) |
Destroy a lookup table.
lt | Pointer to the lookup table will be destroyed. |