Extending test-client-custom-summary to try e_book_client_get_contacts_uids()
[platform/upstream/evolution-data-server.git] / camel / camel-mime-filter-enriched.c
index 7186b9c..577ff9d 100644 (file)
@@ -51,7 +51,7 @@ static struct {
        const gchar *enriched;
        const gchar *html;
        gboolean needs_param;
-       EnrichedParamParser parse_param; /* parses *and* validates the input */
+       EnrichedParamParser parse_param; /* parses *and * validates the input */
 } enriched_tags[] = {
        { "bold",        "<b>",                 FALSE, NULL               },
        { "/bold",       "</b>",                FALSE, NULL               },
@@ -126,7 +126,8 @@ static const gchar *valid_colors[] = {
 };
 
 static gchar *
-param_parse_color (const gchar *inptr, gint inlen)
+param_parse_color (const gchar *inptr,
+                   gint inlen)
 {
        const gchar *inend, *end;
        guint32 rgb = 0;
@@ -171,7 +172,8 @@ param_parse_color (const gchar *inptr, gint inlen)
 }
 
 static gchar *
-param_parse_font (const gchar *fontfamily, gint inlen)
+param_parse_font (const gchar *fontfamily,
+                  gint inlen)
 {
        register const gchar *inptr = fontfamily;
        const gchar *inend = inptr + inlen;
@@ -184,7 +186,8 @@ param_parse_font (const gchar *fontfamily, gint inlen)
 }
 
 static gchar *
-param_parse_lang (const gchar *lang, gint inlen)
+param_parse_lang (const gchar *lang,
+                  gint inlen)
 {
        register const gchar *inptr = lang;
        const gchar *inend = inptr + inlen;
@@ -197,7 +200,9 @@ param_parse_lang (const gchar *lang, gint inlen)
 }
 
 static gchar *
-param_parse (const gchar *enriched, const gchar *inptr, gint inlen)
+param_parse (const gchar *enriched,
+             const gchar *inptr,
+             gint inlen)
 {
        gint i;
 
@@ -453,8 +458,8 @@ enriched_to_html (CamelMimeFilter *mime_filter,
  need_input:
 
        /* the reason we ignore @flush here is because if there isn't
-           enough input to parse a tag, then there's nothing we can
-           do. */
+        * enough input to parse a tag, then there's nothing we can
+        * do. */
 
        if (inptr < inend)
                camel_mime_filter_backup (mime_filter, inptr, (unsigned) (inend - inptr));
@@ -587,7 +592,8 @@ camel_mime_filter_enriched_new (guint32 flags)
  * richtext version of @in.
  **/
 gchar *
-camel_enriched_to_html (const gchar *in, guint32 flags)
+camel_enriched_to_html (const gchar *in,
+                        guint32 flags)
 {
        CamelMimeFilter *filter;
        gsize outlen, outpre;
@@ -598,7 +604,7 @@ camel_enriched_to_html (const gchar *in, guint32 flags)
 
        filter = camel_mime_filter_enriched_new (flags);
 
-       camel_mime_filter_complete (filter, (gchar *)in, strlen (in), 0, &outbuf, &outlen, &outpre);
+       camel_mime_filter_complete (filter, (gchar *) in, strlen (in), 0, &outbuf, &outlen, &outpre);
        outbuf = g_strndup (outbuf, outlen);
        g_object_unref (filter);