X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=include%2Fdoldaconnect%2Fuilib.h;h=0894f1a2e4f7199cdba28e1d40a7a2a85a7e1db3;hb=735f4b1a8de997d577d2fb9ecef23974d5e7dac6;hp=9cfa4de0b8c2b09d3f71805184b3c0a0ca836626;hpb=12383d48e624213114482f29af819ff77aef70fa;p=doldaconnect.git diff --git a/include/doldaconnect/uilib.h b/include/doldaconnect/uilib.h index 9cfa4de..0894f1a 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; @@ -51,6 +53,7 @@ int dc_handlewrite(void); int dc_connect(char *host); 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