]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/volume.h
First try for a volume defaults config
[netatalk.git] / etc / afpd / volume.h
1 /*
2  * Copyright (c) 1990,1994 Regents of The University of Michigan.
3  * All Rights Reserved.  See COPYRIGHT.
4  */
5
6 #ifndef AFPD_VOLUME_H
7 #define AFPD_VOLUME_H 1
8
9 #include <sys/types.h>
10 #include <arpa/inet.h>
11
12 #include <atalk/volume.h>
13 #include <atalk/cnid.h>
14 #include <atalk/unicode.h>
15 #include <atalk/globals.h>
16
17 extern int              ustatfs_getvolspace (const struct vol *,
18                                              VolSpace *, VolSpace *,
19                                              uint32_t *);
20 extern void             setvoltime (AFPObj *, struct vol *);
21 extern int              pollvoltime (AFPObj *);
22 extern void             vol_fce_tm_event(void);
23
24 /* FP functions */
25 int afp_openvol      (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size_t *rbuflen);
26 int afp_getvolparams (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size_t *rbuflen);
27 int afp_setvolparams (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size_t *rbuflen);
28 int afp_getsrvrparms (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size_t *rbuflen);
29 int afp_closevol     (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,  size_t *rbuflen);
30
31 /* netatalk functions */
32 extern void close_all_vol(void);
33 extern void closevol(struct vol *vol);
34 #endif