]> arthur.barton.de Git - netatalk.git/blobdiff - etc/cnid_dbd/db_param.h
Use function from 2-1 for local uuid generation
[netatalk.git] / etc / cnid_dbd / db_param.h
index 51d12ee9c03991486ca91be7c7215c818001ee12..67ec62e4e18c8fc6f40c5f02c8e9f5aa72948621 100644 (file)
@@ -1,7 +1,6 @@
 /*
- * $Id: db_param.h,v 1.5 2009-10-13 22:55:37 didg Exp $
- *
  * Copyright (C) Joerg Lenneis 2003
+ * Copyright (C) Frank Lahm 2010
  * All Rights Reserved.  See COPYING.
  */
 
 #include <sys/param.h>
 #include <sys/cdefs.h>
 
-enum identity {
-    METAD,
-    CNID_DBD
-};
-
 struct db_param {
     char *dir;
     int logfile_autoremove;
-    int cachesize;
+    int cachesize;              /* in KB */
+    int maxlocks;
+    int maxlockobjs;
     int flush_interval;
     int flush_frequency;
     char usock_file[MAXPATHLEN + 1];    
@@ -28,8 +24,7 @@ struct db_param {
     int max_vols;
 };
 
-extern struct db_param *      db_param_read  (char *, enum identity);
-
+extern struct db_param *db_param_read  (char *);
 
 #endif /* CNID_DBD_DB_PARAM_H */