]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/volume.h
Rework volume parsing code to ini style and rework main, config init and dsi startup
[netatalk.git] / etc / afpd / volume.h
index fd2d22514ff086d42daaf6eae389a0b3cf970e95..90febbfee00803f6fc803058ffaac982ff599b8d 100644 (file)
@@ -6,28 +6,24 @@
 #ifndef AFPD_VOLUME_H
 #define AFPD_VOLUME_H 1
 
-#include <sys/cdefs.h>
 #include <sys/types.h>
-#include <netatalk/endian.h>
+#include <arpa/inet.h>
 
 #include <atalk/volume.h>
 #include <atalk/cnid.h>
 #include <atalk/unicode.h>
+#include <atalk/globals.h>
 
-#include "globals.h"
-#if 0
-#include "hash.h"
-#endif
-
-extern struct vol       *getvolbyvid (const u_int16_t);
+extern struct vol       *getvolbyvid (const uint16_t);
 extern int              ustatfs_getvolspace (const struct vol *,
             VolSpace *, VolSpace *,
-            u_int32_t *);
+            uint32_t *);
 extern void             setvoltime (AFPObj *, struct vol *);
 extern int              pollvoltime (AFPObj *);
 extern void             load_volumes (AFPObj *obj);
 extern const struct vol *getvolumes(void);
-extern void             unload_volumes_and_extmap(void);
+extern void             unload_volumes(void);
+extern void             vol_fce_tm_event(void);
 
 /* FP functions */
 int afp_openvol      (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size_t *rbuflen);