10 struct dc_response *next, *prev;
42 void dc_cleanup(void);
43 void dc_disconnect(void);
44 void dc_freeresp(struct dc_response *resp);
45 struct dc_response *dc_getresp(void);
46 struct dc_response *dc_gettaggedresp(int tag);
47 struct dc_response *dc_gettaggedrespsync(int tag);
48 int dc_wantwrite(void);
49 int dc_getstate(void);
50 int dc_queuecmd(int (*callback)(struct dc_response *), void *data, ...);
51 int dc_handleread(void);
52 int dc_handlewrite(void);
53 int dc_connect(char *host);
54 struct dc_intresp *dc_interpret(struct dc_response *resp);
55 void dc_freeires(struct dc_intresp *ires);
56 int dc_checkprotocol(struct dc_response *resp, int revision);
57 const char *dc_gethostname(void);