]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/volume.h
Advertise volumes too
[netatalk.git] / etc / afpd / volume.h
index 551f9ad6e45d5e3582ff5c663c62b1aaf7310ded..38ba59a879218104ee65197ba39beeede9a9a038 100644 (file)
@@ -21,7 +21,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 +33,7 @@ extern int              readvolfile(AFPObj *obj,
                                     char *p2,
                                     int user,
                                     struct passwd *pwent);
+extern const struct vol *getvolumes(void);
 
 /* FP functions */
 int afp_openvol      (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size_t *rbuflen);