X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findexplugin.h;fp=index%2Findexplugin.h;h=f3de2cbbd03b72674e537a803196be77e6267cf9;hb=404739981f08f588c670e3fc272c547bde5ac5ae;hp=0000000000000000000000000000000000000000;hpb=764616f12808e177bb1d03cb3f5dbe3ddfa7aba2;p=idzebra-moved-to-github.git diff --git a/index/indexplugin.h b/index/indexplugin.h new file mode 100644 index 0000000..f3de2cb --- /dev/null +++ b/index/indexplugin.h @@ -0,0 +1,36 @@ +#ifndef INDEXPLUGINH +#define INDEXPLUGINH + +#include "../index/index.h" +#include + + +typedef int (*indexList)(ZebraHandle zh, const char *driverArg, enum zebra_recctrl_action_t action); + +typedef struct +{ + indexList idxList; +} zebra_index_plugin_object; + +void addDriverFunction(indexList); +void zebraIndexBuffer(ZebraHandle zh, char *data, int dataLength, enum zebra_recctrl_action_t action, char *name); + +#endif +#ifndef INDEXPLUGINH +#define INDEXPLUGINH + +#include "../index/index.h" +#include + + +typedef int (*indexList)(ZebraHandle zh, const char *driverArg, enum zebra_recctrl_action_t action); + +typedef struct +{ + indexList idxList; +} zebra_index_plugin_object; + +void addDriverFunction(indexList); +void zebraIndexBuffer(ZebraHandle zh, char *data, int dataLength, enum zebra_recctrl_action_t action, char *name); + +#endif