📄 constants.h
字号:
DB_ENCRYPT_AES DB_ENV_APPINIT DB_ENV_DBLOCAL DB_ENV_LOCKING DB_ENV_LOGGING DB_ENV_NOPANIC DB_ENV_PRIVATE DB_FILE_ID_LEN DB_HANDLE_LOCK DB_HASHVERSION DB_JOIN_NOSORT DB_LOCKVERSION DB_LOCK_EXPIRE DB_LOCK_NOWAIT DB_LOCK_OLDEST DB_LOCK_RANDOM DB_LOCK_RECORD DB_LOCK_REMOVE DB_LOCK_SWITCH DB_MAX_RECORDS DB_MPOOL_CLEAN DB_MPOOL_DIRTY DB_NOOVERWRITE DB_NOSERVER_ID DB_ODDFILESIZE DB_OLD_VERSION DB_OPEN_CALLED DB_RECORDCOUNT DB_RECORD_LOCK DB_REGION_ANON DB_REGION_INIT DB_REGION_NAME DB_RENAMEMAGIC DB_REP_BULKOVF DB_REP_EGENCHG DB_REP_LOCKOUT DB_REP_NEWSITE DB_REP_NOTPERM DB_REP_UNAVAIL DB_REVSPLITOFF DB_RUNRECOVERY DB_SEQ_WRAPPED DB_SET_TXN_NOW DB_USE_ENVIRON DB_WRITECURSOR DB_XIDDATASIZE */ /* Offset 9 gives the best switch position. */ switch (name[9]) { case 'A': if (memEQ(name, "DB_LOCK_RANDOM", 14)) { /* ^ */#ifdef DB_LOCK_RANDOM *iv_return = DB_LOCK_RANDOM; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_OPEN_CALLED", 14)) { /* ^ */#ifdef DB_OPEN_CALLED *iv_return = DB_OPEN_CALLED; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REP_UNAVAIL", 14)) { /* ^ */#ifdef DB_REP_UNAVAIL *iv_return = DB_REP_UNAVAIL; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_SEQ_WRAPPED", 14)) { /* ^ */#ifdef DB_SEQ_WRAPPED *iv_return = DB_SEQ_WRAPPED; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_XIDDATASIZE", 14)) { /* ^ */#ifdef DB_XIDDATASIZE *iv_return = DB_XIDDATASIZE; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'C': if (memEQ(name, "DB_ENV_LOCKING", 14)) { /* ^ */#ifdef DB_ENV_LOCKING *iv_return = DB_ENV_LOCKING; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_MAX_RECORDS", 14)) { /* ^ */#ifdef DB_MAX_RECORDS *iv_return = DB_MAX_RECORDS; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_MPOOL_CLEAN", 14)) { /* ^ */#ifdef DB_MPOOL_CLEAN *iv_return = DB_MPOOL_CLEAN; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_RECORDCOUNT", 14)) { /* ^ */#ifdef DB_RECORDCOUNT *iv_return = DB_RECORDCOUNT; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REP_LOCKOUT", 14)) { /* ^ */#ifdef DB_REP_LOCKOUT *iv_return = DB_REP_LOCKOUT; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'D': if (memEQ(name, "DB_FILE_ID_LEN", 14)) { /* ^ */#ifdef DB_FILE_ID_LEN *iv_return = DB_FILE_ID_LEN; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_MPOOL_DIRTY", 14)) { /* ^ */#ifdef DB_MPOOL_DIRTY *iv_return = DB_MPOOL_DIRTY; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'E': if (memEQ(name, "DB_ARCH_REMOVE", 14)) { /* ^ */#ifdef DB_ARCH_REMOVE *iv_return = DB_ARCH_REMOVE; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_LOCK_RECORD", 14)) { /* ^ */#ifdef DB_LOCK_RECORD *iv_return = DB_LOCK_RECORD; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_LOCK_REMOVE", 14)) { /* ^ */#ifdef DB_LOCK_REMOVE *iv_return = DB_LOCK_REMOVE; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_NOSERVER_ID", 14)) { /* ^ */#ifdef DB_NOSERVER_ID *iv_return = DB_NOSERVER_ID; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_ODDFILESIZE", 14)) { /* ^ */#ifdef DB_ODDFILESIZE *iv_return = DB_ODDFILESIZE; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REP_EGENCHG", 14)) { /* ^ */#ifdef DB_REP_EGENCHG *iv_return = DB_REP_EGENCHG; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'G': if (memEQ(name, "DB_ENV_LOGGING", 14)) { /* ^ */#ifdef DB_ENV_LOGGING *iv_return = DB_ENV_LOGGING; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'I': if (memEQ(name, "DB_ENV_PRIVATE", 14)) { /* ^ */#ifdef DB_ENV_PRIVATE *iv_return = DB_ENV_PRIVATE; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REVSPLITOFF", 14)) { /* ^ */#ifdef DB_REVSPLITOFF *iv_return = DB_REVSPLITOFF; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'L': if (memEQ(name, "DB_BTREEOLDVER", 14)) { /* ^ */#ifdef DB_BTREEOLDVER *iv_return = DB_BTREEOLDVER; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_ENV_DBLOCAL", 14)) { /* ^ */#ifdef DB_ENV_DBLOCAL *iv_return = DB_ENV_DBLOCAL; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_LOCK_OLDEST", 14)) { /* ^ */#ifdef DB_LOCK_OLDEST *iv_return = DB_LOCK_OLDEST; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REP_BULKOVF", 14)) { /* ^ */#ifdef DB_REP_BULKOVF *iv_return = DB_REP_BULKOVF; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'M': if (memEQ(name, "DB_RENAMEMAGIC", 14)) { /* ^ */#ifdef DB_RENAMEMAGIC *iv_return = DB_RENAMEMAGIC; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'N': if (memEQ(name, "DB_SET_TXN_NOW", 14)) { /* ^ */#ifdef DB_SET_TXN_NOW *iv_return = DB_SET_TXN_NOW; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'O': if (memEQ(name, "DB_AUTO_COMMIT", 14)) { /* ^ */#ifdef DB_AUTO_COMMIT *iv_return = DB_AUTO_COMMIT; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_JOIN_NOSORT", 14)) { /* ^ */#ifdef DB_JOIN_NOSORT *iv_return = DB_JOIN_NOSORT; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_LOCK_NOWAIT", 14)) { /* ^ */#ifdef DB_LOCK_NOWAIT *iv_return = DB_LOCK_NOWAIT; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_RUNRECOVERY", 14)) { /* ^ */#ifdef DB_RUNRECOVERY *iv_return = DB_RUNRECOVERY; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'P': if (memEQ(name, "DB_ENV_APPINIT", 14)) { /* ^ */#ifdef DB_ENV_APPINIT *iv_return = DB_ENV_APPINIT; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_ENV_NOPANIC", 14)) { /* ^ */#ifdef DB_ENV_NOPANIC *iv_return = DB_ENV_NOPANIC; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'R': if (memEQ(name, "DB_HASHVERSION", 14)) { /* ^ */#ifdef DB_HASHVERSION *iv_return = DB_HASHVERSION; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_LOCKVERSION", 14)) { /* ^ */#ifdef DB_LOCKVERSION *iv_return = DB_LOCKVERSION; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_OLD_VERSION", 14)) { /* ^ */#ifdef DB_OLD_VERSION *iv_return = DB_OLD_VERSION; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'T': if (memEQ(name, "DB_ENCRYPT_AES", 14)) { /* ^ */#ifdef DB_ENCRYPT_AES *iv_return = DB_ENCRYPT_AES; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REP_NOTPERM", 14)) { /* ^ */#ifdef DB_REP_NOTPERM *iv_return = DB_REP_NOTPERM; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'U': if (memEQ(name, "DB_WRITECURSOR", 14)) { /* ^ */#ifdef DB_WRITECURSOR *iv_return = DB_WRITECURSOR; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'V': if (memEQ(name, "DB_EID_INVALID", 14)) { /* ^ */#ifdef DB_EID_INVALID *iv_return = DB_EID_INVALID; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_USE_ENVIRON", 14)) { /* ^ */#ifdef DB_USE_ENVIRON *iv_return = DB_USE_ENVIRON; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'W': if (memEQ(name, "DB_LOCK_SWITCH", 14)) { /* ^ */#ifdef DB_LOCK_SWITCH *iv_return = DB_LOCK_SWITCH; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_NOOVERWRITE", 14)) { /* ^ */#ifdef DB_NOOVERWRITE *iv_return = DB_NOOVERWRITE; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REP_NEWSITE", 14)) { /* ^ */#ifdef DB_REP_NEWSITE *iv_return = DB_REP_NEWSITE; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case 'X': if (memEQ(name, "DB_LOCK_EXPIRE", 14)) { /* ^ */#ifdef DB_LOCK_EXPIRE *iv_return = DB_LOCK_EXPIRE; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; case '_': if (memEQ(name, "DB_CHKSUM_SHA1", 14)) { /* ^ */#ifdef DB_CHKSUM_SHA1 *iv_return = DB_CHKSUM_SHA1; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_HANDLE_LOCK", 14)) { /* ^ */#ifdef DB_HANDLE_LOCK *iv_return = DB_HANDLE_LOCK; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_RECORD_LOCK", 14)) { /* ^ */#ifdef DB_RECORD_LOCK *iv_return = DB_RECORD_LOCK; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REGION_ANON", 14)) { /* ^ */#ifdef DB_REGION_ANON *iv_return = DB_REGION_ANON; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REGION_INIT", 14)) { /* ^ */#ifdef DB_REGION_INIT *iv_return = DB_REGION_INIT; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } if (memEQ(name, "DB_REGION_NAME", 14)) { /* ^ */#ifdef DB_REGION_NAME *iv_return = DB_REGION_NAME; return PERL_constant_ISIV;#else return PERL_constant_NOTDEF;#endif } break; } return PERL_constant_NOTFOUND;}static intconstant_15 (pTHX_ const char *name, IV *iv_return) { /* When generated this function returned values for the list of names given here. However, subse
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -