/usr/include/spooles/Utilities/I2OP.h is in libspooles-dev 2.2-11.
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 | /* I2OP.h */
/*--------------------------------------------------------------------*/
typedef struct _I2OP I2OP ;
struct _I2OP {
int value0 ;
int value1 ;
void *value2 ;
I2OP *next ;
} ;
#define I2OP_NULL 0
#define I2OP_FORWARD 1
#define I2OP_BACKWARD 2
/*--------------------------------------------------------------------*/
/*
---------------------------------------------------------
initializer.
create and return an array of n I2OP structures.
the structures are linked in one of three ways.
flag = 0 (I2OP_NULL) --> ip->next = NULL
flag = 1 (I2OP_FORWARD) --> ip->next = successor in list
flag = 2 (I2OP_BACKWARD) --> ip->next = predecessor in list
created -- 98feb06, cca
---------------------------------------------------------
*/
I2OP *
I2OP_init (
int n,
int flag
) ;
/*
---------------------------------------------------------
initializer.
create and return an array of n I2OP structures.
the structures are linked in one of three ways.
flag = 0 (I2OP_NULL) --> ip->next = NULL
flag = 1 (I2OP_FORWARD) --> ip->next = successor in list
flag = 2 (I2OP_BACKWARD) --> ip->next = predecessor in list
created -- 98feb06, cca
---------------------------------------------------------
*/
void
I2OP_initStorage (
int n,
int flag,
I2OP *base
) ;
/*
-----------------------------------------------
free the storage for an array of I2OP structures,
must have been allocated by I2OP_init
created -- 98feb06, cca
-----------------------------------------------
*/
void
I2OP_free (
I2OP *ip
) ;
/*
----------------------------------
purpose -- to print out a I2OP list
created -- 98feb06, cca
----------------------------------
*/
void
I2OP_fprintf (
FILE *fp,
I2OP *elem
) ;
/*--------------------------------------------------------------------*/
|