diff options
| author | Dmitri Pal <dpal@dpal.csb> | 2009-02-23 10:38:06 -0500 |
|---|---|---|
| committer | Dmitri Pal <dpal@dpal.csb> | 2009-02-23 10:38:06 -0500 |
| commit | d986aeb99fa33967374290bf7ce75eab76c6d446 (patch) | |
| tree | e85af838cd95b43c4f1be5bc2203a1a3474ba589 /tools/elapi_tools.h | |
| download | elapi_draft-d986aeb99fa33967374290bf7ce75eab76c6d446.tar.gz elapi_draft-d986aeb99fa33967374290bf7ce75eab76c6d446.tar.xz elapi_draft-d986aeb99fa33967374290bf7ce75eab76c6d446.zip | |
Initial commit.
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 |
