Top | ![]() |
![]() |
![]() |
![]() |
ICalAttach * | i_cal_attach_new_full () |
ICalAttach * | i_cal_attach_new_from_url () |
ICalAttach * | i_cal_attach_new_from_data () |
void | i_cal_attach_ref () |
void | i_cal_attach_unref () |
gint | i_cal_attach_get_is_url () |
const gchar * | i_cal_attach_get_url () |
guchar * | i_cal_attach_get_data () |
ICalAttach * i_cal_attach_new_full (icalattach *native
,GObject *owner
);
Create a new libical-glib object from the native libical object and the owner.
Since 1.0
ICalAttach *
i_cal_attach_new_from_url (const gchar *url
);
Create a new ICalAttach from the url
Since 1.0
ICalAttach * i_cal_attach_new_from_data (const gchar *data
,GFunc free_fn
,void *free_fn_data
);
Create a new ICalAttach from the data.
data |
The data used to create the ICalAttach |
|
free_fn |
The function used to free the data when the create ICalAttach is detroyed. |
[scope call][allow-none] |
free_fn_data |
The userdata used for the free function |
[allow-none] |
Since 1.0
void
i_cal_attach_ref (ICalAttach *attach
);
Increase the ref counter by 1 for the attach
Since 1.0
void
i_cal_attach_unref (ICalAttach *attach
);
Decrese the ref counter by 1 for the attach
Since 1.0
gint
i_cal_attach_get_is_url (ICalAttach *attach
);
Check whether the ICalAttach is built from url
Since 1.0
const gchar *
i_cal_attach_get_url (ICalAttach *attach
);
Get the url if the ICalAttach is built from the url. NULL if else.
The url component of the attach
. NULL if it is built from data or there is an error.
[allow-none][transfer none]
Since 1.0
guchar *
i_cal_attach_get_data (ICalAttach *attach
);
Get the data if the ICalAttach is built from the data. NULL if else.
The data component of the attach
. NULL if it is built from url or there is an error.
[type utf8][allow-none][transfer none]
Since 1.0