as-enums

as-enums — Some enums used by various other modules

Functions

Types and Values

enum AsUrlKind

Includes

#include <appstream.h>

Description

Functions

as_url_kind_to_string ()

const gchar *
as_url_kind_to_string (AsUrlKind url_kind);

Converts the enumerated value to an text representation.

Parameters

url_kind

the AsUrlKind.

 

Returns

string version of url_kind


as_url_kind_from_string ()

AsUrlKind
as_url_kind_from_string (const gchar *url_kind);

Converts the text representation to an enumerated value.

Parameters

url_kind

the string.

 

Returns

a AsUrlKind or AS_URL_KIND_UNKNOWN for unknown

Types and Values

enum AsUrlKind

The URL type.

Members

AS_URL_KIND_UNKNOWN

Type invalid or not known

 

AS_URL_KIND_HOMEPAGE

Project homepage

 

AS_URL_KIND_BUGTRACKER

Bugtracker

 

AS_URL_KIND_FAQ

FAQ page

 

AS_URL_KIND_HELP

Help manual

 

AS_URL_KIND_DONATION

Page with information about how to donate to the project

 

AS_URL_KIND_LAST