1 /* -*- Mode: C -*-
2   ======================================================================
3   FILE: icallangbind.h
4   CREATOR: eric 25 jan 2001
5 
6   DESCRIPTION:
7 
8   $Id: icallangbind.h,v 1.8 2008-01-02 20:07:31 dothebart Exp $
9   $Locker:  $
10 
11   (C) COPYRIGHT 1999 Eric Busboom
12   http://www.softwarestudio.org
13 
14   This package is free software and is provided "as is" without
15   express or implied warranty.  It may be used, redistributed and/or
16   modified under the same terms as perl itself. ( Either the Artistic
17   License or the GPL. )
18 
19   ======================================================================*/
20 
21 #ifndef __ICALLANGBIND_H__
22 #define __ICALLANGBIND_H__
23 
24 int* icallangbind_new_array(int size);
25 void icallangbind_free_array(int* array);
26 int icallangbind_access_array(int* array, int index);
27 icalproperty* icallangbind_get_property(icalcomponent *c, int n, const char* prop);
28 const char* icallangbind_get_property_val(icalproperty* p);
29 const char* icallangbind_get_parameter(icalproperty *p, const char* parameter);
30 icalcomponent* icallangbind_get_component(icalcomponent *c, const char* comp);
31 
32 icalproperty* icallangbind_get_first_property(icalcomponent *c,
33                                               const char* prop);
34 
35 icalproperty* icallangbind_get_next_property(icalcomponent *c,
36                                               const char* prop);
37 
38 icalcomponent* icallangbind_get_first_component(icalcomponent *c,
39                                               const char* comp);
40 
41 icalcomponent* icallangbind_get_next_component(icalcomponent *c,
42                                               const char* comp);
43 
44 icalparameter* icallangbind_get_first_parameter(icalproperty *prop);
45 
46 icalparameter* icallangbind_get_next_parameter(icalproperty *prop);
47 
48 const char* icallangbind_property_eval_string(icalproperty* prop, char* sep);
49 char* icallangbind_property_eval_string_r(icalproperty* prop, char* sep);
50 
51 
52 int icallangbind_string_to_open_flag(const char* str);
53 
54 const char* icallangbind_quote_as_ical(const char* str);
55 char* icallangbind_quote_as_ical_r(const char* str);
56 #endif /*__ICALLANGBIND_H__*/
57