Db-Ctree

 view release on metacpan or  search on metacpan

ctport.h  view on Meta::CPAN

#define USERPRF_PTHTMP	0x0080		/* add tmpname to input path	*/
					/* otherwise use system tmpname */
#define USERPRF_CODCNV	0x0100		/* auto language conversion	*/
#define USERPRF_CLRCHK	0x0200		/* clear transaction logs	*/
#define USERPRF_CUSTOM	0x0400		/* custom server application	*/
#endif /* ctUPF */

#define SYSMON_MAIN	0		/* mirror alerts & dynamic dumps*/
#define SYSMON_OFF	99

#define SHADOW		0x0010		/* shadow file		     */
#define LOGFIL		0x0020		/* log file (=> shadow)	     */
#define TWOFASE		0x0040		/* two phase transaction     */
#define PENDERR		0x0080		/* pending error	     */
#define OVRFASE		0x0001		/* tranovr processing	     */
#define CIPFASE		0x0002		/* promote WRL to WXL phase  */
#define SAVENV		0x0100		/* save environment	     */
#define AUTOTRN		0x0200		/* automatic transaction     */
#define LKSTATE		0x0400		/* LKISAM enabled	     */
#define DELUPDT		0x0800		/* => ct_usrix is for delete */
#define DEFERCP		0x1000		/* defer checkpoint	     */
#define AUTOSAVE	0x2000		/* automatic savepoints	     */
#define COMMIT_SWAP	0x4000		/* TRANEND/TRANBEG on swap   */

#define SAVECTREE	1
#define RESTORECTREE	2

#define RES_TYPNUM	2
#define RES_TYPE	4
#define RES_FIRST	8
#define	RES_NAME	16
#define RES_POS		32
#define RES_LENGTH	64
#define RES_LOCK	1
#define RES_NEXT	128
#define RES_UNAVL	256

#define BAT_CAN		0x0001
#define BAT_NXT		0x0002
#define BAT_GET		0x0003
#define BAT_DEL		0x0004
#define BAT_UPD		0x0005
#define BAT_INS		0x0006
#define BAT_OPC_RESV	0x0007

#define BAT_PKEY	0x0000
#define BAT_RESV1	0x0008
#define BAT_VERIFY	0x0010
#define BAT_RET_REC	0x0020
#define BAT_RET_POS	0x0040
#define BAT_RET_KEY	0x0080
#define BAT_GKEY	0x0100
#define BAT_RPOS	0x0200
#define BAT_KEYS	0x0400
#define BAT_LOK_RED	0x0800
#define BAT_LOK_WRT	0x1000
#define BAT_COMPLETE	0x2000
#define BAT_FLTR	0x4000
#define BAT_LOK_KEEP	0x8000

#define EXCLUSIVE 	0x0000		/* file in locked mode	     */
#define SHARED		0x0001		/* file in shared mode	     */
#define	VIRTUAL		0x0000		/* file is virtually opened  */
#define	PERMANENT	0x0002		/* file is physically opened */
#define	ctFIXED		0x0000		/* fixed length data	     */
#define	VLENGTH		0x0004		/* variable length data	     */
#define READFIL		0x0008		/* read only file lock	     */
#define PREIMG		SHADOW		/* transactions w/o recovery */
#define TRNLOG		(LOGFIL | SHADOW) /* PREIMG + recovery	     */
#define WRITETHRU	0x0040		/* write thru buffering	     */
#define CHECKLOCK	0x0080		/* must own lock for update  */
#define DUPCHANEL	0x0100		/* two i/o channels	     */
#define SUPERFILE	0x0200		/* superfile shell	     */
#define CHECKREAD	0x0400		/* must own lock on read     */
#define DISABLERES	0x0800		/* disable resource on create*/
#define MIRROR_SKP	0x2000		/* OK to open primary w/o mir*/
#define OPENCRPT	0x4000		/* open corrupt file	     */
#define LOGIDX		0x8000		/* log index upper level     */

#define OPF_NONE	0x00001L
#define OPF_READ	0x00002L
#define OPF_WRITE	0x00004L
#define OPF_DEF		0x00008L
#define OPF_DELETE	0x00010L
#define OPF_ALL		(OPF_READ | OPF_WRITE | OPF_DEF | OPF_DELETE)

#define GPF_NONE	0x00020L
#define GPF_READ	0x00040L
#define GPF_WRITE	0x00080L
#define GPF_DEF		0x00100L
#define GPF_DELETE	0x00200L
#define GPF_ALL		(GPF_READ | GPF_WRITE | GPF_DEF | GPF_DELETE)

#define WPF_NONE	0x00400L
#define WPF_READ	0x00800L
#define WPF_WRITE	0x01000L
#define WPF_DEF		0x02000L
#define WPF_DELETE	0x04000L
#define WPF_ALL		(WPF_READ | WPF_WRITE | WPF_DEF | WPF_DELETE)

#define OPF_NOPASS	0x08000L /* read only without password */
#define GPF_NOPASS	0x10000L
#define WPF_NOPASS	0x20000L

#define OPF_ISAMKOFF	0x40000L /* suppress full ISAM key buffer support */

#define NONEXCLUSIVE	(READFIL | SHARED)
#define COMPLETE	EXCLUSIVE
#define PARTIAL		SHARED
#define NOTREUSE	0x0010		/* key type modifier: !reuse nodes  */

#define REGADD   	0	/* See ADDKEY: split full nodes in half     */
#define INCADD   	1	/* split nodes to handle increasing values  */
#define DECADD   	2	/* split nodes to handle decreasing values  */

#define FRSADD		0	/* See LOADKEY: first call to LOADKEY	    */
#define NXTADD		1	/* subsequent calls to LOADKEY		    */
#define BLDADD		2	/* call to signal completion of LOADKEY	    */

#ifndef ctLKIMDS
#define ctLKIMDS



( run in 0.501 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )