/usr/include/styx/pgm_base.h is in styx-dev 2.0.1-1.
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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | /* ------------------------------------------------------------------------ */
/* */
/* [pgm_base.h] Common function library for the (test) programms */
/* */
/* Copyright (c) 2002 by D\olle, Manns */
/* ------------------------------------------------------------------------ */
/* File generated by 'ctoh'. Don't change manually. */
#ifndef pgm_base_INCL
#define pgm_base_INCL
#include "standard.h"
#include "symbols.h"
#include "hmap.h"
#include "scn_pre.h"
#include "scn_base.h"
#include "prs.h"
#include "prs_io.h"
#include "ptm.h"
#include "ptm_gen.h"
#ifdef __cplusplus
extern "C" {
#endif
void PGM_init(int argc, char* argv[], void (*ctxinit)(int argc, char* argv[]))
/* init program */
;
void PGM_quit(void); /* quit program */
void PGM_initPreprocessing(c_string prepar, c_string premac, c_string cset)
/* init STYX-like macro preprocessing
according commandline parameters 'prepar', 'premac' and 'cset'
*/
;
void PGM_quitPreprocessing(c_string prepar)
/* quit STYX-like macro preprocessing; release resources */
;
Scn_Stream PGM_initScanStream
(
Scn_T Scn, c_string filename,
c_string prepar, c_string prefun,
c_bool binmode, c_string cset,
c_string skipset, c_bool lookahead,
c_bool stdTokIDs
)
/* create and init scan stream according commandline parameters
'filename', 'prepar', 'prefun', 'binmode' and 'cset'
stdTokIDs --> set default token IDs
*/
;
void PGM_quitScanStream(Scn_Stream cStream)
/* close and release scan stream */
;
void PGM_initTables
(
c_string Environ, c_string language, PLR_Tab* PTab, Scn_T* Scn
)
/* create scan and parse tables according commandline parameter
'Environ' and 'language'
*/
;
PT_Cfg PGM_initParsing(Scn_Stream cStream, PLR_Tab PTab)
/* init parse term configuration for
scan stream 'cStream' and parse table 'PTab'
*/
;
void PGM_quitTables(PLR_Tab PTab, Scn_T Scn)
/* release scan and parse tables */
;
PT_Term PGM_parse
(
PT_Cfg PCfg, c_string start,
c_string shiftfun, c_string reducefun,
c_bool early, c_bool xaron
)
/* parse according commandline parameters
'start', 'shiftfun', 'reducefun', 'early' and 'xaron'
*/
;
void PGM_printTree(PT_Term PTree, c_string cset, c_bool wprint)
/* print 'PTree' according commandline parameters 'cset' and 'wprint' */
;
void PGM_scan(Scn_Stream cStream, c_bool output, c_string cset, c_bool wprint)
/* scan 'cStream'
output --> print according commandline parameters 'cset' and 'wprint'
*/
;
#ifdef __cplusplus
}
#endif
#endif
|