From d986aeb99fa33967374290bf7ce75eab76c6d446 Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Mon, 23 Feb 2009 10:38:06 -0500 Subject: Initial commit. --- tools/elapi_tools.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tools/elapi_tools.h (limited to 'tools/elapi_tools.h') 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 -- cgit