2000-10-29 18:26:21 +00:00
|
|
|
#ifndef _ZEND_INI_SCANNER_H
|
|
|
|
#define _ZEND_INI_SCANNER_H
|
|
|
|
|
|
|
|
#if defined(ZTS) && defined(__cplusplus)
|
|
|
|
class ZendIniFlexLexer : public yyFlexLexer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual ~ZendIniFlexLexer();
|
|
|
|
int lex_scan(zval *zendlval);
|
|
|
|
void BeginState(int state);
|
2000-10-30 23:19:48 +00:00
|
|
|
|
|
|
|
char *filename;
|
2000-10-29 18:26:21 +00:00
|
|
|
};
|
|
|
|
#endif /* ZTS && __cplusplus */
|
|
|
|
|
2000-10-29 22:40:01 +00:00
|
|
|
BEGIN_EXTERN_C()
|
2000-10-29 18:26:21 +00:00
|
|
|
int zend_ini_scanner_get_lineno();
|
2000-10-30 23:19:48 +00:00
|
|
|
char *zend_ini_scanner_get_filename();
|
2000-10-29 22:40:01 +00:00
|
|
|
int zend_ini_open_file_for_scanning(zend_file_handle *fh);
|
2000-10-29 23:10:04 +00:00
|
|
|
void zend_ini_close_file(zend_file_handle *fh);
|
2000-10-29 22:40:01 +00:00
|
|
|
int ini_lex(zval *ini_lval);
|
|
|
|
END_EXTERN_C()
|
2000-10-29 18:26:21 +00:00
|
|
|
|
2000-11-03 08:39:39 +00:00
|
|
|
#endif /* _ZEND_INI_SCANNER_H */
|