aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/libicalss/icalmessage.h
blob: 7687db681e0210fa596f70fb26e746a8e8ee04a8 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* -*- Mode: C -*- */
/*======================================================================
 FILE: icalmessage.h
 CREATOR: eric 07 Nov 2000


 $Id$
 $Locker$

 (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org

 This program is free software; you can redistribute it and/or modify
 it under the terms of either: 

    The LGPL as published by the Free Software Foundation, version
    2.1, available at: http://www.fsf.org/copyleft/lesser.html

  Or:

    The Mozilla Public License Version 1.0. You may obtain a copy of
    the License at http://www.mozilla.org/MPL/


 =========================================================================*/

#include "ical.h"

#ifndef ICALMESSAGE_H
#define ICALMESSAGE_H


icalcomponent* icalmessage_new_accept_reply(icalcomponent* c, 
                        const char* user,
                        const char* msg);

icalcomponent* icalmessage_new_decline_reply(icalcomponent* c,
                        const char* user,
                        const char* msg);

/* New is modified version of old */
icalcomponent* icalmessage_new_counterpropose_reply(icalcomponent* old,
                            icalcomponent* new,
                            const char* user,
                            const char* msg);


icalcomponent* icalmessage_new_delegate_reply(icalcomponent* c,
                          const char* user,
                          const char* delegatee,
                          const char* msg);



icalcomponent* icalmessage_new_cancel_event(icalcomponent* c,
                        const char* user,
                        const char* msg);
icalcomponent* icalmessage_new_cancel_instance(icalcomponent* c,
                        const char* user,
                        const char* msg);
icalcomponent* icalmessage_new_cancel_all(icalcomponent* c,
                        const char* user,
                        const char* msg);


icalcomponent* icalmessage_new_error_reply(icalcomponent* c,
                       const char* user,
                       const char* msg,
                       const char* debug,
                       icalrequeststatus rs);


#endif /* ICALMESSAGE_H*/