]> arthur.barton.de Git - netatalk.git/blobdiff - etc/cnid_dbd/comm.h
New MySQL CNID backend
[netatalk.git] / etc / cnid_dbd / comm.h
index beda77053e1a4c4334450f252a30617c7dcfb826..2261777048a35887af881fc14698d72820337cff 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id: comm.h,v 1.2 2005-04-28 20:49:47 bfernhomberg Exp $
- *
  * Copyright (C) Joerg Lenneis 2003
  * All Rights Reserved.  See COPYING.
  */
@@ -8,14 +6,16 @@
 #ifndef CNID_DBD_COMM_H
 #define CNID_DBD_COMM_H 1
 
+/* number of seconds to try reading in readt */
+#define CNID_DBD_TIMEOUT 1
 
-#include <atalk/cnid_dbd_private.h>
+#include <atalk/cnid_bdb_private.h>
 
 
-extern int      comm_init  __P((struct db_param *, int, int));
-extern int      comm_rcv  __P((struct cnid_dbd_rqst *));
-extern int      comm_snd  __P((struct cnid_dbd_rply *));
-extern int      comm_nbe  __P((void));
+extern int      comm_init  (struct db_param *, int, int);
+extern int      comm_rcv  (struct cnid_dbd_rqst *,  time_t, const sigset_t *, time_t *);
+extern int      comm_snd  (struct cnid_dbd_rply *);
+extern int      comm_nbe  (void);
 
 #endif /* CNID_DBD_COMM_H */