/usr/include/paw/ntuple/qp_signature.h is in libpawlib2-dev 1:2.14.04.dfsg.2-7ubuntu1.
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 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | /*
* qp_signature.h --
* Signatures hold the static type info associated
* with symbol table entries.
*
* Original: 10-Oct-1994 13:56
*
* Author: Maarten Ballintijn <Maarten.Ballintijn@cern.ch>
*
* $Id: qp_signature.h,v 1.8 1996/04/23 18:39:01 maartenb Exp $
*
* $Log: qp_signature.h,v $
* Revision 1.8 1996/04/23 18:39:01 maartenb
* - Add RCS keywords
*
*
*/
#ifndef CERN_SIGNATURE
#define CERN_SIGNATURE
typedef struct _signature_ Signature;
#include <paw/ntuple/cern_types.h>
#include <paw/ntuple/hbook_defs.h>
#include <paw/ntuple/fcode.h>
#include <paw/ntuple/qp_value.h>
#include <paw/ntuple/qp_dimension.h>
#include <paw/ntuple/qp_mask.h>
typedef enum _sig_type_ {
S_FUN = 1, /* builtin function */
S_CVAR, /* cwn ntup var */
S_RVAR, /* rwn ntup var */
S_VEC, /* kuip vector */
S_COMIS, /* comis routine */
S_MASK /* mask */
} SigType;
typedef struct _sig_const_ {
Value *val;
} SigConst;
typedef struct _sig_fun_ {
FCode fc;
int argc;
Dimension *argv[MAX_DIMENSION];
} SigFun;
typedef struct _sig_cwn_ {
int index;
char block[MAX_BLOCK_LEN];
int size; /* in Int32's */
int elem;
} SigCWN;
typedef struct _sig_rwn_ {
int index;
} SigRWN;
typedef struct _sig_comis_ {
int iaddr;
int argc;
Dimension *argv[MAX_DIMENSION];
char ** namelist; /* list of common block member used in */
/* routines called by this routine */
/* extra info */
} SigComis;
typedef struct _sig_mask_ {
Mask *mp;
} SigMask;
typedef struct _sig_vec_ {
int dummy;
} SigVec;
struct _signature_ {
Signature *next;
SigType typ;
Dimension *dim;
union {
SigConst con;
SigFun fun;
SigCWN cvar;
SigRWN rvar;
SigMask mask;
SigComis comis;
SigVec vec;
} u;
};
Signature *
sig_new_scalar_double( double d );
Signature *
sig_new_scalar_int( int ival );
Signature *
sig_new_scalar_uint( int uval );
Signature *
sig_new_scalar_bool( bool bval );
Signature *
sig_new_scalar_str( char *sval );
Signature *
sig_new_cvar( Dimension * d, char * block, int isize, int ielem );
Signature *
sig_new_rvar( int index );
Signature *
sig_new_mask( Mask * mp );
Signature *
sig_new_vec( Dimension * d );
Signature *
sig_new_fun( FCode fc, Dimension * d, int argc,
Dimension *argv[MAX_DIMENSION] );
Signature *
sig_new_comis(
int iaddr, /* the comis ref to the routine */
Dimension *d, /* the return type of the function */
int argc, /* number of args, -1 for unknown */
Dimension *argv[MAX_DIMENSION] /* the arguments */
);
void
sig_del( Signature * st );
#endif /* CERN_SIGNATURE */
|