diff options
author | Michiel Van Der Kolk <not.valid@email.address> | 2005-04-28 14:48:12 +0000 |
---|---|---|
committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-04-28 14:48:12 +0000 |
commit | 29909a341aa5b829b80472fe4a726120f2a6f514 (patch) | |
tree | cd4fd91ae658b5c6bdd8b8c156eb27244b92bc74 /apps/plugins/searchengine/parser.h | |
parent | 9ceac0a293b22e71dc534a89751f7c4be8b1a0cb (diff) |
Read searchquery from a search "file" (search tokenstream)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6372 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/searchengine/parser.h')
-rw-r--r-- | apps/plugins/searchengine/parser.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/searchengine/parser.h b/apps/plugins/searchengine/parser.h index e9c36d3b54..b40a6aee1c 100644 --- a/apps/plugins/searchengine/parser.h +++ b/apps/plugins/searchengine/parser.h @@ -16,12 +16,11 @@ * KIND, either express or implied. * ****************************************************************************/ -extern struct token *tokenbuffer,*currentToken; - +extern struct token *currentToken; extern int syntaxerror; extern char errormsg[250]; -unsigned char *parse(struct token *tokenbuf); +unsigned char *parse(int fd); void parser_acceptIt(void); int parser_accept(unsigned char kind); unsigned char *parseCompareNum(void); |