#ifndef H_ORDERDB #define H_ORDERDB #include #ifdef __cplusplus extern "C" { #endif typedef struct order_data { const char *_str; int _refcount; } order_data; void odata_create(order_data **pdata, size_t len, const char *str); void odata_release(order_data * od); void odata_addref(order_data *od); void orderdb_open(void); void orderdb_close(void); #ifdef __cplusplus } #endif #endif