/usr/include/libpsio/config.h is in libpsi3-dev 3.4.0-6+b1.
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 | #ifndef _psi_src_lib_libpsio_config_h_
#define _psi_src_lib_libpsio_config_h_
#define PSIO_OPEN_NEW 0
#define PSIO_OPEN_OLD 1
#define PSIO_KEYLEN 80
#define PSIO_MAXVOL 8
#define PSIO_MAXUNIT 300
#define PSIO_PAGELEN 65536
#define PSIO_ERROR_INIT 1
#define PSIO_ERROR_DONE 2
#define PSIO_ERROR_MAXVOL 3
#define PSIO_ERROR_NOVOLPATH 4
#define PSIO_ERROR_OPEN 5
#define PSIO_ERROR_REOPEN 6
#define PSIO_ERROR_CLOSE 7
#define PSIO_ERROR_RECLOSE 8
#define PSIO_ERROR_OSTAT 9
#define PSIO_ERROR_LSEEK 10
#define PSIO_ERROR_READ 11
#define PSIO_ERROR_WRITE 12
#define PSIO_ERROR_NOTOCENT 13
#define PSIO_ERROR_TOCENTSZ 14
#define PSIO_ERROR_KEYLEN 15
#define PSIO_ERROR_BLKSIZ 16
#define PSIO_ERROR_BLKSTART 17
#define PSIO_ERROR_BLKEND 18
#define PSIO_ERROR_IDENTVOLPATH 19
#define PSIO_ERROR_MAXUNIT 20
typedef unsigned long int ULI; /* For convenience */
typedef struct {
ULI page; /* First page of entry */
ULI offset; /* Starting byte offset on fpage */
} psio_address;
typedef struct {
char *path;
int stream;
} psio_vol;
typedef struct psio_entry {
char key[PSIO_KEYLEN];
psio_address sadd;
psio_address eadd;
struct psio_entry *next;
struct psio_entry *last;
} psio_tocentry;
typedef struct {
ULI numvols;
psio_vol vol[PSIO_MAXVOL];
ULI toclen;
psio_tocentry *toc;
} psio_ud;
/** A convenient address initialization struct */
extern psio_address PSIO_ZERO;
#endif /* header guard */
|