X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fvolume.h;h=eedc622bd275107758b7522e570f6e37eb278b4c;hb=6f2df6f53efa0ada8df3999c46682fe8e9b085a0;hp=7402a9a450c9793c9d3119664175e5ba855704b1;hpb=b3bcbf9805a3b6538ec71f41a9f537e03e81adcd;p=netatalk.git diff --git a/etc/afpd/volume.h b/etc/afpd/volume.h index 7402a9a4..eedc622b 100644 --- a/etc/afpd/volume.h +++ b/etc/afpd/volume.h @@ -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. */ @@ -15,11 +13,7 @@ #include #include #include - -#include "globals.h" -#if 0 -#include "hash.h" -#endif +#include extern struct vol *getvolbyvid (const u_int16_t); extern int ustatfs_getvolspace (const struct vol *, @@ -28,14 +22,9 @@ extern int ustatfs_getvolspace (const struct vol *, 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 vol_fce_tm_event(void); /* FP functions */ int afp_openvol (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen); @@ -47,4 +36,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