X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fvolume.h;h=90febbfee00803f6fc803058ffaac982ff599b8d;hb=a2ddc8384c1881c66db1fbba6698bfd09da84b64;hp=b33e9c313cf22713ccf738efcb3758b4b07a1dea;hpb=8ea9eaad323ec8ea180ffc277cd409d713a5895f;p=netatalk.git diff --git a/etc/afpd/volume.h b/etc/afpd/volume.h index b33e9c31..90febbfe 100644 --- a/etc/afpd/volume.h +++ b/etc/afpd/volume.h @@ -6,34 +6,24 @@ #ifndef AFPD_VOLUME_H #define AFPD_VOLUME_H 1 -#include #include -#include +#include #include #include #include +#include -#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 int readvolfile(AFPObj *obj, - struct afp_volume_name *p1, - 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); +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);