blob: 19f8c1db06074c30c97e68bb7093f86dd3174e72 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
|