X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-text-utils.h;h=2248d900c14cf0ca9ed0596a630f06e5fa05d7c2;hb=839a44d74460225883a7f8e9f718c5cae4928ed9;hp=ef98550912c64cf15f503386a49a113406fd381d;hpb=10b43e346fe5f475ffb4f3286f188ab099447b21;p=modest diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index ef98550..2248d90 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -60,6 +60,7 @@ gchar* modest_text_utils_derived_subject (const gchar *subject, * @content_type: the non-NULL content type for the quoting, e.g. "text/html" * @signature: NULL or the signature to add * @sent_date: sent date/time of the original message + * @attachments: a #GList of the attachments * @limit: specifies the maximum characters per line in the quoted text * * quote an existing message @@ -71,6 +72,7 @@ gchar* modest_text_utils_quote (const gchar *text, const gchar *signature, const gchar *from, const time_t sent_date, + GList *attachments, int limit); @@ -189,8 +191,11 @@ size_t modest_text_utils_strftime(char *s, size_t max, const char *fmt, time_t * ie. removes "<...>" and "(...)" parts * the change is in-place; removes leading/trailing whitespace * - * Returns: the new address. The string is *not* newly allocated. - * NULL in case of error + * Returns: the new address of the string; this new string + * is _NOT_ newly allocated, so should not be freed. (remember + * the old address of the parameter if that one needs to be freed) + * + * NULL in case of error or if address == NULL */ gchar* modest_text_utils_get_display_address (gchar *address);