EMailPartList

EMailPartList

Functions

EMailPartList * e_mail_part_list_new ()
CamelFolder * e_mail_part_list_get_folder ()
CamelMimeMessage * e_mail_part_list_get_message ()
const gchar * e_mail_part_list_get_message_uid ()
void e_mail_part_list_add_part ()
EMailPart * e_mail_part_list_ref_part ()
guint e_mail_part_list_queue_parts ()
gboolean e_mail_part_list_is_empty ()
CamelObjectBag * e_mail_part_list_get_registry ()

Description

Functions

e_mail_part_list_new ()

EMailPartList *
e_mail_part_list_new (CamelMimeMessage *message,
                      const gchar *message_uid,
                      CamelFolder *folder);

e_mail_part_list_new is deprecated and should not be used in newly-written code.


e_mail_part_list_get_folder ()

CamelFolder *
e_mail_part_list_get_folder (EMailPartList *part_list);

e_mail_part_list_get_folder is deprecated and should not be used in newly-written code.


e_mail_part_list_get_message ()

CamelMimeMessage *
e_mail_part_list_get_message (EMailPartList *part_list);

e_mail_part_list_get_message is deprecated and should not be used in newly-written code.


e_mail_part_list_get_message_uid ()

const gchar *
e_mail_part_list_get_message_uid (EMailPartList *part_list);

e_mail_part_list_get_message_uid is deprecated and should not be used in newly-written code.


e_mail_part_list_add_part ()

void
e_mail_part_list_add_part (EMailPartList *part_list,
                           EMailPart *part);

e_mail_part_list_add_part is deprecated and should not be used in newly-written code.


e_mail_part_list_ref_part ()

EMailPart *
e_mail_part_list_ref_part (EMailPartList *part_list,
                           const gchar *part_id);

e_mail_part_list_ref_part is deprecated and should not be used in newly-written code.


e_mail_part_list_queue_parts ()

guint
e_mail_part_list_queue_parts (EMailPartList *part_list,
                              const gchar *part_id,
                              GQueue *result_queue);

e_mail_part_list_queue_parts is deprecated and should not be used in newly-written code.

Populates result_queue with a sequence of EMailPart instances beginning with the part having part_id . If part_id is NULL, the entire sequence of EMailPart instances is queued.

Each EMailPart is referenced for thread-safety and should be unreferenced with g_object_unref().

Parameters

part_list

an EMailPartList

 

part_id

the EMailPart ID to begin queueing from, or NULL

 

result_queue

a GQueue in which to deposit EMailPart instances

 

Returns

the number of parts added to result_queue


e_mail_part_list_is_empty ()

gboolean
e_mail_part_list_is_empty (EMailPartList *part_list);

e_mail_part_list_is_empty is deprecated and should not be used in newly-written code.

Parameters

part_list

an EMailPartList

 

Returns

whether the part list is empty (it doesn't contain any EMailpart).


e_mail_part_list_get_registry ()

CamelObjectBag *
e_mail_part_list_get_registry (void);

e_mail_part_list_get_registry is deprecated and should not be used in newly-written code.

Returns a CamelObjectBag where parsed EMailPartLists can be stored.

Types and Values