This file is indexed.

/usr/include/styx/prs_io.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
111
112
113
114
115
116
117
118
119
120
121
/* ------------------------------------------------------------------------ */
/*                                                                          */
/* [prs_io.h]       LALR(1) Parser/Generator: parse table input/output      */
/*                                                                          */
/* Copyright (c) 1993 by D\olle, Manns                                      */
/* ------------------------------------------------------------------------ */

/* File generated by 'ctoh'. Don't change manually. */

#ifndef prs_io_INCL
#define prs_io_INCL


#include "prs_dfn.h"
#include "binimg.h"


#ifdef __cplusplus
extern "C" {
#endif


/*  
   This module provides functions that
   1) generate a C module for a given parse table
   2) unload a parse table to a binary image file
   3) load a parse table from a binary image file.
*/

/* ------------------------------ C-Module ---------------------------------- */

void PLR_CTab_Source(FILE* fp, c_string fid, PLR_Tab PTab)
/* writes source for parse table 'PTab' to file 'fp';
   produces a source header if filename 'fid' is not empty
*/
;

void PLR_CTab_Modul(c_string Environ, PLR_Tab PTab, c_bool shortform)
#define PLR_printCTab PLR_CTab_Modul
/* creates source [$'Environ'/]<Language>_pim.c for parse table 'PTab' */
;

void PLR_Src_Source
     (
       FILE* fp, c_string fid, PLR_Tab PTab, c_string prefix, c_string suffix
     )
/* writes source for parse table 'PTab' to file 'fp';
   produces a source header if filename 'fid' is not empty;
   encapsulates output lines with 'prefix' and 'suffix'
*/
;

void PLR_Src_Modul(c_string Environ, PLR_Tab PTab, c_string Template)
#define PLR_printCTab PLR_CTab_Modul
/* creates source [$'Environ'/]<Language>.ptbl for parse table 'PTab';
   it uses the template file for the export, if 'Template' is a regular file
*/
;


/* ---------------------------- Binary Image -------------------------------- */

void PLR_fputTab_bin(BinImg_T img, PLR_Tab PTab)
/* unloads parse table 'PTab'
   to binary image 'img' (reentrant)
*/
;

void PLR_putTab_bin(PLR_Tab PTab)
/* unloads parse table 'PTab'
   to the current ( previously opened ) image
*/
;

void PLR_putTab(c_string Environ, PLR_Tab PTab)
/* unloads parse table 'PTab' to image [$'Environ'/]<Language>.pim */
;

PLR_Tab PLR_fgetTab_bin(BinImg_T img)
/* loads a parse table
   from binary image 'img' (reentrant)
*/
;

PLR_Tab PLR_getTab_bin(void)
/* loads a parse table
   from the current ( previously opened ) image
*/
;

PLR_Tab PLR_getTab(c_string Language)
/* loads a parse table named 'Language'
   from image [$PATH/]<Language>.pim
*/
;

PLR_Tab PLR_getTab_file(c_string file)
/* loads a parse table from 'file'
*/
;

PLR_Tab PLR_getTab_env(c_string Environ, c_string Language)
/* loads a parse table named 'Language'
   from image [$'Environ'/]<Language>.pim
*/
;

PLR_Tab PLR_getETab(Any_T Environ, c_string Language)
/* like PLR_getTab / PLR_getTab_env;
   can be used as embedded language parser contructor
   ( see function 'PT_setEParser' )
*/
;



#ifdef __cplusplus
}
#endif

#endif