* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zserver.h,v $
- * Revision 1.41 1999-05-12 13:08:06 adam
+ * Revision 1.43 1999-07-14 10:59:27 adam
+ * Changed functions isc_getmethod, isams_getmethod.
+ * Improved fatal error handling (such as missing EXPLAIN schema).
+ *
+ * Revision 1.42 1999/05/26 07:49:13 adam
+ * C++ compilation.
+ *
+ * Revision 1.41 1999/05/12 13:08:06 adam
* First version of ISAMS.
*
* Revision 1.40 1998/11/16 16:03:45 adam
*
*/
-
-#ifndef USE_TIMES
-#ifdef __linux__
-#define USE_TIMES 1
-#else
-#define USE_TIMES 0
-#endif
-#endif
-
-#if USE_TIMES
+#if HAVE_SYS_TIMES_H
#include <sys/times.h>
#endif
#include "zebraapi.h"
#include "zinfo.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
int sysno;
int score;
ZebraLockHandle server_lock_cmt;
ZebraLockHandle server_lock_org;
char *server_path_prefix;
-#if USE_TIMES
+#if HAVE_SYS_TIMES_H
struct tms tms1;
struct tms tms2;
#endif
Passwd_db passwd_db;
};
-
struct rank_control {
char *name;
void *(*create)(ZebraHandle zh);
oid_value *output_format, char **rec_bufp,
int *rec_lenp, char **basenamep);
+#ifdef __cplusplus
+}
+#endif