X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcarddav2%2Fcarddav2.h;h=3828d0776490b869f9daf614e2a1806b3d1eeb63;hp=0c41fdb8c8a50c6855e4123e3a423198dfa8f9e2;hb=b1467ce3cde3c61f79030bf4329f7037904043e1;hpb=5d754ed0c1a843766a530550ac038c534c2eeb4b diff --git a/source/carddav2/carddav2.h b/source/carddav2/carddav2.h index 0c41fdb..3828d07 100644 --- a/source/carddav2/carddav2.h +++ b/source/carddav2/carddav2.h @@ -22,9 +22,11 @@ #include "../connobject/ConnectionObject.h" #include "../version.h" #include "../common/sslcertstructs.h" +#include "../common/dirs.h" #include #include +#include #include #include @@ -81,6 +83,7 @@ class CardDAV2 : public ConnectionObject { CURL *ConnectionSession = nullptr; CURLcode SessionResult = CURLE_OK; + struct curl_slist *HeaderList = nullptr; void SetupDefaultParametersNonSSL(bool DoAuthentication); void SetupDefaultParametersSSL(bool DoAuthentication); @@ -95,6 +98,7 @@ class CardDAV2 : public ConnectionObject { std::string BuildURL(std::string URI); void ResetResults(); std::vector GetDAVHeader(); + std::string GetETagHeader(); std::string GetUserPrincipalURI(); std::string GetAddressBookHomeURI();