mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-02 10:33:23 -05:00
24 lines
415 B
C
24 lines
415 B
C
|
|
||
|
#ifndef __SMARTPL_QUERY_H__
|
||
|
#define __SMARTPL_QUERY_H__
|
||
|
|
||
|
|
||
|
struct smartpl {
|
||
|
char *title;
|
||
|
char *query_where;
|
||
|
char *having;
|
||
|
char *order_by;
|
||
|
int limit;
|
||
|
};
|
||
|
|
||
|
int
|
||
|
smartpl_query_parse_file(struct smartpl *smartpl, const char *file);
|
||
|
|
||
|
int
|
||
|
smartpl_query_parse_string(struct smartpl *smartpl, const char *expression);
|
||
|
|
||
|
void
|
||
|
free_smartpl(struct smartpl *smartpl, int content_only);
|
||
|
|
||
|
#endif /* __SMARTPL_QUERY_H__ */
|