X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=include%2Fdoldaconnect%2Fuilib.h;h=ad26394ceb0f349a844ab21c951c63d657931c5b;hb=a9bfddfe7418e85a0df1c97c6063336ba2f09bd6;hp=9cfa4de0b8c2b09d3f71805184b3c0a0ca836626;hpb=12383d48e624213114482f29af819ff77aef70fa;p=doldaconnect.git diff --git a/include/doldaconnect/uilib.h b/include/doldaconnect/uilib.h index 9cfa4de..ad26394 100644 --- a/include/doldaconnect/uilib.h +++ b/include/doldaconnect/uilib.h @@ -3,6 +3,8 @@ #include +#define DC_LATEST 2 + struct dc_response { struct dc_response *next, *prev; @@ -49,8 +51,10 @@ int dc_queuecmd(int (*callback)(struct dc_response *), void *data, ...); int dc_handleread(void); int dc_handlewrite(void); int dc_connect(char *host); +int dc_connectlocal(void); struct dc_intresp *dc_interpret(struct dc_response *resp); void dc_freeires(struct dc_intresp *ires); +int dc_checkprotocol(struct dc_response *resp, int revision); const char *dc_gethostname(void); #endif