2005-05-22 04:11:54 +00:00
|
|
|
/*
|
2005-05-22 15:03:20 +00:00
|
|
|
* $Id: scanner.h,v 1.3 2005-05-22 15:03:20 bacon Exp $
|
2005-05-22 04:11:54 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XP_STX_SCANNER_H_
|
|
|
|
#define _XP_STX_SCANNER_H_
|
|
|
|
|
|
|
|
#include <xp/stx/stx.h>
|
2005-05-22 13:41:14 +00:00
|
|
|
#include <xp/stx/token.h>
|
|
|
|
|
|
|
|
struct xp_stx_scanner_t
|
|
|
|
{
|
|
|
|
xp_stx_token_t token;
|
|
|
|
xp_bool_t __malloced;
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct xp_stx_scanner_t xp_stx_scanner_t;
|
2005-05-22 04:11:54 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-05-22 13:41:14 +00:00
|
|
|
xp_stx_scanner_t* xp_stx_scanner_open (xp_stx_scanner_t* scanner);
|
2005-05-22 15:03:20 +00:00
|
|
|
void xp_stx_scanner_close (xp_stx_scanner_t* scanner);
|
2005-05-22 04:11:54 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|