diff options
author | Hans Petter <hansp@src.gnome.org> | 2003-09-12 06:04:44 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-09-12 06:04:44 +0800 |
commit | 697761cc337aa77a47140c8df50ed84bc25e23f6 (patch) | |
tree | b785830f72e9938cceaa016a419c7b6d9892bada /libical/src/libicalcap/icalcap_message_impl.h | |
parent | 733d77e657516f9a59b5c1a7b62acb87b03ec86f (diff) | |
download | gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.gz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.bz2 gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.lz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.xz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.zst gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.zip |
Import new libical from mainline HEAD and make appropriate changes to
Evolution.
svn path=/trunk/; revision=22538
Diffstat (limited to 'libical/src/libicalcap/icalcap_message_impl.h')
-rw-r--r-- | libical/src/libicalcap/icalcap_message_impl.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libical/src/libicalcap/icalcap_message_impl.h b/libical/src/libicalcap/icalcap_message_impl.h new file mode 100644 index 0000000000..ae234d2efa --- /dev/null +++ b/libical/src/libicalcap/icalcap_message_impl.h @@ -0,0 +1,33 @@ +#ifndef __ICALCAP_MESSAGE_IMPL_H__ +#define __ICALCAP_MESSAGE_IMPL_H__ + +#ifdef WITH_RR + +#include <ical.h> +#include <librr/rr.h> + +#define ICALCAP_MESSAGE_CMD 1 +#define ICALCAP_MESSAGE_REPLY 1 + +struct _icalcap_message_rr { + const icalcap *cap; + int type; + + icalcomponent *comp; + + RRFrame *frame; + RRMessage *msg; +}; + +icalcap_message*icalcap_message_new_rr(const icalcap *cap, const icalcomponent *comp); +icalcap_message*icalcap_message_new_reply_rr(const icalcap_message *capmsg, const icalcomponent *comp); +void icalcap_message_free_rr(icalcap_message *capmsg); + +int icalcap_message_send_reply_rr(icalcap_message *capmsg); +icalcomponent *icalcap_message_sync_send_rr(icalcap_message *capmsg, int timeout); + +#else +#error "No implementation of icalcap found!" +#endif + +#endif |