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