24 lines
436 B
C
Raw Normal View History

2015-01-23 05:59:47 +01:00
#ifndef __LIBRETRODB_QUERY_H__
#define __LIBRETRODB_QUERY_H__
2015-01-19 22:47:09 +01:00
2015-01-23 05:59:47 +01:00
#include "libretrodb.h"
2015-09-21 15:31:00 +02:00
#include "rmsgpack_dom.h"
2015-10-02 17:57:37 +02:00
#ifdef __cplusplus
extern "C" {
#endif
2015-09-21 15:31:00 +02:00
typedef struct libretrodb_query libretrodb_query_t;
2015-01-19 22:47:09 +01:00
2015-01-23 05:59:47 +01:00
void libretrodb_query_inc_ref(libretrodb_query_t *q);
void libretrodb_query_dec_ref(libretrodb_query_t *q);
2015-09-17 09:33:24 +02:00
int libretrodb_query_filter(libretrodb_query_t *q, struct rmsgpack_dom_value *v);
2015-01-19 22:47:09 +01:00
2015-10-02 17:57:37 +02:00
#ifdef __cplusplus
}
#endif
2015-01-19 22:47:09 +01:00
#endif