rework the networking locking facility using the hashlist.
[citadel.git] / citadel / file_ops.h
index 6f95c1374444bda216df159856334300d4ed22f1..a2483a126e115446026c5a1c67ffcd85849437a5 100644 (file)
@@ -1,8 +1,12 @@
-/* $Id$ */
+#ifndef FILE_OPS_H
+#define FILE_OPS_H
+
+#include "context.h"
+
 void OpenCmdResult (char *, const char *);
-void abort_upl (struct CitContext *who);
+void abort_upl (CitContext *who);
 
-int network_talking_to(char *nodename, int operation);
+int network_talking_to(const char *nodename, long len, int operation);
 
 /*
  * Operations that can be performed by network_talking_to()
@@ -12,3 +16,5 @@ enum {
         NTT_REMOVE,
         NTT_CHECK
 };
+
+#endif /* FILE_OPS_H */