mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
21 lines
397 B
C
21 lines
397 B
C
/*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef _SMART_PARSER_H_
|
|
#define _SMART_PARSER_H_
|
|
|
|
typedef void* PARSETREE;
|
|
|
|
extern PARSETREE sp_init(void);
|
|
extern int sp_parse(PARSETREE tree, char *term, int type);
|
|
extern int sp_dispose(PARSETREE tree);
|
|
extern char *sp_get_error(PARSETREE tree);
|
|
extern char *sp_sql_clause(PARSETREE tree);
|
|
|
|
#define SP_TYPE_PLAYLIST 0
|
|
#define SP_TYPE_QUERY 1
|
|
|
|
#endif /* _SMART_PARSER_H_ */
|
|
|