This is pg_lobj.h in view mode; [Download] [Up]
/* ---------------------------------------------------------------- * FILE * pg_lobj.h * * DESCRIPTION * mapping of OIDs to large object descriptors * * IDENTIFICATION * /usr/local/devel/postgres-v4r2/src/backend/catalog/RCS/pg_lobj.h,v 1.3 1993/09/28 01:50:49 sklower Exp * ---------------------------------------------------------------- */ #ifndef PgLargeObjectIncluded #define PgLargeObjectIncluded 1 /* include this only once */ /* ---------------- * postgres.h contains the system type definintions and the * CATALOG(), BOOTSTRAP and DATA() sugar words so this file * can be read by both genbki.sh and the C compiler. * ---------------- */ #include "tmp/postgres.h" /* ---------------------------------------------------------------- * pg_large_object definition. * * cpp turns this into typedef struct FormData_pg_large_object * ---------------------------------------------------------------- */ CATALOG(pg_large_object) { oid ourid; int4 objtype; bytea object_descriptor; /* opaque cookie variable length structure */ } FormData_pg_large_object; /* ---------------- * compiler constants for pg_large_object * ---------------- */ #define Name_pg_large_object "pg_large_object" #define Natts_pg_large_object 3 #define Anum_pg_large_object_oid 1 #define Anum_pg_large_object_object_type 2 #define Anum_pg_large_object_object_descriptor 3 /* possible values for objtype */ #define Inversion 0 #define Unix 1 #define External 2 #define Jaquith 3 #ifndef struct_large_object_Defined #define struct_large_object_Defined 1 struct large_object { OID ourid; int32 objtype; /* variable length structure */ struct varlena object_descriptor; }; #endif struct_large_object_Defined int LOputOIDandLargeObjDesc ARGS((oid objOID, int objtype, struct varlena *desc )); int CreateLOBJTuple ARGS((oid objOID, int objtype, struct varlena *desc )); struct varlena *LOassocOIDandLargeObjDesc ARGS((int *objtype, oid objOID)); #endif PgLargeObjectIncluded
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.