34#include "libical_ical_export.h"
icalattach * icalattach_new_from_data(const char *data, icalattach_free_fn_t free_fn, void *free_fn_data)
Creates new icalattach object from data.
Definition icalattach.c:60
void(* icalattach_free_fn_t)(char *data, void *user_data)
Function to be called to free the data of an icalattach object.
Definition icalattach.h:54
void icalattach_unref(icalattach *attach)
Decrements reference count of the icalattach.
Definition icalattach.c:99
int icalattach_get_is_url(icalattach *attach)
Determines if attach is an URL.
Definition icalattach.c:118
void icalattach_ref(icalattach *attach)
Increments reference count of the icalattach.
Definition icalattach.c:91
unsigned char * icalattach_get_data(icalattach *attach)
Returns the data of the icalattach object.
Definition icalattach.c:133
const char * icalattach_get_url(icalattach *attach)
Returns the URL of the icalattach object.
Definition icalattach.c:125
icalattach * icalattach_new_from_url(const char *url)
Creates new icalattach object from a URL.
Definition icalattach.c:29
Definition icalattachimpl.h:26