]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/adouble.h
IPv6 support for afpd and cnid_metad
[netatalk.git] / include / atalk / adouble.h
index bc6bb196215e54b4eae45ac0e70a8f4bd6805a71..467f411808252972032c1a314cc32d05c8ee56cb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $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.
  *
@@ -447,6 +447,8 @@ extern int ad_fcntl_tmplock (struct adouble *, const u_int32_t /*eid*/,
                                  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
@@ -541,8 +543,9 @@ extern u_int32_t ad_forcegetid (struct adouble *adp);
 #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
@@ -552,13 +555,4 @@ extern ssize_t ad_writefile (struct adouble *, const int,
 #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 */