Added auth
[egate.git] / include / zaccess.h
index a78654a..91f7a97 100644 (file)
@@ -1,7 +1,16 @@
 /*
  * Europagate, 1995
  *
- * zaccess.h,v
+ * $Log: zaccess.h,v $
+ * Revision 1.11  1995/04/19 12:55:41  quinn
+ * Added auth
+ *
+ * Revision 1.10  1995/04/17  11:27:24  quinn
+ * Smallish
+ *
+ * Revision 1.9  1995/02/23  08:32:12  adam
+ * Changed header.
+ *
  * Revision 1.7  1995/02/17  13:59:06  quinn
  * Added header.
  *
@@ -13,9 +22,9 @@
 #define ZASS_DEBUG GW_LOG_DEBUGN(9)
 #define ZASS_TYPE "zass"
 
-#define ZASS_ID "EUROPAGATE/DTB/ID"
+#define ZASS_ID "EUROPAGATE/DTV/ID"
 #define ZASS_NAME "EUROPAGATE E-mail/Z39.50 gateway"
-#define ZASS_VERSION "development 0.1"
+#define ZASS_VERSION "development 0.2"
 
 #define ZASS_MAXRECORDSIZE  10000
 #define ZASS_PREFERREDMESSAGESIZE 10000
@@ -48,6 +57,7 @@ typedef struct zass_record
 {
     enum
     {
+       ZASS_REC_UNKNOWN=-1,
        ZASS_REC_DIAG=0,
        ZASS_REC_USMARC=10
     } which;      /* 0 = diagnostic, others according to z3950v3 */
@@ -67,7 +77,7 @@ typedef struct zass_presentent
     struct zass_record *records;
 } zass_presentent;
 
-ZASS zass_open(char *host, int port);
+ZASS zass_open(char *host, int port, char *auth);
 const struct zass_searchent *zass_search(ZASS a, struct ccl_rpn_node *query,
     char *resname, char *databases);
 const struct zass_presentent *zass_present(ZASS a, char *resname, int start,