X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fvolume.h;h=2339ca8cf855aeb98ff4db757abcdbd6ccdae6f8;hb=465246e257d9aff9855e3e35d8fd5983db932b45;hp=7402a9a450c9793c9d3119664175e5ba855704b1;hpb=e6a19801e7d0ad53350a396b4a7f3d5762d4fc1a;p=netatalk.git diff --git a/etc/afpd/volume.h b/etc/afpd/volume.h index 7402a9a4..2339ca8c 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,8 +13,8 @@ #include #include #include +#include -#include "globals.h" #if 0 #include "hash.h" #endif @@ -28,14 +26,8 @@ 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); /* FP functions */ int afp_openvol (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen); @@ -47,4 +39,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