-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrnv.h
31 lines (23 loc) · 831 Bytes
/
rnv.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* $Id$ */
#include <stdarg.h>
#ifndef RNV_H
#define RNV_H 1
#define RNV_ER_ELEM 0
#define RNV_ER_AKEY 1
#define RNV_ER_AVAL 2
#define RNV_ER_EMIS 3
#define RNV_ER_AMIS 4
#define RNV_ER_UFIN 5
#define RNV_ER_TEXT 6
#define RNV_ER_NOTX 7
extern void (*rnv_verror_handler)(int erno,va_list ap);
extern void rnv_default_verror_handler(int erno,va_list ap);
extern void rnv_init(void);
extern void rnv_clear(void);
extern int rnv_text(int *curp,int *prevp,char *text,int n_t,int mixed);
extern int rnv_start_tag(int *curp,int *prevp,char *name,char **attrs);
extern int rnv_start_tag_open(int *curp,int *prevp,char *name);
extern int rnv_attribute(int *curp,int *prevp,char *name,char *val);
extern int rnv_start_tag_close(int *curp,int *prevp,char *name);
extern int rnv_end_tag(int *curp,int *prevp,char *name);
#endif