/usr/include/snacc/c/tbl-gen.h is in libsnacc-dev 1.3.1-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 TBL_GEN_H
#define TBL_GEN_H
#define USE_GEN_BUF 1
#include "tbl-incl.h"
typedef enum {TDEINFO, TDEEOC=TDEINFO, TDEPEEKTAG, TDEPUSHTAG,
TDEWARNING, TDEUNEXPECTED=TDEWARNING, TDENONOPTIONAL, TDEMANDATORY,
TDECONSTRAINT, TDENOMATCH,
TDEERROR} TdeExceptionCode;
typedef int (*TdeTypeProc) PROTO ((TBLType* type, AVal* val, int begin));
typedef int (*TdeSimpleProc) PROTO ((AsnTag tag, AsnOcts* val, int begin));
typedef int (*TdeExcProc) PROTO ((TdeExceptionCode code, void* p1, void* p2, void* p3));
int
TdeDecode PROTO ((TBL* tbl, BUF_TYPE b, unsigned long int* bytesDecoded,
TdeTypeProc typeproc, TdeSimpleProc simpleproc, TdeExcProc excproc));
int
TdeDecodeSpecific PROTO ((TBL* tbl, BUF_TYPE b, TBLType* type,
unsigned long int* bytesDecoded,
TdeTypeProc typeproc, TdeSimpleProc simpleproc, TdeExcProc excproc));
#endif
|