New dc_connect implementation
[doldaconnect.git] / include / doldaconnect / uilib.h
index 25cfc59..9cfa4de 100644 (file)
@@ -10,7 +10,7 @@ struct dc_response
     wchar_t *cmdname;
     void *data;
     void *internal;
-    struct
+    struct dc_respline
     {
        int argc;
        wchar_t **argv;
@@ -48,7 +48,7 @@ int dc_getstate(void);
 int dc_queuecmd(int (*callback)(struct dc_response *), void *data, ...);
 int dc_handleread(void);
 int dc_handlewrite(void);
-int dc_connect(char *host, int port);
+int dc_connect(char *host);
 struct dc_intresp *dc_interpret(struct dc_response *resp);
 void dc_freeires(struct dc_intresp *ires);
 const char *dc_gethostname(void);