* Europagate, 1995
*
* $Log: gw-db.h,v $
- * Revision 1.3 1995/05/16 09:39:39 adam
+ * Revision 1.4 1995/12/20 16:27:18 adam
+ * Extra parameter block to gw_db_open.
+ *
+ * Revision 1.3 1995/05/16 09:39:39 adam
* LICENSE.
*
* Revision 1.2 1995/04/17 09:33:05 adam
void **buf, size_t *count);
int gw_db_insert (GW_DB db, const char *name, int name_length,
const void *buf, size_t count);
-GW_DB gw_db_open (const char *fname, int write_flag);
+GW_DB gw_db_open (const char *fname, int write_flag, int block);
int gw_db_close (GW_DB db);
int gw_db_no_ent (GW_DB db);
* Europagate, 1995
*
* $Log: eti.c,v $
- * Revision 1.16 1995/07/11 11:49:11 adam
+ * Revision 1.17 1995/12/20 16:27:24 adam
+ * Extra parameter block to gw_db_open.
+ *
+ * Revision 1.16 1995/07/11 11:49:11 adam
* LINE_MAX renamed to STR_LINE_MAX.
*
* Revision 1.15 1995/07/03 12:59:28 adam
exit (1);
}
gw_log (GW_LOG_STAT, module, "Mail from %s", from_str);
- user_db = gw_db_open ("user.db", 1);
+ user_db = gw_db_open ("user.db", 1, 1);
r = gw_db_lookup (user_db, from_str, strlen(from_str),
&user_info, &info_length);