• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/include/atalk/

Lines Matching refs:DSI

22 /* What a DSI packet looks like:
60 typedef struct DSI {
79 uint32_t flags; /* DSI flags like DSI_SLEEPING, DSI_DISCONNECTED */
86 pid_t (*proto_open)(struct DSI *);
87 void (*proto_close)(struct DSI *);
99 /* DSI readahead buffer used for buffered reads in dsi_peek */
100 size_t dsireadbuf; /* size of the DSI readahead buffer used in dsi_peek() */
105 } DSI;
107 /* DSI flags */
112 /* DSI session options */
117 /* DSI Commands */
127 /* DSI Error codes: most of these aren't used. */
149 /* DSI session State flags */
150 #define DSI_DATA (1 << 0) /* we have received a DSI command */
165 extern DSI *dsi_init (const dsi_proto /*protocol*/,
170 extern void dsi_setstatus (DSI *, char *, const size_t);
173 extern afp_child_t *dsi_getsession (DSI *, server_child *, const int);
177 /* DSI Commands: individual files */
178 extern void dsi_opensession (DSI *);
179 extern int dsi_attention (DSI *, AFPUserBytes);
180 extern int dsi_cmdreply (DSI *, const int);
181 extern int dsi_tickle (DSI *);
182 extern void dsi_getstatus (DSI *);
183 extern void dsi_close (DSI *);
187 extern ssize_t dsi_stream_write (DSI *, void *, const size_t, const int mode);
188 extern size_t dsi_stream_read (DSI *, void *, const size_t);
189 extern int dsi_stream_send (DSI *, void *, size_t);
190 extern int dsi_stream_receive (DSI *);
191 extern int dsi_disconnect(DSI *dsi);
194 extern ssize_t dsi_stream_read_file(DSI *, int, off_t off, const size_t len);
198 extern size_t dsi_writeinit (DSI *, void *, const size_t);
199 extern size_t dsi_write (DSI *, void *, const size_t);
200 extern void dsi_writeflush (DSI *);
204 extern ssize_t dsi_readinit (DSI *, void *, const size_t, const size_t,
206 extern ssize_t dsi_read (DSI *, void *, const size_t);
207 extern void dsi_readdone (DSI *);