/usr/include/paw/ntuple/qp_segment.h is in libpawlib2-dev 1:2.14.04.dfsg.2-9.1build1.
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 | /*
* qp_segment.h --
*
* Original: 11-Jan-1995 15:33
*
* Author: Maarten Ballintijn <Maarten.Ballintijn@cern.ch>
*
* $Id: qp_segment.h,v 1.3 1996/04/23 18:38:58 maartenb Exp $
*
* $Log: qp_segment.h,v $
* Revision 1.3 1996/04/23 18:38:58 maartenb
* - Add RCS keywords
*
*
*/
#ifndef CERN_QP_SEGMENT
#define CERN_QP_SEGMENT
#include <stdio.h>
#include <paw/ntuple/cern_types.h>
typedef Int32 * Segment; /* forward declaration */
#include <paw/ntuple/qp_query.h>
typedef struct _label_ {
Segment addr; /* the address this label points to */
int n;
int size;
Segment *ref; /* list of references to be filled in */
} Label;
typedef struct _label_tab_ {
int n;
int size;
Label *tab; /* list of labels */
} LabelTab;
typedef struct _segbuild_ {
/* the assembly segment */
bool ok;
int n;
Segment seg;
Segment cur;
Segment last_opc;
/* label table */
LabelTab *lt;
} SegBuild;
SegBuild *
new_segbuild( int * errp );
void
free_segbuild( SegBuild * sbp );
Segment
segment_from_segbuild( SegBuild *sbp );
int
qp_seg_new_label( SegBuild * sbp, int *errp );
bool
qp_seg_flag_opc( SegBuild * sbp, Int32 v, int * errp );
bool
qp_seg_emit_opc( SegBuild * sbp, Int32 v, int * errp );
bool
qp_seg_emit_word( SegBuild * sbp, Int32 v, int * errp );
bool
qp_seg_emit_ref( SegBuild * sbp, int lid, int *errp );
bool
qp_seg_emit_label( SegBuild * sbp, int lid, int *errp );
bool
qp_seg_labels_resolved( SegBuild * sbp, int *errp );
void
dump_segment( FILE * fp, char * leader, QueryExe * qe, Segment s );
#endif /* CERN_QP_SEGMENT */
|