/*
- * $Id: adouble.h,v 1.45 2009-10-14 01:38:28 didg Exp $
+ * $Id: adouble.h,v 1.48 2009-10-25 09:47:04 didg Exp $
* Copyright (c) 1990,1991 Regents of The University of Michigan.
* All Rights Reserved.
*
const int /*type*/, const off_t /*offset*/,
const off_t /*len*/, const int /*user*/);
extern int ad_testlock (struct adouble * /*adp*/, int /*eid*/, off_t /*off*/);
+
+extern u_int16_t ad_openforks (struct adouble * /*adp*/, u_int16_t);
extern int ad_excl_lock (struct adouble * /*adp*/, const u_int32_t /*eid*/);
#define ad_lock ad_fcntl_lock
#endif
#ifdef WITH_SENDFILE
-extern ssize_t ad_readfile (const struct adouble *, const int,
- const int, off_t, const size_t);
+extern int ad_readfile_init(const struct adouble *ad,
+ const int eid, off_t *off,
+ const int end);
#endif
#if 0
#endif /* HAVE_SENDFILE_WRITE */
#endif /* 0 */
-/* ad_unix.c */
-extern int netatalk_unlink(const char *name);
-extern char *fullpathname(const char *);
-extern int netatalk_rmdir(const char *name);
-extern int setfilmode(const char *, mode_t, struct stat *, mode_t);
-extern int dir_rx_set(mode_t mode);
-extern int stickydirmode(const char *name, const mode_t mode, const int dropbox, const mode_t v_umask);
-extern int unix_rename(const char *oldpath, const char *newpath);
-
#endif /* _ATALK_ADOUBLE_H */