/*
- * $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.
*/
#ifndef AFPD_VOLUME_H
#define AFPD_VOLUME_H 1
-#include <sys/cdefs.h>
#include <sys/types.h>
-#include <netatalk/endian.h>
+#include <arpa/inet.h>
#include <atalk/volume.h>
#include <atalk/cnid.h>
#include <atalk/unicode.h>
+#include <atalk/globals.h>
-#include "globals.h"
-#if 0
-#include "hash.h"
-#endif
-
-extern struct vol *getvolbyvid (const u_int16_t);
extern int ustatfs_getvolspace (const struct vol *,
- VolSpace *, VolSpace *,
- u_int32_t *);
+ VolSpace *, VolSpace *,
+ 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 vol_fce_tm_event(void);
/* FP functions */
int afp_openvol (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen);