1*1230fdc1SLionel Sambuc /* 2*1230fdc1SLionel Sambuc Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3*1230fdc1SLionel Sambuc See the file COPYING for copying permission. 4*1230fdc1SLionel Sambuc */ 5*1230fdc1SLionel Sambuc 6*1230fdc1SLionel Sambuc enum { 7*1230fdc1SLionel Sambuc BT_NONXML, 8*1230fdc1SLionel Sambuc BT_MALFORM, 9*1230fdc1SLionel Sambuc BT_LT, 10*1230fdc1SLionel Sambuc BT_AMP, 11*1230fdc1SLionel Sambuc BT_RSQB, 12*1230fdc1SLionel Sambuc BT_LEAD2, 13*1230fdc1SLionel Sambuc BT_LEAD3, 14*1230fdc1SLionel Sambuc BT_LEAD4, 15*1230fdc1SLionel Sambuc BT_TRAIL, 16*1230fdc1SLionel Sambuc BT_CR, 17*1230fdc1SLionel Sambuc BT_LF, 18*1230fdc1SLionel Sambuc BT_GT, 19*1230fdc1SLionel Sambuc BT_QUOT, 20*1230fdc1SLionel Sambuc BT_APOS, 21*1230fdc1SLionel Sambuc BT_EQUALS, 22*1230fdc1SLionel Sambuc BT_QUEST, 23*1230fdc1SLionel Sambuc BT_EXCL, 24*1230fdc1SLionel Sambuc BT_SOL, 25*1230fdc1SLionel Sambuc BT_SEMI, 26*1230fdc1SLionel Sambuc BT_NUM, 27*1230fdc1SLionel Sambuc BT_LSQB, 28*1230fdc1SLionel Sambuc BT_S, 29*1230fdc1SLionel Sambuc BT_NMSTRT, 30*1230fdc1SLionel Sambuc BT_COLON, 31*1230fdc1SLionel Sambuc BT_HEX, 32*1230fdc1SLionel Sambuc BT_DIGIT, 33*1230fdc1SLionel Sambuc BT_NAME, 34*1230fdc1SLionel Sambuc BT_MINUS, 35*1230fdc1SLionel Sambuc BT_OTHER, /* known not to be a name or name start character */ 36*1230fdc1SLionel Sambuc BT_NONASCII, /* might be a name or name start character */ 37*1230fdc1SLionel Sambuc BT_PERCNT, 38*1230fdc1SLionel Sambuc BT_LPAR, 39*1230fdc1SLionel Sambuc BT_RPAR, 40*1230fdc1SLionel Sambuc BT_AST, 41*1230fdc1SLionel Sambuc BT_PLUS, 42*1230fdc1SLionel Sambuc BT_COMMA, 43*1230fdc1SLionel Sambuc BT_VERBAR 44*1230fdc1SLionel Sambuc }; 45*1230fdc1SLionel Sambuc 46*1230fdc1SLionel Sambuc #include <stddef.h> 47