IDZEBRA  2.1.2
Functions
orddict.h File Reference
#include <yaz/yconfig.h>
#include <idzebra/dict.h>
#include <yaz/wrbuf.h>

Go to the source code of this file.

Functions

WRBUF zebra_mk_ord_str (int ord, const char *str)
 
char * dict_lookup_ord (Dict d, int ord, const char *str)
 
int dict_insert_ord (Dict dict, int ord, const char *p, int userlen, void *userinfo)
 
int dict_delete_ord (Dict dict, int ord, const char *p)
 
int dict_delete_subtree_ord (Dict d, int ord, void *client, int(*f)(const char *info, void *client))
 

Function Documentation

int dict_delete_ord ( Dict  dict,
int  ord,
const char *  p 
)

Definition at line 59 of file orddict.c.

References dict_delete(), and zebra_mk_ord_str().

Referenced by zebra_extract_record_stream().

int dict_delete_subtree_ord ( Dict  d,
int  ord,
void *  client,
int(*)(const char *info, void *client)  f 
)

Definition at line 67 of file orddict.c.

References dict_delete_subtree(), and zebra_mk_ord_str().

Referenced by zebra_drop_database().

int dict_insert_ord ( Dict  dict,
int  ord,
const char *  p,
int  userlen,
void *  userinfo 
)

Definition at line 50 of file orddict.c.

References dict_insert(), and zebra_mk_ord_str().

Referenced by zebra_extract_record_stream().

char* dict_lookup_ord ( Dict  d,
int  ord,
const char *  str 
)

Definition at line 42 of file orddict.c.

References dict_lookup(), and zebra_mk_ord_str().

Referenced by zebra_extract_record_stream().

WRBUF zebra_mk_ord_str ( int  ord,
const char *  str 
)

Definition at line 27 of file orddict.c.

References key_SU_encode().

Referenced by dict_delete_ord(), dict_delete_subtree_ord(), dict_insert_ord(), and dict_lookup_ord().