mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
31 lines
427 B
C
31 lines
427 B
C
|
|
#ifndef __DAAP_QUERY_H__
|
|
#define __DAAP_QUERY_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "logger.h"
|
|
#include "misc.h"
|
|
|
|
struct dmap_query_field_map {
|
|
uint32_t hash;
|
|
int as_int;
|
|
char *dmap_field;
|
|
char *db_col;
|
|
};
|
|
|
|
|
|
struct dmap_query_field_map *
|
|
daap_query_field_lookup(char *field);
|
|
|
|
char *
|
|
daap_query_parse_sql(const char *daap_query);
|
|
|
|
int
|
|
daap_query_init(void);
|
|
|
|
void
|
|
daap_query_deinit(void);
|
|
|
|
#endif /* !__DAAP_QUERY_H__ */
|