]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/volume.h
Merge branch-2-1
[netatalk.git] / etc / afpd / volume.h
index 551f9ad6e45d5e3582ff5c663c62b1aaf7310ded..b33e9c313cf22713ccf738efcb3758b4b07a1dea 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id: volume.h,v 1.36 2009-10-15 10:43:13 didg Exp $
- *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
  */
@@ -21,7 +19,7 @@
 #include "hash.h"
 #endif
 
-extern struct vol      *getvolbyvid (const u_int16_t);
+extern struct vol       *getvolbyvid (const u_int16_t);
 extern int              ustatfs_getvolspace (const struct vol *,
             VolSpace *, VolSpace *,
             u_int32_t *);
@@ -33,6 +31,9 @@ extern int              readvolfile(AFPObj *obj,
                                     char *p2,
                                     int user,
                                     struct passwd *pwent);
+extern const struct vol *getvolumes(void);
+extern void             unload_volumes_and_extmap(void);
+extern char             *get_uuid(const AFPObj *obj, const char *volname);
 
 /* FP functions */
 int afp_openvol      (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size_t *rbuflen);
@@ -44,4 +45,6 @@ int afp_closevol     (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size
 /* netatalk functions */
 extern void     close_all_vol   (void);
 
+struct vol *current_vol;        /* last volume from getvolbyvid() */
+
 #endif