]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/volume.h
First try for a volume defaults config
[netatalk.git] / etc / afpd / volume.h
index 0a9f0f01fedba48e3e23fdc8566bee32c67e281f..b1c750a5727375c7a9e8fa8e2a478fef2ba0b081 100644 (file)
 #include <atalk/unicode.h>
 #include <atalk/globals.h>
 
-extern struct vol       *getvolbyvid (const uint16_t);
 extern int              ustatfs_getvolspace (const struct vol *,
-            VolSpace *, VolSpace *,
-            uint32_t *);
+                                             VolSpace *, VolSpace *,
+                                             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             vol_fce_tm_event(void);
 
 /* FP functions */
@@ -33,8 +29,6 @@ int afp_getsrvrparms (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size
 int afp_closevol     (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size_t *rbuflen);
 
 /* netatalk functions */
-extern void     close_all_vol   (void);
-
-struct vol *current_vol;        /* last volume from getvolbyvid() */
-
+extern void close_all_vol(void);
+extern void closevol(struct vol *vol);
 #endif