X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fatalk%2Fdsi.h;h=757cedbe6f7cf4b2e15c6f9987aa1e170580e8d7;hb=465246e257d9aff9855e3e35d8fd5983db932b45;hp=babd8288ce3fc55745b5acb7d2897479822ac4f5;hpb=6145c1c31a1a2494fe6ad7ca65f9c2a63a05b07d;p=netatalk.git diff --git a/include/atalk/dsi.h b/include/atalk/dsi.h index babd8288..757cedbe 100644 --- a/include/atalk/dsi.h +++ b/include/atalk/dsi.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #ifdef __OpenBSD__ @@ -59,6 +60,7 @@ struct dsi_block { /* child and parent processes might interpret a couple of these * differently. */ typedef struct DSI { + AFPObj *AFPobj; dsi_proto protocol; struct dsi_block header; struct sockaddr_storage server, client; @@ -185,6 +187,7 @@ extern ssize_t dsi_stream_write (DSI *, void *, const size_t, const int mode); extern size_t dsi_stream_read (DSI *, void *, const size_t); extern int dsi_stream_send (DSI *, void *, size_t); extern int dsi_stream_receive (DSI *, void *, const size_t, size_t *); +extern int dsi_disconnect(DSI *dsi); #ifdef WITH_SENDFILE extern ssize_t dsi_stream_read_file(DSI *, int, off_t off, const size_t len);