Top |
Functions
AsRequire * | as_require_new () |
AsRequireKind | as_require_kind_from_string () |
const gchar * | as_require_kind_to_string () |
AsRequireCompare | as_require_compare_from_string () |
const gchar * | as_require_compare_to_string () |
AsRequireKind | as_require_get_kind () |
AsRequireCompare | as_require_get_compare () |
const gchar * | as_require_get_version () |
const gchar * | as_require_get_value () |
void | as_require_set_kind () |
void | as_require_set_compare () |
void | as_require_set_version () |
void | as_require_set_value () |
gboolean | as_require_version_compare () |
gboolean | as_require_equal () |
Types and Values
#define | AS_TYPE_REQUIRE |
struct | AsRequireClass |
enum | AsRequireKind |
enum | AsRequireCompare |
AsRequire |
Functions
as_require_kind_from_string ()
AsRequireKind
as_require_kind_from_string (const gchar *kind
);
Converts the text representation to an enumerated value.
Since: 0.6.7
as_require_kind_to_string ()
const gchar *
as_require_kind_to_string (AsRequireKind kind
);
Converts the enumerated value to an text representation.
Since: 0.6.7
as_require_compare_from_string ()
AsRequireCompare
as_require_compare_from_string (const gchar *compare
);
Converts the text representation to an enumerated value.
Since: 0.6.7
as_require_compare_to_string ()
const gchar *
as_require_compare_to_string (AsRequireCompare compare
);
Converts the enumerated value to an text representation.
Since: 0.6.7
as_require_get_kind ()
AsRequireKind
as_require_get_kind (AsRequire *require
);
Gets the require kind.
Since: 0.6.7
as_require_get_compare ()
AsRequireCompare
as_require_get_compare (AsRequire *require
);
Gets the require version comparison type.
Since: 0.6.7
as_require_get_version ()
const gchar *
as_require_get_version (AsRequire *require
);
Gets the require version if set.
Since: 0.6.7
as_require_get_value ()
const gchar *
as_require_get_value (AsRequire *require
);
Gets the require value if set.
Since: 0.6.7
as_require_set_kind ()
void as_require_set_kind (AsRequire *require
,AsRequireKind kind
);
Sets the require kind.
Since: 0.6.7
as_require_set_compare ()
void as_require_set_compare (AsRequire *require
,AsRequireCompare compare
);
Sets the require version comparison type.
Since: 0.6.7
as_require_set_version ()
void as_require_set_version (AsRequire *require
,const gchar *version
);
Sets the require version.
Since: 0.6.7
as_require_set_value ()
void as_require_set_value (AsRequire *require
,const gchar *value
);
Sets the require value.
Since: 0.6.7
as_require_version_compare ()
gboolean as_require_version_compare (AsRequire *require
,const gchar *version
,GError **error
);
Compares the version number of the requirement with a predicate.
Parameters
require |
a AsRequire instance. |
|
version |
a version number, e.g. |
|
error |
A GError or |
Since: 0.6.7
Types and Values
enum AsRequireKind
The require type.
enum AsRequireCompare
The relational comparison type.