]> arthur.barton.de Git - netatalk.git/blobdiff - etc/cnid_dbd/db_param.h
ooops! Previous commit requested 64 GB cache instead of 64 MB...
[netatalk.git] / etc / cnid_dbd / db_param.h
index 515ed9a8a2742e2aef2edb6c1a44617f683c2aad..ebcea6b823185494b937d31a78df6a0974e36a10 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: db_param.h,v 1.2 2005-04-28 20:49:47 bfernhomberg Exp $
+ * $Id: db_param.h,v 1.6 2009-12-21 07:32:01 franklahm Exp $
  *
  * Copyright (C) Joerg Lenneis 2003
  * All Rights Reserved.  See COPYING.
 #include <sys/param.h>
 #include <sys/cdefs.h>
 
+enum identity {
+    METAD,
+    CNID_DBD
+};
 
 struct db_param {
-    int check;
+    char *dir;
     int logfile_autoremove;
-    int cachesize;
-    int nosync;
-    int flush_frequency;
+    int cachesize;              /* in KB */
     int flush_interval;
+    int flush_frequency;
     char usock_file[MAXPATHLEN + 1];    
     int fd_table_size;
     int idle_timeout;
+    int max_vols;
 };
 
-extern struct db_param *      db_param_read  __P((char *));
+extern struct db_param *      db_param_read  (char *, enum identity);
 
 
 #endif /* CNID_DBD_DB_PARAM_H */