|
|
#endif | #endif |
| |
#ifdef SERVER_SHUTDOWN | #ifdef SERVER_SHUTDOWN |
extern "C" { |
//extern "C" { |
typedef struct dbf { | typedef struct dbf { |
struct dbf *dbf_next; | struct dbf *dbf_next; |
USHORT dbf_length; | USHORT dbf_length; |
TEXT dbf_data[2]; | TEXT dbf_data[2]; |
} *DBF; | } *DBF; |
| |
} // extern "C" |
//} // extern "C" |
| |
#include "../jrd/sort.h" | #include "../jrd/sort.h" |
#endif /* SERVER_SHUTDOWN */ | #endif /* SERVER_SHUTDOWN */ |
|
|
/*TMN: fwd. decl. SHOULD BE IN A HEADER FILE*/ | /*TMN: fwd. decl. SHOULD BE IN A HEADER FILE*/ |
void ALL_print_memory_pool_info(IB_FILE * fptr, DBB databases); | void ALL_print_memory_pool_info(IB_FILE * fptr, DBB databases); |
void ALLD_print_memory_pool_info(IB_FILE * fptr); | void ALLD_print_memory_pool_info(IB_FILE * fptr); |
extern "C" { |
//extern "C" { |
void gds_print_delta_counters(IB_FILE *); | void gds_print_delta_counters(IB_FILE *); |
} // extern "C" |
//} // extern "C" |
| |
#endif /* SUPERSERVER */ | #endif /* SUPERSERVER */ |
| |
|
|
| |
#ifdef SUPERSERVER | #ifdef SUPERSERVER |
| |
extern "C" { |
//extern "C" { |
extern SLONG trace_pools; | extern SLONG trace_pools; |
static REC_MUTX_T databases_rec_mutex; | static REC_MUTX_T databases_rec_mutex; |
} // extern "C" |
//} // extern "C" |
| |
// BRS. 03/23/2003 | // BRS. 03/23/2003 |
// Those empty defines was substituted with #if defined(V4_THREADING) && !defined(SUPERSERVER) | // Those empty defines was substituted with #if defined(V4_THREADING) && !defined(SUPERSERVER) |
|
|
return TRUE; | return TRUE; |
} | } |
| |
extern "C" { |
//extern "C" { |
| |
| |
#ifdef WIN_NT | #ifdef WIN_NT |
|
|
| |
| |
#ifdef SHLIB_DEFS | #ifdef SHLIB_DEFS |
} // extern "C" |
//} // extern "C" |
/** Use shdef.h which has all shared lib defs **/ | /** Use shdef.h which has all shared lib defs **/ |
#include "shdef.h" | #include "shdef.h" |
extern "C" { |
//extern "C" { |
#endif | #endif |
| |
| |
|
|
return true; | return true; |
} | } |
| |
} // extern "C" |
//} // extern "C" |