diff options
Diffstat (limited to 'tools/elapi_tools.h')
-rw-r--r-- | tools/elapi_tools.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/elapi_tools.h b/tools/elapi_tools.h new file mode 100644 index 0000000..fd9bf63 --- /dev/null +++ b/tools/elapi_tools.h @@ -0,0 +1,27 @@ +/* Copyright */ + +#ifndef ELAPI_TOOLS_H +#define ELAPI_TOOLS_H + +#include "elapi_collection.h" + +/* Debug handle */ +int debug_handle(char *property, + int property_len, + int type, + void *data, + int length, + void *custom_data, + int *dummy); + +/* Print collection for debugging purposes */ +int debug_collection(struct collection_item *handle,int flag); + +/* Print the collection using default serialization */ +int print_collection(struct collection_item *handle); + + +/* Find and print one item using default serialization */ +int print_item(struct collection_item *handle, char *name); + +#endif |