]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/adouble.h
Add recvfile support with splice() on Linux
[netatalk.git] / include / atalk / adouble.h
index 0a66ad2683517602f8b6349064e91104f28b22ae..972ce26f7534e40d287d6a4af5d7faaeb2090a98 100644 (file)
@@ -450,5 +450,8 @@ extern uint32_t  ad_forcegetid(struct adouble *adp);
 #ifdef WITH_SENDFILE
 extern int ad_readfile_init(const struct adouble *ad, int eid, off_t *off, int end);
 #endif
+#ifdef WITH_RECVFILE
+extern ssize_t ad_recvfile(struct adouble *ad, int eid,  int sock, off_t off, size_t len, int);
+#endif
 
 #endif /* _ATALK_ADOUBLE_H */