summaryrefslogtreecommitdiff
path: root/Zend/zend_ini_scanner.h
blob: 1be587fa40800da8731818983820c6472e78d005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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);

	char *filename;
};
#endif	/* ZTS && __cplusplus */

BEGIN_EXTERN_C()
int zend_ini_scanner_get_lineno(TSRMLS_D);
char *zend_ini_scanner_get_filename(TSRMLS_D);
int zend_ini_open_file_for_scanning(zend_file_handle *fh TSRMLS_DC);
void zend_ini_close_file(zend_file_handle *fh TSRMLS_DC);
int ini_lex(zval *ini_lval TSRMLS_DC);
END_EXTERN_C()

#endif /* _ZEND_INI_SCANNER_H */