2005-05-12 15:51:20 +00:00
|
|
|
/*
|
2005-05-22 04:11:54 +00:00
|
|
|
* $Id: parser.h,v 1.2 2005-05-22 04:11:54 bacon Exp $
|
2005-05-12 15:51:20 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XP_STX_PARSER_H_
|
|
|
|
#define _XP_STX_PARSER_H_
|
|
|
|
|
2005-05-22 04:11:54 +00:00
|
|
|
#include <xp/stx/stx.h>
|
|
|
|
|
|
|
|
struct xp_stx_parser_t
|
|
|
|
{
|
|
|
|
xp_bool_t __malloced;
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct xp_stx_parser_t xp_stx_parser_t;
|
|
|
|
|
2005-05-12 15:51:20 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-05-22 04:11:54 +00:00
|
|
|
xp_stx_parser_t* xp_stx_parser_open (xp_stx_parser_t* parser);
|
|
|
|
int xp_stx_parser_close (xp_stx_parser_t* parser);
|
|
|
|
int xp_stx_parser_parse (xp_stx_parser_t* parser, const xp_char_t* text);
|
2005-05-12 15:51:20 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|