diff options
author | Allen Winter <allen.winter@kdab.com> | 2014-06-28 17:45:24 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2014-06-28 17:45:24 -0400 |
commit | 43858141030ba123a4959231cadc9951b983f0fd (patch) | |
tree | 8256c1dbf3ca7c9e58a3dbecf07cf826fb2e0ce2 /src/libicalcap/icalcap_impl.h | |
download | libical-git-1.0.0.tar.gz |
Diffstat (limited to 'src/libicalcap/icalcap_impl.h')
-rw-r--r-- | src/libicalcap/icalcap_impl.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/libicalcap/icalcap_impl.h b/src/libicalcap/icalcap_impl.h new file mode 100644 index 00000000..19f8c1db --- /dev/null +++ b/src/libicalcap/icalcap_impl.h @@ -0,0 +1,34 @@ +#ifndef __ICALCAP_IMPL_H__ +#define __ICALCAP_IMPL_H__ + +#include "icalcap_session.h" + +#ifdef WITH_RR + +#include <librr/rr.h> +#include <librrsasl/rr-sasl.h> +#include <librrtls/rr-tls.h> +#include <librrcap/rr-cap.h> + +struct _icalcap { + RRCAP *chan; + const char *username, + *authname; +}; + +struct _icalerror { + GError *err; +}; + + +void icalcap_free_rr(icalcap *cap); + +int icalcap_stop_rr(icalcap *cap); + +icalcomponent *icalcap_send_component_rr(const icalcap *cap, const icalcomponent *comp, int timeout); + +#else +#error "No implementation of icalcap found!" +#endif + +#endif |