| Top |  |  |  |  | 
| ICalAttach * | i_cal_attach_new_from_url () | 
| ICalAttach * | i_cal_attach_new_from_data () | 
| ICalAttach * | i_cal_attach_new_from_bytes () | 
| void | i_cal_attach_ref () | 
| void | i_cal_attach_unref () | 
| gboolean | i_cal_attach_get_is_url () | 
| const gchar * | i_cal_attach_get_url () | 
| const gchar * | i_cal_attach_get_data () | 
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
ICalAttach *
i_cal_attach_new_from_bytes (GBytes *bytes);
Create a new ICalAttach from the data in bytes. Takes a reference of bytes
, increase the reference
before calling this function if you with to use it afterward. The stored bytes should be already encoded
with used encoding (like base64).
Since: 1.0
void
i_cal_attach_ref (ICalAttach *attach);
Increase the ref counter by 1 for the attach
[skip]
Since: 1.0
void
i_cal_attach_unref (ICalAttach *attach);
Decrese the ref counter by 1 for the attach
[skip]
Since: 1.0
gboolean
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.
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
const gchar *
i_cal_attach_get_data (ICalAttach *attach);
Get the data, if the ICalAttach is built from the data.
The data component of the attach
. NULL if it is built from url or there is an error. 
[nullable][transfer none]
Since: 1.0