… | |
… | |
1093 | const_iv (LOG_BUFFER_FULL) |
1093 | const_iv (LOG_BUFFER_FULL) |
1094 | const_iv (NOSERVER) |
1094 | const_iv (NOSERVER) |
1095 | const_iv (NOSERVER_HOME) |
1095 | const_iv (NOSERVER_HOME) |
1096 | const_iv (NOSERVER_ID) |
1096 | const_iv (NOSERVER_ID) |
1097 | const_iv (NOTFOUND) |
1097 | const_iv (NOTFOUND) |
1098 | const_iv (OLD_VERSION) |
|
|
1099 | const_iv (PAGE_NOTFOUND) |
1098 | const_iv (PAGE_NOTFOUND) |
1100 | const_iv (REP_DUPMASTER) |
1099 | const_iv (REP_DUPMASTER) |
1101 | const_iv (REP_HANDLE_DEAD) |
1100 | const_iv (REP_HANDLE_DEAD) |
1102 | const_iv (REP_HOLDELECTION) |
1101 | const_iv (REP_HOLDELECTION) |
1103 | const_iv (REP_IGNORE) |
1102 | const_iv (REP_IGNORE) |
… | |
… | |
1140 | }; |
1139 | }; |
1141 | |
1140 | |
1142 | for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) |
1141 | for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) |
1143 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
1142 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
1144 | |
1143 | |
1145 | newCONSTSUB (stash, "DB_VERSION", newSVnv (DB_VERSION_MAJOR + DB_VERSION_MINOR * .1)); |
1144 | newCONSTSUB (stash, "VERSION", newSVnv (DB_VERSION_MAJOR + DB_VERSION_MINOR * .1)); |
1146 | newCONSTSUB (stash, "DB_VERSION_STRING", newSVpv (DB_VERSION_STRING, 0)); |
1145 | newCONSTSUB (stash, "VERSION_STRING", newSVpv (DB_VERSION_STRING, 0)); |
1147 | |
1146 | |
1148 | create_respipe (); |
1147 | create_respipe (); |
1149 | |
1148 | |
1150 | X_THREAD_ATFORK (atfork_prepare, atfork_parent, atfork_child); |
1149 | X_THREAD_ATFORK (atfork_prepare, atfork_parent, atfork_child); |
1151 | #ifdef _WIN32 |
1150 | #ifdef _WIN32 |