icallangbind.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*======================================================================
  2. FILE: icallangbind.h
  3. CREATOR: eric 25 jan 2001
  4. (C) COPYRIGHT 1999 Eric Busboom <eric@softwarestudio.org>
  5. http://www.softwarestudio.org
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of either:
  8. The LGPL as published by the Free Software Foundation, version
  9. 2.1, available at: http://www.gnu.org/licenses/lgpl-2.1.html
  10. Or:
  11. The Mozilla Public License Version 1.0. You may obtain a copy of
  12. the License at http://www.mozilla.org/MPL/
  13. ======================================================================*/
  14. #ifndef ICALLANGBIND_H
  15. #define ICALLANGBIND_H
  16. #include "libical_ical_export.h"
  17. #include "icalcomponent.h"
  18. #include "icalproperty.h"
  19. LIBICAL_ICAL_EXPORT int *icallangbind_new_array(int size);
  20. LIBICAL_ICAL_EXPORT void icallangbind_free_array(int *array);
  21. LIBICAL_ICAL_EXPORT int icallangbind_access_array(int *array, int index);
  22. LIBICAL_ICAL_EXPORT icalproperty *icallangbind_get_property(icalcomponent *c,
  23. int n, const char *prop);
  24. LIBICAL_ICAL_EXPORT const char *icallangbind_get_property_val(icalproperty *p);
  25. LIBICAL_ICAL_EXPORT const char *icallangbind_get_parameter(icalproperty *p, const char *parameter);
  26. LIBICAL_ICAL_EXPORT icalcomponent *icallangbind_get_component(icalcomponent *c, const char *comp);
  27. LIBICAL_ICAL_EXPORT icalproperty *icallangbind_get_first_property(icalcomponent *c,
  28. const char *prop);
  29. LIBICAL_ICAL_EXPORT icalproperty *icallangbind_get_next_property(icalcomponent *c,
  30. const char *prop);
  31. LIBICAL_ICAL_EXPORT icalcomponent *icallangbind_get_first_component(icalcomponent *c,
  32. const char *comp);
  33. LIBICAL_ICAL_EXPORT icalcomponent *icallangbind_get_next_component(icalcomponent *c,
  34. const char *comp);
  35. LIBICAL_ICAL_EXPORT icalparameter *icallangbind_get_first_parameter(icalproperty *prop);
  36. LIBICAL_ICAL_EXPORT icalparameter *icallangbind_get_next_parameter(icalproperty *prop);
  37. LIBICAL_ICAL_EXPORT const char *icallangbind_property_eval_string(icalproperty *prop, char *sep);
  38. LIBICAL_ICAL_EXPORT char *icallangbind_property_eval_string_r(icalproperty *prop, char *sep);
  39. LIBICAL_ICAL_EXPORT int icallangbind_string_to_open_flag(const char *str);
  40. LIBICAL_ICAL_EXPORT const char *icallangbind_quote_as_ical(const char *str);
  41. LIBICAL_ICAL_EXPORT char *callangbind_quote_as_ical_r(const char *str);
  42. #endif