1 #ifndef __ICALCAP_SERVER_IMPL_H__
2 #define __ICALCAP_SERVER_IMPL_H__
7 #include <librrsasl/rr-sasl.h>
8 #include <librrtls/rr-tls.h>
9 #include <librrcap/rr-cap.h>
11 struct _icalcap_server {
12 RRProfileRegistry *profreg;
15 icalcap_msg_handler handler;
18 icalcap_server *icalcap_server_new_rr(icalcap_auth_handler auth_cb,
19 icalcap_chanup_handler chanup_cb,
20 icalcap_msg_handler msg_cb);
21 int icalcap_server_listen_rr(icalcap_server *cap,
24 int icalcap_server_run_rr(const icalcap_server *cap);
25 int icalcap_server_shutdown_rr(icalcap_server *cap);
28 #error "No implementation of icalcap found!"