as-utils

as-utils — Helper functions that are used inside libappstream-glib

Stability Level

Stable, unless otherwise indicated

Functions

Object Hierarchy


Includes

#include <appstream-glib.h>

Description

These functions are used internally to libappstream-glib, and some may be useful to user-applications.

Functions

as_markup_convert_simple ()

gchar *
as_markup_convert_simple (const gchar *markup,
                          gssize markup_len,
                          GError **error);

Converts an XML description into a printable form.

Parameters

markup

the text to copy.

 

markup_len

the length of markup , or -1 if markup is NULL terminated.

 

error

A GError or NULL

 

Returns

a newly allocated NULL terminated string.

[transfer full]

Since 0.1.0

Types and Values