00001 /* ---------------------------------------------------------------------------- 00002 * @(#) $Header: /home/systems/jlewalle/dev/jacob-cvs/projects/state/src/scfg/scfg_lexer.h,v 1.2 2003/03/07 16:07:49 jlewalle Exp $ 00003 * 00004 * --------------------------------------------------------------------------*/ 00005 #if !defined(_INCLUDED_LEXER_H_HEADER__) 00006 #define _INCLUDED_LEXER_H_HEADER__ 00007 00008 typedef struct scfg_token_t 00009 { 00010 const char *ptr; 00011 ssize_t len; 00012 } scfg_token_t; 00013 00018 apr_ssize_t 00019 scfg_lexer(const char *ptr, long *token, scfg_parser_t *parser); 00020 00021 char * 00022 scfg_token_to_string(unsigned long itoken); 00023 00024 #endif