libappstream_sys/
lib.rs

1// Generated by gir (https://github.com/gtk-rs/gir @ be9aa145267c)
2// from
3// from gir-files (https://github.com/gtk-rs/gir-files.git @ 1490bcc19dc8)
4// DO NOT EDIT
5
6#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
7#![allow(
8    clippy::approx_constant,
9    clippy::type_complexity,
10    clippy::unreadable_literal,
11    clippy::upper_case_acronyms
12)]
13#![cfg_attr(docsrs, feature(doc_cfg))]
14
15use gio_sys as gio;
16use glib_sys as glib;
17use gobject_sys as gobject;
18
19mod manual;
20
21pub use manual::*;
22
23#[cfg(unix)]
24#[allow(unused_imports)]
25use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t};
26#[allow(unused_imports)]
27use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE};
28#[allow(unused_imports)]
29use std::ffi::{
30    c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
31};
32
33#[allow(unused_imports)]
34use glib::{gboolean, gconstpointer, gpointer, GType};
35
36// Enums
37pub type AsAgreementKind = c_int;
38pub const AS_AGREEMENT_KIND_UNKNOWN: AsAgreementKind = 0;
39pub const AS_AGREEMENT_KIND_GENERIC: AsAgreementKind = 1;
40pub const AS_AGREEMENT_KIND_EULA: AsAgreementKind = 2;
41pub const AS_AGREEMENT_KIND_PRIVACY: AsAgreementKind = 3;
42
43pub type AsArtifactKind = c_int;
44pub const AS_ARTIFACT_KIND_UNKNOWN: AsArtifactKind = 0;
45pub const AS_ARTIFACT_KIND_SOURCE: AsArtifactKind = 1;
46pub const AS_ARTIFACT_KIND_BINARY: AsArtifactKind = 2;
47
48pub type AsBundleKind = c_int;
49pub const AS_BUNDLE_KIND_UNKNOWN: AsBundleKind = 0;
50pub const AS_BUNDLE_KIND_PACKAGE: AsBundleKind = 1;
51pub const AS_BUNDLE_KIND_LIMBA: AsBundleKind = 2;
52pub const AS_BUNDLE_KIND_FLATPAK: AsBundleKind = 3;
53pub const AS_BUNDLE_KIND_APPIMAGE: AsBundleKind = 4;
54pub const AS_BUNDLE_KIND_SNAP: AsBundleKind = 5;
55pub const AS_BUNDLE_KIND_TARBALL: AsBundleKind = 6;
56pub const AS_BUNDLE_KIND_CABINET: AsBundleKind = 7;
57pub const AS_BUNDLE_KIND_LINGLONG: AsBundleKind = 8;
58pub const AS_BUNDLE_KIND_SYSUPDATE: AsBundleKind = 9;
59
60pub type AsChassisKind = c_int;
61pub const AS_CHASSIS_KIND_UNKNOWN: AsChassisKind = 0;
62pub const AS_CHASSIS_KIND_DESKTOP: AsChassisKind = 1;
63pub const AS_CHASSIS_KIND_LAPTOP: AsChassisKind = 2;
64pub const AS_CHASSIS_KIND_SERVER: AsChassisKind = 3;
65pub const AS_CHASSIS_KIND_TABLET: AsChassisKind = 4;
66pub const AS_CHASSIS_KIND_HANDSET: AsChassisKind = 5;
67
68pub type AsCheckResult = c_int;
69pub const AS_CHECK_RESULT_ERROR: AsCheckResult = 0;
70pub const AS_CHECK_RESULT_UNKNOWN: AsCheckResult = 1;
71pub const AS_CHECK_RESULT_FALSE: AsCheckResult = 2;
72pub const AS_CHECK_RESULT_TRUE: AsCheckResult = 3;
73
74pub type AsChecksumKind = c_int;
75pub const AS_CHECKSUM_KIND_NONE: AsChecksumKind = 0;
76pub const AS_CHECKSUM_KIND_SHA1: AsChecksumKind = 1;
77pub const AS_CHECKSUM_KIND_SHA256: AsChecksumKind = 2;
78pub const AS_CHECKSUM_KIND_SHA512: AsChecksumKind = 3;
79pub const AS_CHECKSUM_KIND_BLAKE2B: AsChecksumKind = 4;
80pub const AS_CHECKSUM_KIND_BLAKE3: AsChecksumKind = 5;
81
82pub type AsColorKind = c_int;
83pub const AS_COLOR_KIND_UNKNOWN: AsColorKind = 0;
84pub const AS_COLOR_KIND_PRIMARY: AsColorKind = 1;
85
86pub type AsColorSchemeKind = c_int;
87pub const AS_COLOR_SCHEME_KIND_UNKNOWN: AsColorSchemeKind = 0;
88pub const AS_COLOR_SCHEME_KIND_LIGHT: AsColorSchemeKind = 1;
89pub const AS_COLOR_SCHEME_KIND_DARK: AsColorSchemeKind = 2;
90
91pub type AsComponentKind = c_int;
92pub const AS_COMPONENT_KIND_UNKNOWN: AsComponentKind = 0;
93pub const AS_COMPONENT_KIND_GENERIC: AsComponentKind = 1;
94pub const AS_COMPONENT_KIND_DESKTOP_APP: AsComponentKind = 2;
95pub const AS_COMPONENT_KIND_CONSOLE_APP: AsComponentKind = 3;
96pub const AS_COMPONENT_KIND_WEB_APP: AsComponentKind = 4;
97pub const AS_COMPONENT_KIND_SERVICE: AsComponentKind = 5;
98pub const AS_COMPONENT_KIND_ADDON: AsComponentKind = 6;
99pub const AS_COMPONENT_KIND_RUNTIME: AsComponentKind = 7;
100pub const AS_COMPONENT_KIND_FONT: AsComponentKind = 8;
101pub const AS_COMPONENT_KIND_CODEC: AsComponentKind = 9;
102pub const AS_COMPONENT_KIND_INPUT_METHOD: AsComponentKind = 10;
103pub const AS_COMPONENT_KIND_OPERATING_SYSTEM: AsComponentKind = 11;
104pub const AS_COMPONENT_KIND_FIRMWARE: AsComponentKind = 12;
105pub const AS_COMPONENT_KIND_DRIVER: AsComponentKind = 13;
106pub const AS_COMPONENT_KIND_LOCALIZATION: AsComponentKind = 14;
107pub const AS_COMPONENT_KIND_REPOSITORY: AsComponentKind = 15;
108pub const AS_COMPONENT_KIND_ICON_THEME: AsComponentKind = 16;
109
110pub type AsComponentScope = c_int;
111pub const AS_COMPONENT_SCOPE_UNKNOWN: AsComponentScope = 0;
112pub const AS_COMPONENT_SCOPE_SYSTEM: AsComponentScope = 1;
113pub const AS_COMPONENT_SCOPE_USER: AsComponentScope = 2;
114
115pub type AsContentRatingSystem = c_int;
116pub const AS_CONTENT_RATING_SYSTEM_UNKNOWN: AsContentRatingSystem = 0;
117pub const AS_CONTENT_RATING_SYSTEM_INCAA: AsContentRatingSystem = 1;
118pub const AS_CONTENT_RATING_SYSTEM_ACB: AsContentRatingSystem = 2;
119pub const AS_CONTENT_RATING_SYSTEM_DJCTQ: AsContentRatingSystem = 3;
120pub const AS_CONTENT_RATING_SYSTEM_GSRR: AsContentRatingSystem = 4;
121pub const AS_CONTENT_RATING_SYSTEM_PEGI: AsContentRatingSystem = 5;
122pub const AS_CONTENT_RATING_SYSTEM_KAVI: AsContentRatingSystem = 6;
123pub const AS_CONTENT_RATING_SYSTEM_USK: AsContentRatingSystem = 7;
124pub const AS_CONTENT_RATING_SYSTEM_ESRA: AsContentRatingSystem = 8;
125pub const AS_CONTENT_RATING_SYSTEM_CERO: AsContentRatingSystem = 9;
126pub const AS_CONTENT_RATING_SYSTEM_OFLCNZ: AsContentRatingSystem = 10;
127pub const AS_CONTENT_RATING_SYSTEM_RUSSIA: AsContentRatingSystem = 11;
128pub const AS_CONTENT_RATING_SYSTEM_MDA: AsContentRatingSystem = 12;
129pub const AS_CONTENT_RATING_SYSTEM_GRAC: AsContentRatingSystem = 13;
130pub const AS_CONTENT_RATING_SYSTEM_ESRB: AsContentRatingSystem = 14;
131pub const AS_CONTENT_RATING_SYSTEM_IARC: AsContentRatingSystem = 15;
132
133pub type AsContentRatingValue = c_int;
134pub const AS_CONTENT_RATING_VALUE_UNKNOWN: AsContentRatingValue = 0;
135pub const AS_CONTENT_RATING_VALUE_NONE: AsContentRatingValue = 1;
136pub const AS_CONTENT_RATING_VALUE_MILD: AsContentRatingValue = 2;
137pub const AS_CONTENT_RATING_VALUE_MODERATE: AsContentRatingValue = 3;
138pub const AS_CONTENT_RATING_VALUE_INTENSE: AsContentRatingValue = 4;
139
140pub type AsControlKind = c_int;
141pub const AS_CONTROL_KIND_UNKNOWN: AsControlKind = 0;
142pub const AS_CONTROL_KIND_POINTING: AsControlKind = 1;
143pub const AS_CONTROL_KIND_KEYBOARD: AsControlKind = 2;
144pub const AS_CONTROL_KIND_CONSOLE: AsControlKind = 3;
145pub const AS_CONTROL_KIND_TOUCH: AsControlKind = 4;
146pub const AS_CONTROL_KIND_GAMEPAD: AsControlKind = 5;
147pub const AS_CONTROL_KIND_VOICE: AsControlKind = 6;
148pub const AS_CONTROL_KIND_VISION: AsControlKind = 7;
149pub const AS_CONTROL_KIND_TV_REMOTE: AsControlKind = 8;
150pub const AS_CONTROL_KIND_TABLET: AsControlKind = 9;
151
152pub type AsDisplaySideKind = c_int;
153pub const AS_DISPLAY_SIDE_KIND_UNKNOWN: AsDisplaySideKind = 0;
154pub const AS_DISPLAY_SIDE_KIND_SHORTEST: AsDisplaySideKind = 1;
155pub const AS_DISPLAY_SIDE_KIND_LONGEST: AsDisplaySideKind = 2;
156
157pub type AsFormatKind = c_int;
158pub const AS_FORMAT_KIND_UNKNOWN: AsFormatKind = 0;
159pub const AS_FORMAT_KIND_XML: AsFormatKind = 1;
160pub const AS_FORMAT_KIND_YAML: AsFormatKind = 2;
161pub const AS_FORMAT_KIND_DESKTOP_ENTRY: AsFormatKind = 3;
162
163pub type AsFormatStyle = c_int;
164pub const AS_FORMAT_STYLE_UNKNOWN: AsFormatStyle = 0;
165pub const AS_FORMAT_STYLE_METAINFO: AsFormatStyle = 1;
166pub const AS_FORMAT_STYLE_CATALOG: AsFormatStyle = 2;
167
168pub type AsFormatVersion = c_int;
169pub const AS_FORMAT_VERSION_UNKNOWN: AsFormatVersion = 0;
170pub const AS_FORMAT_VERSION_V1_0: AsFormatVersion = 1;
171
172pub type AsIconKind = c_int;
173pub const AS_ICON_KIND_UNKNOWN: AsIconKind = 0;
174pub const AS_ICON_KIND_STOCK: AsIconKind = 1;
175pub const AS_ICON_KIND_CACHED: AsIconKind = 2;
176pub const AS_ICON_KIND_LOCAL: AsIconKind = 3;
177pub const AS_ICON_KIND_REMOTE: AsIconKind = 4;
178
179pub type AsImageKind = c_int;
180pub const AS_IMAGE_KIND_UNKNOWN: AsImageKind = 0;
181pub const AS_IMAGE_KIND_SOURCE: AsImageKind = 1;
182pub const AS_IMAGE_KIND_THUMBNAIL: AsImageKind = 2;
183
184pub type AsInternetKind = c_int;
185pub const AS_INTERNET_KIND_UNKNOWN: AsInternetKind = 0;
186pub const AS_INTERNET_KIND_ALWAYS: AsInternetKind = 1;
187pub const AS_INTERNET_KIND_OFFLINE_ONLY: AsInternetKind = 2;
188pub const AS_INTERNET_KIND_FIRST_RUN: AsInternetKind = 3;
189
190pub type AsIssueKind = c_int;
191pub const AS_ISSUE_KIND_UNKNOWN: AsIssueKind = 0;
192pub const AS_ISSUE_KIND_GENERIC: AsIssueKind = 1;
193pub const AS_ISSUE_KIND_CVE: AsIssueKind = 2;
194
195pub type AsIssueSeverity = c_int;
196pub const AS_ISSUE_SEVERITY_UNKNOWN: AsIssueSeverity = 0;
197pub const AS_ISSUE_SEVERITY_PEDANTIC: AsIssueSeverity = 1;
198pub const AS_ISSUE_SEVERITY_INFO: AsIssueSeverity = 2;
199pub const AS_ISSUE_SEVERITY_WARNING: AsIssueSeverity = 3;
200pub const AS_ISSUE_SEVERITY_ERROR: AsIssueSeverity = 4;
201
202pub type AsLaunchableKind = c_int;
203pub const AS_LAUNCHABLE_KIND_UNKNOWN: AsLaunchableKind = 0;
204pub const AS_LAUNCHABLE_KIND_DESKTOP_ID: AsLaunchableKind = 1;
205pub const AS_LAUNCHABLE_KIND_SERVICE: AsLaunchableKind = 2;
206pub const AS_LAUNCHABLE_KIND_COCKPIT_MANIFEST: AsLaunchableKind = 3;
207pub const AS_LAUNCHABLE_KIND_URL: AsLaunchableKind = 4;
208
209pub type AsMarkupKind = c_int;
210pub const AS_MARKUP_KIND_UNKNOWN: AsMarkupKind = 0;
211pub const AS_MARKUP_KIND_XML: AsMarkupKind = 1;
212pub const AS_MARKUP_KIND_TEXT: AsMarkupKind = 2;
213pub const AS_MARKUP_KIND_MARKDOWN: AsMarkupKind = 3;
214
215pub type AsMergeKind = c_int;
216pub const AS_MERGE_KIND_NONE: AsMergeKind = 0;
217pub const AS_MERGE_KIND_REPLACE: AsMergeKind = 1;
218pub const AS_MERGE_KIND_APPEND: AsMergeKind = 2;
219pub const AS_MERGE_KIND_REMOVE_COMPONENT: AsMergeKind = 3;
220
221pub type AsMetadataError = c_int;
222pub const AS_METADATA_ERROR_FAILED: AsMetadataError = 0;
223pub const AS_METADATA_ERROR_PARSE: AsMetadataError = 1;
224pub const AS_METADATA_ERROR_FORMAT_UNEXPECTED: AsMetadataError = 2;
225pub const AS_METADATA_ERROR_NO_COMPONENT: AsMetadataError = 3;
226pub const AS_METADATA_ERROR_VALUE_MISSING: AsMetadataError = 4;
227
228pub type AsMetadataLocation = c_int;
229pub const AS_METADATA_LOCATION_UNKNOWN: AsMetadataLocation = 0;
230pub const AS_METADATA_LOCATION_SHARED: AsMetadataLocation = 1;
231pub const AS_METADATA_LOCATION_STATE: AsMetadataLocation = 2;
232pub const AS_METADATA_LOCATION_CACHE: AsMetadataLocation = 3;
233pub const AS_METADATA_LOCATION_USER: AsMetadataLocation = 4;
234
235pub type AsPoolError = c_int;
236pub const AS_POOL_ERROR_FAILED: AsPoolError = 0;
237pub const AS_POOL_ERROR_INCOMPLETE: AsPoolError = 1;
238pub const AS_POOL_ERROR_COLLISION: AsPoolError = 2;
239pub const AS_POOL_ERROR_CACHE_WRITE_FAILED: AsPoolError = 3;
240pub const AS_POOL_ERROR_CACHE_DAMAGED: AsPoolError = 4;
241
242pub type AsProvidedKind = c_int;
243pub const AS_PROVIDED_KIND_UNKNOWN: AsProvidedKind = 0;
244pub const AS_PROVIDED_KIND_LIBRARY: AsProvidedKind = 1;
245pub const AS_PROVIDED_KIND_BINARY: AsProvidedKind = 2;
246pub const AS_PROVIDED_KIND_MEDIATYPE: AsProvidedKind = 3;
247pub const AS_PROVIDED_KIND_FONT: AsProvidedKind = 4;
248pub const AS_PROVIDED_KIND_MODALIAS: AsProvidedKind = 5;
249pub const AS_PROVIDED_KIND_PYTHON: AsProvidedKind = 6;
250pub const AS_PROVIDED_KIND_DBUS_SYSTEM: AsProvidedKind = 7;
251pub const AS_PROVIDED_KIND_DBUS_USER: AsProvidedKind = 8;
252pub const AS_PROVIDED_KIND_FIRMWARE_RUNTIME: AsProvidedKind = 9;
253pub const AS_PROVIDED_KIND_FIRMWARE_FLASHED: AsProvidedKind = 10;
254pub const AS_PROVIDED_KIND_ID: AsProvidedKind = 11;
255
256pub type AsReferenceKind = c_int;
257pub const AS_REFERENCE_KIND_UNKNOWN: AsReferenceKind = 0;
258pub const AS_REFERENCE_KIND_DOI: AsReferenceKind = 1;
259pub const AS_REFERENCE_KIND_CITATION_CFF: AsReferenceKind = 2;
260pub const AS_REFERENCE_KIND_REGISTRY: AsReferenceKind = 3;
261
262pub type AsRelationCompare = c_int;
263pub const AS_RELATION_COMPARE_UNKNOWN: AsRelationCompare = 0;
264pub const AS_RELATION_COMPARE_EQ: AsRelationCompare = 1;
265pub const AS_RELATION_COMPARE_NE: AsRelationCompare = 2;
266pub const AS_RELATION_COMPARE_LT: AsRelationCompare = 3;
267pub const AS_RELATION_COMPARE_GT: AsRelationCompare = 4;
268pub const AS_RELATION_COMPARE_LE: AsRelationCompare = 5;
269pub const AS_RELATION_COMPARE_GE: AsRelationCompare = 6;
270
271pub type AsRelationError = c_int;
272pub const AS_RELATION_ERROR_FAILED: AsRelationError = 0;
273pub const AS_RELATION_ERROR_BAD_VALUE: AsRelationError = 1;
274pub const AS_RELATION_ERROR_NOT_IMPLEMENTED: AsRelationError = 2;
275
276pub type AsRelationItemKind = c_int;
277pub const AS_RELATION_ITEM_KIND_UNKNOWN: AsRelationItemKind = 0;
278pub const AS_RELATION_ITEM_KIND_ID: AsRelationItemKind = 1;
279pub const AS_RELATION_ITEM_KIND_MODALIAS: AsRelationItemKind = 2;
280pub const AS_RELATION_ITEM_KIND_KERNEL: AsRelationItemKind = 3;
281pub const AS_RELATION_ITEM_KIND_MEMORY: AsRelationItemKind = 4;
282pub const AS_RELATION_ITEM_KIND_FIRMWARE: AsRelationItemKind = 5;
283pub const AS_RELATION_ITEM_KIND_CONTROL: AsRelationItemKind = 6;
284pub const AS_RELATION_ITEM_KIND_DISPLAY_LENGTH: AsRelationItemKind = 7;
285pub const AS_RELATION_ITEM_KIND_HARDWARE: AsRelationItemKind = 8;
286pub const AS_RELATION_ITEM_KIND_INTERNET: AsRelationItemKind = 9;
287
288pub type AsRelationKind = c_int;
289pub const AS_RELATION_KIND_UNKNOWN: AsRelationKind = 0;
290pub const AS_RELATION_KIND_REQUIRES: AsRelationKind = 1;
291pub const AS_RELATION_KIND_RECOMMENDS: AsRelationKind = 2;
292pub const AS_RELATION_KIND_SUPPORTS: AsRelationKind = 3;
293
294pub type AsRelationStatus = c_int;
295pub const AS_RELATION_STATUS_UNKNOWN: AsRelationStatus = 0;
296pub const AS_RELATION_STATUS_ERROR: AsRelationStatus = 1;
297pub const AS_RELATION_STATUS_NOT_SATISFIED: AsRelationStatus = 2;
298pub const AS_RELATION_STATUS_SATISFIED: AsRelationStatus = 3;
299
300pub type AsReleaseKind = c_int;
301pub const AS_RELEASE_KIND_UNKNOWN: AsReleaseKind = 0;
302pub const AS_RELEASE_KIND_STABLE: AsReleaseKind = 1;
303pub const AS_RELEASE_KIND_DEVELOPMENT: AsReleaseKind = 2;
304pub const AS_RELEASE_KIND_SNAPSHOT: AsReleaseKind = 3;
305
306pub type AsReleaseListKind = c_int;
307pub const AS_RELEASE_LIST_KIND_UNKNOWN: AsReleaseListKind = 0;
308pub const AS_RELEASE_LIST_KIND_EMBEDDED: AsReleaseListKind = 1;
309pub const AS_RELEASE_LIST_KIND_EXTERNAL: AsReleaseListKind = 2;
310
311pub type AsReleaseUrlKind = c_int;
312pub const AS_RELEASE_URL_KIND_UNKNOWN: AsReleaseUrlKind = 0;
313pub const AS_RELEASE_URL_KIND_DETAILS: AsReleaseUrlKind = 1;
314
315pub type AsScreenshotKind = c_int;
316pub const AS_SCREENSHOT_KIND_UNKNOWN: AsScreenshotKind = 0;
317pub const AS_SCREENSHOT_KIND_DEFAULT: AsScreenshotKind = 1;
318pub const AS_SCREENSHOT_KIND_EXTRA: AsScreenshotKind = 2;
319
320pub type AsScreenshotMediaKind = c_int;
321pub const AS_SCREENSHOT_MEDIA_KIND_UNKNOWN: AsScreenshotMediaKind = 0;
322pub const AS_SCREENSHOT_MEDIA_KIND_IMAGE: AsScreenshotMediaKind = 1;
323pub const AS_SCREENSHOT_MEDIA_KIND_VIDEO: AsScreenshotMediaKind = 2;
324
325pub type AsSizeKind = c_int;
326pub const AS_SIZE_KIND_UNKNOWN: AsSizeKind = 0;
327pub const AS_SIZE_KIND_DOWNLOAD: AsSizeKind = 1;
328pub const AS_SIZE_KIND_INSTALLED: AsSizeKind = 2;
329
330pub type AsSuggestedKind = c_int;
331pub const AS_SUGGESTED_KIND_UNKNOWN: AsSuggestedKind = 0;
332pub const AS_SUGGESTED_KIND_UPSTREAM: AsSuggestedKind = 1;
333pub const AS_SUGGESTED_KIND_HEURISTIC: AsSuggestedKind = 2;
334
335pub type AsSystemInfoError = c_int;
336pub const AS_SYSTEM_INFO_ERROR_FAILED: AsSystemInfoError = 0;
337pub const AS_SYSTEM_INFO_ERROR_NOT_FOUND: AsSystemInfoError = 1;
338
339pub type AsTranslationKind = c_int;
340pub const AS_TRANSLATION_KIND_UNKNOWN: AsTranslationKind = 0;
341pub const AS_TRANSLATION_KIND_GETTEXT: AsTranslationKind = 1;
342pub const AS_TRANSLATION_KIND_QT: AsTranslationKind = 2;
343
344pub type AsUrgencyKind = c_int;
345pub const AS_URGENCY_KIND_UNKNOWN: AsUrgencyKind = 0;
346pub const AS_URGENCY_KIND_LOW: AsUrgencyKind = 1;
347pub const AS_URGENCY_KIND_MEDIUM: AsUrgencyKind = 2;
348pub const AS_URGENCY_KIND_HIGH: AsUrgencyKind = 3;
349pub const AS_URGENCY_KIND_CRITICAL: AsUrgencyKind = 4;
350
351pub type AsUrlKind = c_int;
352pub const AS_URL_KIND_UNKNOWN: AsUrlKind = 0;
353pub const AS_URL_KIND_HOMEPAGE: AsUrlKind = 1;
354pub const AS_URL_KIND_BUGTRACKER: AsUrlKind = 2;
355pub const AS_URL_KIND_FAQ: AsUrlKind = 3;
356pub const AS_URL_KIND_HELP: AsUrlKind = 4;
357pub const AS_URL_KIND_DONATION: AsUrlKind = 5;
358pub const AS_URL_KIND_TRANSLATE: AsUrlKind = 6;
359pub const AS_URL_KIND_CONTACT: AsUrlKind = 7;
360pub const AS_URL_KIND_VCS_BROWSER: AsUrlKind = 8;
361pub const AS_URL_KIND_CONTRIBUTE: AsUrlKind = 9;
362
363pub type AsUtilsError = c_int;
364pub const AS_UTILS_ERROR_FAILED: AsUtilsError = 0;
365
366pub type AsValidatorError = c_int;
367pub const AS_VALIDATOR_ERROR_FAILED: AsValidatorError = 0;
368pub const AS_VALIDATOR_ERROR_INVALID_OVERRIDE: AsValidatorError = 1;
369pub const AS_VALIDATOR_ERROR_INVALID_FILENAME: AsValidatorError = 2;
370
371pub type AsVideoCodecKind = c_int;
372pub const AS_VIDEO_CODEC_KIND_UNKNOWN: AsVideoCodecKind = 0;
373pub const AS_VIDEO_CODEC_KIND_VP9: AsVideoCodecKind = 1;
374pub const AS_VIDEO_CODEC_KIND_AV1: AsVideoCodecKind = 2;
375
376pub type AsVideoContainerKind = c_int;
377pub const AS_VIDEO_CONTAINER_KIND_UNKNOWN: AsVideoContainerKind = 0;
378pub const AS_VIDEO_CONTAINER_KIND_MKV: AsVideoContainerKind = 1;
379pub const AS_VIDEO_CONTAINER_KIND_WEBM: AsVideoContainerKind = 2;
380
381// Constants
382
383// Flags
384pub type AsCacheFlags = c_uint;
385pub const AS_CACHE_FLAG_NONE: AsCacheFlags = 0;
386pub const AS_CACHE_FLAG_USE_USER: AsCacheFlags = 1;
387pub const AS_CACHE_FLAG_USE_SYSTEM: AsCacheFlags = 2;
388pub const AS_CACHE_FLAG_NO_CLEAR: AsCacheFlags = 4;
389pub const AS_CACHE_FLAG_REFRESH_SYSTEM: AsCacheFlags = 8;
390
391pub type AsComponentBoxFlags = c_uint;
392pub const AS_COMPONENT_BOX_FLAG_NONE: AsComponentBoxFlags = 0;
393pub const AS_COMPONENT_BOX_FLAG_NO_CHECKS: AsComponentBoxFlags = 1;
394
395pub type AsDataIdMatchFlags = c_uint;
396pub const AS_DATA_ID_MATCH_FLAG_NONE: AsDataIdMatchFlags = 0;
397pub const AS_DATA_ID_MATCH_FLAG_SCOPE: AsDataIdMatchFlags = 1;
398pub const AS_DATA_ID_MATCH_FLAG_BUNDLE_KIND: AsDataIdMatchFlags = 2;
399pub const AS_DATA_ID_MATCH_FLAG_ORIGIN: AsDataIdMatchFlags = 4;
400pub const AS_DATA_ID_MATCH_FLAG_ID: AsDataIdMatchFlags = 8;
401pub const AS_DATA_ID_MATCH_FLAG_BRANCH: AsDataIdMatchFlags = 16;
402
403pub type AsParseFlags = c_uint;
404pub const AS_PARSE_FLAG_NONE: AsParseFlags = 0;
405pub const AS_PARSE_FLAG_IGNORE_MEDIABASEURL: AsParseFlags = 1;
406
407pub type AsPoolFlags = c_uint;
408pub const AS_POOL_FLAG_NONE: AsPoolFlags = 0;
409pub const AS_POOL_FLAG_LOAD_OS_CATALOG: AsPoolFlags = 1;
410pub const AS_POOL_FLAG_LOAD_OS_METAINFO: AsPoolFlags = 2;
411pub const AS_POOL_FLAG_LOAD_OS_DESKTOP_FILES: AsPoolFlags = 4;
412pub const AS_POOL_FLAG_LOAD_FLATPAK: AsPoolFlags = 8;
413pub const AS_POOL_FLAG_IGNORE_CACHE_AGE: AsPoolFlags = 16;
414pub const AS_POOL_FLAG_RESOLVE_ADDONS: AsPoolFlags = 32;
415pub const AS_POOL_FLAG_PREFER_OS_METAINFO: AsPoolFlags = 64;
416pub const AS_POOL_FLAG_MONITOR: AsPoolFlags = 128;
417
418pub type AsReviewFlags = c_uint;
419pub const AS_REVIEW_FLAG_NONE: AsReviewFlags = 0;
420pub const AS_REVIEW_FLAG_SELF: AsReviewFlags = 1;
421pub const AS_REVIEW_FLAG_VOTED: AsReviewFlags = 2;
422
423pub type AsValueFlags = c_uint;
424pub const AS_VALUE_FLAG_NONE: AsValueFlags = 0;
425pub const AS_VALUE_FLAG_DUPLICATE_CHECK: AsValueFlags = 1;
426pub const AS_VALUE_FLAG_NO_TRANSLATION_FALLBACK: AsValueFlags = 2;
427
428pub type AsVercmpFlags = c_uint;
429pub const AS_VERCMP_FLAG_NONE: AsVercmpFlags = 0;
430pub const AS_VERCMP_FLAG_IGNORE_EPOCH: AsVercmpFlags = 1;
431
432// Records
433#[derive(Copy, Clone)]
434#[repr(C)]
435pub struct AsAgreementClass {
436    pub parent_class: gobject::GObjectClass,
437    pub _as_reserved1: Option<unsafe extern "C" fn()>,
438    pub _as_reserved2: Option<unsafe extern "C" fn()>,
439    pub _as_reserved3: Option<unsafe extern "C" fn()>,
440    pub _as_reserved4: Option<unsafe extern "C" fn()>,
441    pub _as_reserved5: Option<unsafe extern "C" fn()>,
442    pub _as_reserved6: Option<unsafe extern "C" fn()>,
443    pub _as_reserved7: Option<unsafe extern "C" fn()>,
444    pub _as_reserved8: Option<unsafe extern "C" fn()>,
445}
446
447impl ::std::fmt::Debug for AsAgreementClass {
448    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
449        f.debug_struct(&format!("AsAgreementClass @ {self:p}"))
450            .field("parent_class", &self.parent_class)
451            .field("_as_reserved1", &self._as_reserved1)
452            .field("_as_reserved2", &self._as_reserved2)
453            .field("_as_reserved3", &self._as_reserved3)
454            .field("_as_reserved4", &self._as_reserved4)
455            .field("_as_reserved5", &self._as_reserved5)
456            .field("_as_reserved6", &self._as_reserved6)
457            .field("_as_reserved7", &self._as_reserved7)
458            .field("_as_reserved8", &self._as_reserved8)
459            .finish()
460    }
461}
462
463#[derive(Copy, Clone)]
464#[repr(C)]
465pub struct AsAgreementSectionClass {
466    pub parent_class: gobject::GObjectClass,
467    pub _as_reserved1: Option<unsafe extern "C" fn()>,
468    pub _as_reserved2: Option<unsafe extern "C" fn()>,
469    pub _as_reserved3: Option<unsafe extern "C" fn()>,
470    pub _as_reserved4: Option<unsafe extern "C" fn()>,
471    pub _as_reserved5: Option<unsafe extern "C" fn()>,
472    pub _as_reserved6: Option<unsafe extern "C" fn()>,
473    pub _as_reserved7: Option<unsafe extern "C" fn()>,
474    pub _as_reserved8: Option<unsafe extern "C" fn()>,
475}
476
477impl ::std::fmt::Debug for AsAgreementSectionClass {
478    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
479        f.debug_struct(&format!("AsAgreementSectionClass @ {self:p}"))
480            .field("parent_class", &self.parent_class)
481            .field("_as_reserved1", &self._as_reserved1)
482            .field("_as_reserved2", &self._as_reserved2)
483            .field("_as_reserved3", &self._as_reserved3)
484            .field("_as_reserved4", &self._as_reserved4)
485            .field("_as_reserved5", &self._as_reserved5)
486            .field("_as_reserved6", &self._as_reserved6)
487            .field("_as_reserved7", &self._as_reserved7)
488            .field("_as_reserved8", &self._as_reserved8)
489            .finish()
490    }
491}
492
493#[derive(Copy, Clone)]
494#[repr(C)]
495pub struct AsArtifactClass {
496    pub parent_class: gobject::GObjectClass,
497    pub _as_reserved1: Option<unsafe extern "C" fn()>,
498    pub _as_reserved2: Option<unsafe extern "C" fn()>,
499    pub _as_reserved3: Option<unsafe extern "C" fn()>,
500    pub _as_reserved4: Option<unsafe extern "C" fn()>,
501    pub _as_reserved5: Option<unsafe extern "C" fn()>,
502    pub _as_reserved6: Option<unsafe extern "C" fn()>,
503}
504
505impl ::std::fmt::Debug for AsArtifactClass {
506    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
507        f.debug_struct(&format!("AsArtifactClass @ {self:p}"))
508            .field("parent_class", &self.parent_class)
509            .field("_as_reserved1", &self._as_reserved1)
510            .field("_as_reserved2", &self._as_reserved2)
511            .field("_as_reserved3", &self._as_reserved3)
512            .field("_as_reserved4", &self._as_reserved4)
513            .field("_as_reserved5", &self._as_reserved5)
514            .field("_as_reserved6", &self._as_reserved6)
515            .finish()
516    }
517}
518
519#[derive(Copy, Clone)]
520#[repr(C)]
521pub struct AsBrandingClass {
522    pub parent_class: gobject::GObjectClass,
523    pub _as_reserved1: Option<unsafe extern "C" fn()>,
524    pub _as_reserved2: Option<unsafe extern "C" fn()>,
525    pub _as_reserved3: Option<unsafe extern "C" fn()>,
526    pub _as_reserved4: Option<unsafe extern "C" fn()>,
527    pub _as_reserved5: Option<unsafe extern "C" fn()>,
528    pub _as_reserved6: Option<unsafe extern "C" fn()>,
529}
530
531impl ::std::fmt::Debug for AsBrandingClass {
532    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
533        f.debug_struct(&format!("AsBrandingClass @ {self:p}"))
534            .field("parent_class", &self.parent_class)
535            .field("_as_reserved1", &self._as_reserved1)
536            .field("_as_reserved2", &self._as_reserved2)
537            .field("_as_reserved3", &self._as_reserved3)
538            .field("_as_reserved4", &self._as_reserved4)
539            .field("_as_reserved5", &self._as_reserved5)
540            .field("_as_reserved6", &self._as_reserved6)
541            .finish()
542    }
543}
544
545#[derive(Copy, Clone)]
546#[repr(C)]
547pub struct AsBrandingColorIter {
548    pub dummy1: gpointer,
549    pub dummy2: c_uint,
550    pub dummy3: gpointer,
551    pub dummy4: gpointer,
552    pub dummy5: gpointer,
553    pub dummy6: gpointer,
554}
555
556impl ::std::fmt::Debug for AsBrandingColorIter {
557    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
558        f.debug_struct(&format!("AsBrandingColorIter @ {self:p}"))
559            .finish()
560    }
561}
562
563#[derive(Copy, Clone)]
564#[repr(C)]
565pub struct AsBundleClass {
566    pub parent_class: gobject::GObjectClass,
567    pub _as_reserved1: Option<unsafe extern "C" fn()>,
568    pub _as_reserved2: Option<unsafe extern "C" fn()>,
569    pub _as_reserved3: Option<unsafe extern "C" fn()>,
570    pub _as_reserved4: Option<unsafe extern "C" fn()>,
571    pub _as_reserved5: Option<unsafe extern "C" fn()>,
572    pub _as_reserved6: Option<unsafe extern "C" fn()>,
573}
574
575impl ::std::fmt::Debug for AsBundleClass {
576    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
577        f.debug_struct(&format!("AsBundleClass @ {self:p}"))
578            .field("parent_class", &self.parent_class)
579            .field("_as_reserved1", &self._as_reserved1)
580            .field("_as_reserved2", &self._as_reserved2)
581            .field("_as_reserved3", &self._as_reserved3)
582            .field("_as_reserved4", &self._as_reserved4)
583            .field("_as_reserved5", &self._as_reserved5)
584            .field("_as_reserved6", &self._as_reserved6)
585            .finish()
586    }
587}
588
589#[derive(Copy, Clone)]
590#[repr(C)]
591pub struct AsCategoryClass {
592    pub parent_class: gobject::GObjectClass,
593    pub _as_reserved1: Option<unsafe extern "C" fn()>,
594    pub _as_reserved2: Option<unsafe extern "C" fn()>,
595    pub _as_reserved3: Option<unsafe extern "C" fn()>,
596    pub _as_reserved4: Option<unsafe extern "C" fn()>,
597}
598
599impl ::std::fmt::Debug for AsCategoryClass {
600    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
601        f.debug_struct(&format!("AsCategoryClass @ {self:p}"))
602            .field("parent_class", &self.parent_class)
603            .field("_as_reserved1", &self._as_reserved1)
604            .field("_as_reserved2", &self._as_reserved2)
605            .field("_as_reserved3", &self._as_reserved3)
606            .field("_as_reserved4", &self._as_reserved4)
607            .finish()
608    }
609}
610
611#[derive(Copy, Clone)]
612#[repr(C)]
613pub struct AsChecksumClass {
614    pub parent_class: gobject::GObjectClass,
615    pub _as_reserved1: Option<unsafe extern "C" fn()>,
616    pub _as_reserved2: Option<unsafe extern "C" fn()>,
617    pub _as_reserved3: Option<unsafe extern "C" fn()>,
618    pub _as_reserved4: Option<unsafe extern "C" fn()>,
619    pub _as_reserved5: Option<unsafe extern "C" fn()>,
620    pub _as_reserved6: Option<unsafe extern "C" fn()>,
621}
622
623impl ::std::fmt::Debug for AsChecksumClass {
624    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
625        f.debug_struct(&format!("AsChecksumClass @ {self:p}"))
626            .field("parent_class", &self.parent_class)
627            .field("_as_reserved1", &self._as_reserved1)
628            .field("_as_reserved2", &self._as_reserved2)
629            .field("_as_reserved3", &self._as_reserved3)
630            .field("_as_reserved4", &self._as_reserved4)
631            .field("_as_reserved5", &self._as_reserved5)
632            .field("_as_reserved6", &self._as_reserved6)
633            .finish()
634    }
635}
636
637#[derive(Copy, Clone)]
638#[repr(C)]
639pub struct AsComponentBoxClass {
640    pub parent_class: gobject::GObjectClass,
641    pub _as_reserved1: Option<unsafe extern "C" fn()>,
642    pub _as_reserved2: Option<unsafe extern "C" fn()>,
643    pub _as_reserved3: Option<unsafe extern "C" fn()>,
644    pub _as_reserved4: Option<unsafe extern "C" fn()>,
645    pub _as_reserved5: Option<unsafe extern "C" fn()>,
646    pub _as_reserved6: Option<unsafe extern "C" fn()>,
647}
648
649impl ::std::fmt::Debug for AsComponentBoxClass {
650    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
651        f.debug_struct(&format!("AsComponentBoxClass @ {self:p}"))
652            .field("parent_class", &self.parent_class)
653            .field("_as_reserved1", &self._as_reserved1)
654            .field("_as_reserved2", &self._as_reserved2)
655            .field("_as_reserved3", &self._as_reserved3)
656            .field("_as_reserved4", &self._as_reserved4)
657            .field("_as_reserved5", &self._as_reserved5)
658            .field("_as_reserved6", &self._as_reserved6)
659            .finish()
660    }
661}
662
663#[derive(Copy, Clone)]
664#[repr(C)]
665pub struct AsComponentClass {
666    pub parent_class: gobject::GObjectClass,
667    pub _as_reserved1: Option<unsafe extern "C" fn()>,
668    pub _as_reserved2: Option<unsafe extern "C" fn()>,
669    pub _as_reserved3: Option<unsafe extern "C" fn()>,
670    pub _as_reserved4: Option<unsafe extern "C" fn()>,
671    pub _as_reserved5: Option<unsafe extern "C" fn()>,
672    pub _as_reserved6: Option<unsafe extern "C" fn()>,
673}
674
675impl ::std::fmt::Debug for AsComponentClass {
676    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
677        f.debug_struct(&format!("AsComponentClass @ {self:p}"))
678            .field("parent_class", &self.parent_class)
679            .field("_as_reserved1", &self._as_reserved1)
680            .field("_as_reserved2", &self._as_reserved2)
681            .field("_as_reserved3", &self._as_reserved3)
682            .field("_as_reserved4", &self._as_reserved4)
683            .field("_as_reserved5", &self._as_reserved5)
684            .field("_as_reserved6", &self._as_reserved6)
685            .finish()
686    }
687}
688
689#[derive(Copy, Clone)]
690#[repr(C)]
691pub struct AsContentRatingClass {
692    pub parent_class: gobject::GObjectClass,
693    pub _as_reserved1: Option<unsafe extern "C" fn()>,
694    pub _as_reserved2: Option<unsafe extern "C" fn()>,
695    pub _as_reserved3: Option<unsafe extern "C" fn()>,
696    pub _as_reserved4: Option<unsafe extern "C" fn()>,
697    pub _as_reserved5: Option<unsafe extern "C" fn()>,
698    pub _as_reserved6: Option<unsafe extern "C" fn()>,
699}
700
701impl ::std::fmt::Debug for AsContentRatingClass {
702    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
703        f.debug_struct(&format!("AsContentRatingClass @ {self:p}"))
704            .field("parent_class", &self.parent_class)
705            .field("_as_reserved1", &self._as_reserved1)
706            .field("_as_reserved2", &self._as_reserved2)
707            .field("_as_reserved3", &self._as_reserved3)
708            .field("_as_reserved4", &self._as_reserved4)
709            .field("_as_reserved5", &self._as_reserved5)
710            .field("_as_reserved6", &self._as_reserved6)
711            .finish()
712    }
713}
714
715#[derive(Copy, Clone)]
716#[repr(C)]
717pub struct AsContextClass {
718    pub parent_class: gobject::GObjectClass,
719    pub _as_reserved1: Option<unsafe extern "C" fn()>,
720    pub _as_reserved2: Option<unsafe extern "C" fn()>,
721    pub _as_reserved3: Option<unsafe extern "C" fn()>,
722    pub _as_reserved4: Option<unsafe extern "C" fn()>,
723    pub _as_reserved5: Option<unsafe extern "C" fn()>,
724    pub _as_reserved6: Option<unsafe extern "C" fn()>,
725}
726
727impl ::std::fmt::Debug for AsContextClass {
728    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
729        f.debug_struct(&format!("AsContextClass @ {self:p}"))
730            .field("parent_class", &self.parent_class)
731            .field("_as_reserved1", &self._as_reserved1)
732            .field("_as_reserved2", &self._as_reserved2)
733            .field("_as_reserved3", &self._as_reserved3)
734            .field("_as_reserved4", &self._as_reserved4)
735            .field("_as_reserved5", &self._as_reserved5)
736            .field("_as_reserved6", &self._as_reserved6)
737            .finish()
738    }
739}
740
741#[derive(Copy, Clone)]
742#[repr(C)]
743pub struct AsDeveloperClass {
744    pub parent_class: gobject::GObjectClass,
745    pub _as_reserved1: Option<unsafe extern "C" fn()>,
746    pub _as_reserved2: Option<unsafe extern "C" fn()>,
747    pub _as_reserved3: Option<unsafe extern "C" fn()>,
748    pub _as_reserved4: Option<unsafe extern "C" fn()>,
749    pub _as_reserved5: Option<unsafe extern "C" fn()>,
750    pub _as_reserved6: Option<unsafe extern "C" fn()>,
751}
752
753impl ::std::fmt::Debug for AsDeveloperClass {
754    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
755        f.debug_struct(&format!("AsDeveloperClass @ {self:p}"))
756            .field("parent_class", &self.parent_class)
757            .field("_as_reserved1", &self._as_reserved1)
758            .field("_as_reserved2", &self._as_reserved2)
759            .field("_as_reserved3", &self._as_reserved3)
760            .field("_as_reserved4", &self._as_reserved4)
761            .field("_as_reserved5", &self._as_reserved5)
762            .field("_as_reserved6", &self._as_reserved6)
763            .finish()
764    }
765}
766
767#[derive(Copy, Clone)]
768#[repr(C)]
769pub struct AsIconClass {
770    pub parent_class: gobject::GObjectClass,
771    pub _as_reserved1: Option<unsafe extern "C" fn()>,
772    pub _as_reserved2: Option<unsafe extern "C" fn()>,
773    pub _as_reserved3: Option<unsafe extern "C" fn()>,
774    pub _as_reserved4: Option<unsafe extern "C" fn()>,
775    pub _as_reserved5: Option<unsafe extern "C" fn()>,
776    pub _as_reserved6: Option<unsafe extern "C" fn()>,
777}
778
779impl ::std::fmt::Debug for AsIconClass {
780    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
781        f.debug_struct(&format!("AsIconClass @ {self:p}"))
782            .field("parent_class", &self.parent_class)
783            .field("_as_reserved1", &self._as_reserved1)
784            .field("_as_reserved2", &self._as_reserved2)
785            .field("_as_reserved3", &self._as_reserved3)
786            .field("_as_reserved4", &self._as_reserved4)
787            .field("_as_reserved5", &self._as_reserved5)
788            .field("_as_reserved6", &self._as_reserved6)
789            .finish()
790    }
791}
792
793#[derive(Copy, Clone)]
794#[repr(C)]
795pub struct AsImageClass {
796    pub parent_class: gobject::GObjectClass,
797    pub _as_reserved1: Option<unsafe extern "C" fn()>,
798    pub _as_reserved2: Option<unsafe extern "C" fn()>,
799    pub _as_reserved3: Option<unsafe extern "C" fn()>,
800    pub _as_reserved4: Option<unsafe extern "C" fn()>,
801    pub _as_reserved5: Option<unsafe extern "C" fn()>,
802    pub _as_reserved6: Option<unsafe extern "C" fn()>,
803}
804
805impl ::std::fmt::Debug for AsImageClass {
806    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
807        f.debug_struct(&format!("AsImageClass @ {self:p}"))
808            .field("parent_class", &self.parent_class)
809            .field("_as_reserved1", &self._as_reserved1)
810            .field("_as_reserved2", &self._as_reserved2)
811            .field("_as_reserved3", &self._as_reserved3)
812            .field("_as_reserved4", &self._as_reserved4)
813            .field("_as_reserved5", &self._as_reserved5)
814            .field("_as_reserved6", &self._as_reserved6)
815            .finish()
816    }
817}
818
819#[derive(Copy, Clone)]
820#[repr(C)]
821pub struct AsIssueClass {
822    pub parent_class: gobject::GObjectClass,
823    pub _as_reserved1: Option<unsafe extern "C" fn()>,
824    pub _as_reserved2: Option<unsafe extern "C" fn()>,
825    pub _as_reserved3: Option<unsafe extern "C" fn()>,
826    pub _as_reserved4: Option<unsafe extern "C" fn()>,
827    pub _as_reserved5: Option<unsafe extern "C" fn()>,
828    pub _as_reserved6: Option<unsafe extern "C" fn()>,
829}
830
831impl ::std::fmt::Debug for AsIssueClass {
832    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
833        f.debug_struct(&format!("AsIssueClass @ {self:p}"))
834            .field("parent_class", &self.parent_class)
835            .field("_as_reserved1", &self._as_reserved1)
836            .field("_as_reserved2", &self._as_reserved2)
837            .field("_as_reserved3", &self._as_reserved3)
838            .field("_as_reserved4", &self._as_reserved4)
839            .field("_as_reserved5", &self._as_reserved5)
840            .field("_as_reserved6", &self._as_reserved6)
841            .finish()
842    }
843}
844
845#[derive(Copy, Clone)]
846#[repr(C)]
847pub struct AsLaunchableClass {
848    pub parent_class: gobject::GObjectClass,
849    pub _as_reserved1: Option<unsafe extern "C" fn()>,
850    pub _as_reserved2: Option<unsafe extern "C" fn()>,
851    pub _as_reserved3: Option<unsafe extern "C" fn()>,
852    pub _as_reserved4: Option<unsafe extern "C" fn()>,
853    pub _as_reserved5: Option<unsafe extern "C" fn()>,
854    pub _as_reserved6: Option<unsafe extern "C" fn()>,
855}
856
857impl ::std::fmt::Debug for AsLaunchableClass {
858    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
859        f.debug_struct(&format!("AsLaunchableClass @ {self:p}"))
860            .field("parent_class", &self.parent_class)
861            .field("_as_reserved1", &self._as_reserved1)
862            .field("_as_reserved2", &self._as_reserved2)
863            .field("_as_reserved3", &self._as_reserved3)
864            .field("_as_reserved4", &self._as_reserved4)
865            .field("_as_reserved5", &self._as_reserved5)
866            .field("_as_reserved6", &self._as_reserved6)
867            .finish()
868    }
869}
870
871#[derive(Copy, Clone)]
872#[repr(C)]
873pub struct AsMetadataClass {
874    pub parent_class: gobject::GObjectClass,
875    pub _as_reserved1: Option<unsafe extern "C" fn()>,
876    pub _as_reserved2: Option<unsafe extern "C" fn()>,
877    pub _as_reserved3: Option<unsafe extern "C" fn()>,
878    pub _as_reserved4: Option<unsafe extern "C" fn()>,
879    pub _as_reserved5: Option<unsafe extern "C" fn()>,
880    pub _as_reserved6: Option<unsafe extern "C" fn()>,
881}
882
883impl ::std::fmt::Debug for AsMetadataClass {
884    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
885        f.debug_struct(&format!("AsMetadataClass @ {self:p}"))
886            .field("parent_class", &self.parent_class)
887            .field("_as_reserved1", &self._as_reserved1)
888            .field("_as_reserved2", &self._as_reserved2)
889            .field("_as_reserved3", &self._as_reserved3)
890            .field("_as_reserved4", &self._as_reserved4)
891            .field("_as_reserved5", &self._as_reserved5)
892            .field("_as_reserved6", &self._as_reserved6)
893            .finish()
894    }
895}
896
897#[derive(Copy, Clone)]
898#[repr(C)]
899pub struct AsPoolClass {
900    pub parent_class: gobject::GObjectClass,
901    pub changed: Option<unsafe extern "C" fn(*mut AsPool)>,
902    pub _as_reserved1: Option<unsafe extern "C" fn()>,
903    pub _as_reserved2: Option<unsafe extern "C" fn()>,
904    pub _as_reserved3: Option<unsafe extern "C" fn()>,
905    pub _as_reserved4: Option<unsafe extern "C" fn()>,
906    pub _as_reserved5: Option<unsafe extern "C" fn()>,
907}
908
909impl ::std::fmt::Debug for AsPoolClass {
910    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
911        f.debug_struct(&format!("AsPoolClass @ {self:p}"))
912            .field("parent_class", &self.parent_class)
913            .field("changed", &self.changed)
914            .field("_as_reserved1", &self._as_reserved1)
915            .field("_as_reserved2", &self._as_reserved2)
916            .field("_as_reserved3", &self._as_reserved3)
917            .field("_as_reserved4", &self._as_reserved4)
918            .field("_as_reserved5", &self._as_reserved5)
919            .finish()
920    }
921}
922
923#[derive(Copy, Clone)]
924#[repr(C)]
925pub struct AsProvidedClass {
926    pub parent_class: gobject::GObjectClass,
927    pub _as_reserved1: Option<unsafe extern "C" fn()>,
928    pub _as_reserved2: Option<unsafe extern "C" fn()>,
929    pub _as_reserved3: Option<unsafe extern "C" fn()>,
930    pub _as_reserved4: Option<unsafe extern "C" fn()>,
931    pub _as_reserved5: Option<unsafe extern "C" fn()>,
932    pub _as_reserved6: Option<unsafe extern "C" fn()>,
933}
934
935impl ::std::fmt::Debug for AsProvidedClass {
936    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
937        f.debug_struct(&format!("AsProvidedClass @ {self:p}"))
938            .field("parent_class", &self.parent_class)
939            .field("_as_reserved1", &self._as_reserved1)
940            .field("_as_reserved2", &self._as_reserved2)
941            .field("_as_reserved3", &self._as_reserved3)
942            .field("_as_reserved4", &self._as_reserved4)
943            .field("_as_reserved5", &self._as_reserved5)
944            .field("_as_reserved6", &self._as_reserved6)
945            .finish()
946    }
947}
948
949#[derive(Copy, Clone)]
950#[repr(C)]
951pub struct AsReferenceClass {
952    pub parent_class: gobject::GObjectClass,
953    pub _as_reserved1: Option<unsafe extern "C" fn()>,
954    pub _as_reserved2: Option<unsafe extern "C" fn()>,
955    pub _as_reserved3: Option<unsafe extern "C" fn()>,
956    pub _as_reserved4: Option<unsafe extern "C" fn()>,
957    pub _as_reserved5: Option<unsafe extern "C" fn()>,
958    pub _as_reserved6: Option<unsafe extern "C" fn()>,
959}
960
961impl ::std::fmt::Debug for AsReferenceClass {
962    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
963        f.debug_struct(&format!("AsReferenceClass @ {self:p}"))
964            .field("parent_class", &self.parent_class)
965            .field("_as_reserved1", &self._as_reserved1)
966            .field("_as_reserved2", &self._as_reserved2)
967            .field("_as_reserved3", &self._as_reserved3)
968            .field("_as_reserved4", &self._as_reserved4)
969            .field("_as_reserved5", &self._as_reserved5)
970            .field("_as_reserved6", &self._as_reserved6)
971            .finish()
972    }
973}
974
975#[derive(Copy, Clone)]
976#[repr(C)]
977pub struct AsRelationCheckResultClass {
978    pub parent_class: gobject::GObjectClass,
979    pub _as_reserved1: Option<unsafe extern "C" fn()>,
980    pub _as_reserved2: Option<unsafe extern "C" fn()>,
981    pub _as_reserved3: Option<unsafe extern "C" fn()>,
982    pub _as_reserved4: Option<unsafe extern "C" fn()>,
983    pub _as_reserved5: Option<unsafe extern "C" fn()>,
984    pub _as_reserved6: Option<unsafe extern "C" fn()>,
985}
986
987impl ::std::fmt::Debug for AsRelationCheckResultClass {
988    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
989        f.debug_struct(&format!("AsRelationCheckResultClass @ {self:p}"))
990            .field("parent_class", &self.parent_class)
991            .field("_as_reserved1", &self._as_reserved1)
992            .field("_as_reserved2", &self._as_reserved2)
993            .field("_as_reserved3", &self._as_reserved3)
994            .field("_as_reserved4", &self._as_reserved4)
995            .field("_as_reserved5", &self._as_reserved5)
996            .field("_as_reserved6", &self._as_reserved6)
997            .finish()
998    }
999}
1000
1001#[derive(Copy, Clone)]
1002#[repr(C)]
1003pub struct AsRelationClass {
1004    pub parent_class: gobject::GObjectClass,
1005    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1006    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1007    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1008    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1009    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1010    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1011}
1012
1013impl ::std::fmt::Debug for AsRelationClass {
1014    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1015        f.debug_struct(&format!("AsRelationClass @ {self:p}"))
1016            .field("parent_class", &self.parent_class)
1017            .field("_as_reserved1", &self._as_reserved1)
1018            .field("_as_reserved2", &self._as_reserved2)
1019            .field("_as_reserved3", &self._as_reserved3)
1020            .field("_as_reserved4", &self._as_reserved4)
1021            .field("_as_reserved5", &self._as_reserved5)
1022            .field("_as_reserved6", &self._as_reserved6)
1023            .finish()
1024    }
1025}
1026
1027#[derive(Copy, Clone)]
1028#[repr(C)]
1029pub struct AsReleaseClass {
1030    pub parent_class: gobject::GObjectClass,
1031    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1032    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1033    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1034    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1035    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1036    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1037}
1038
1039impl ::std::fmt::Debug for AsReleaseClass {
1040    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1041        f.debug_struct(&format!("AsReleaseClass @ {self:p}"))
1042            .field("parent_class", &self.parent_class)
1043            .field("_as_reserved1", &self._as_reserved1)
1044            .field("_as_reserved2", &self._as_reserved2)
1045            .field("_as_reserved3", &self._as_reserved3)
1046            .field("_as_reserved4", &self._as_reserved4)
1047            .field("_as_reserved5", &self._as_reserved5)
1048            .field("_as_reserved6", &self._as_reserved6)
1049            .finish()
1050    }
1051}
1052
1053#[derive(Copy, Clone)]
1054#[repr(C)]
1055pub struct AsReleaseListClass {
1056    pub parent_class: gobject::GObjectClass,
1057    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1058    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1059    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1060    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1061    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1062    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1063}
1064
1065impl ::std::fmt::Debug for AsReleaseListClass {
1066    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1067        f.debug_struct(&format!("AsReleaseListClass @ {self:p}"))
1068            .field("parent_class", &self.parent_class)
1069            .field("_as_reserved1", &self._as_reserved1)
1070            .field("_as_reserved2", &self._as_reserved2)
1071            .field("_as_reserved3", &self._as_reserved3)
1072            .field("_as_reserved4", &self._as_reserved4)
1073            .field("_as_reserved5", &self._as_reserved5)
1074            .field("_as_reserved6", &self._as_reserved6)
1075            .finish()
1076    }
1077}
1078
1079#[derive(Copy, Clone)]
1080#[repr(C)]
1081pub struct AsReviewClass {
1082    pub parent_class: gobject::GObjectClass,
1083    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1084    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1085    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1086    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1087    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1088    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1089    pub _as_reserved7: Option<unsafe extern "C" fn()>,
1090    pub _as_reserved8: Option<unsafe extern "C" fn()>,
1091}
1092
1093impl ::std::fmt::Debug for AsReviewClass {
1094    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1095        f.debug_struct(&format!("AsReviewClass @ {self:p}"))
1096            .field("parent_class", &self.parent_class)
1097            .field("_as_reserved1", &self._as_reserved1)
1098            .field("_as_reserved2", &self._as_reserved2)
1099            .field("_as_reserved3", &self._as_reserved3)
1100            .field("_as_reserved4", &self._as_reserved4)
1101            .field("_as_reserved5", &self._as_reserved5)
1102            .field("_as_reserved6", &self._as_reserved6)
1103            .field("_as_reserved7", &self._as_reserved7)
1104            .field("_as_reserved8", &self._as_reserved8)
1105            .finish()
1106    }
1107}
1108
1109#[derive(Copy, Clone)]
1110#[repr(C)]
1111pub struct AsScreenshotClass {
1112    pub parent_class: gobject::GObjectClass,
1113    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1114    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1115    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1116    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1117    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1118    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1119}
1120
1121impl ::std::fmt::Debug for AsScreenshotClass {
1122    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1123        f.debug_struct(&format!("AsScreenshotClass @ {self:p}"))
1124            .field("parent_class", &self.parent_class)
1125            .field("_as_reserved1", &self._as_reserved1)
1126            .field("_as_reserved2", &self._as_reserved2)
1127            .field("_as_reserved3", &self._as_reserved3)
1128            .field("_as_reserved4", &self._as_reserved4)
1129            .field("_as_reserved5", &self._as_reserved5)
1130            .field("_as_reserved6", &self._as_reserved6)
1131            .finish()
1132    }
1133}
1134
1135#[derive(Copy, Clone)]
1136#[repr(C)]
1137pub struct AsSuggestedClass {
1138    pub parent_class: gobject::GObjectClass,
1139    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1140    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1141    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1142    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1143    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1144    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1145}
1146
1147impl ::std::fmt::Debug for AsSuggestedClass {
1148    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1149        f.debug_struct(&format!("AsSuggestedClass @ {self:p}"))
1150            .field("parent_class", &self.parent_class)
1151            .field("_as_reserved1", &self._as_reserved1)
1152            .field("_as_reserved2", &self._as_reserved2)
1153            .field("_as_reserved3", &self._as_reserved3)
1154            .field("_as_reserved4", &self._as_reserved4)
1155            .field("_as_reserved5", &self._as_reserved5)
1156            .field("_as_reserved6", &self._as_reserved6)
1157            .finish()
1158    }
1159}
1160
1161#[derive(Copy, Clone)]
1162#[repr(C)]
1163pub struct AsSystemInfoClass {
1164    pub parent_class: gobject::GObjectClass,
1165    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1166    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1167    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1168    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1169    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1170    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1171}
1172
1173impl ::std::fmt::Debug for AsSystemInfoClass {
1174    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1175        f.debug_struct(&format!("AsSystemInfoClass @ {self:p}"))
1176            .field("parent_class", &self.parent_class)
1177            .field("_as_reserved1", &self._as_reserved1)
1178            .field("_as_reserved2", &self._as_reserved2)
1179            .field("_as_reserved3", &self._as_reserved3)
1180            .field("_as_reserved4", &self._as_reserved4)
1181            .field("_as_reserved5", &self._as_reserved5)
1182            .field("_as_reserved6", &self._as_reserved6)
1183            .finish()
1184    }
1185}
1186
1187#[derive(Copy, Clone)]
1188#[repr(C)]
1189pub struct AsTranslationClass {
1190    pub parent_class: gobject::GObjectClass,
1191    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1192    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1193    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1194    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1195    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1196    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1197}
1198
1199impl ::std::fmt::Debug for AsTranslationClass {
1200    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1201        f.debug_struct(&format!("AsTranslationClass @ {self:p}"))
1202            .field("parent_class", &self.parent_class)
1203            .field("_as_reserved1", &self._as_reserved1)
1204            .field("_as_reserved2", &self._as_reserved2)
1205            .field("_as_reserved3", &self._as_reserved3)
1206            .field("_as_reserved4", &self._as_reserved4)
1207            .field("_as_reserved5", &self._as_reserved5)
1208            .field("_as_reserved6", &self._as_reserved6)
1209            .finish()
1210    }
1211}
1212
1213#[derive(Copy, Clone)]
1214#[repr(C)]
1215pub struct AsValidatorClass {
1216    pub parent_class: gobject::GObjectClass,
1217    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1218    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1219    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1220    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1221    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1222    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1223}
1224
1225impl ::std::fmt::Debug for AsValidatorClass {
1226    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1227        f.debug_struct(&format!("AsValidatorClass @ {self:p}"))
1228            .field("parent_class", &self.parent_class)
1229            .field("_as_reserved1", &self._as_reserved1)
1230            .field("_as_reserved2", &self._as_reserved2)
1231            .field("_as_reserved3", &self._as_reserved3)
1232            .field("_as_reserved4", &self._as_reserved4)
1233            .field("_as_reserved5", &self._as_reserved5)
1234            .field("_as_reserved6", &self._as_reserved6)
1235            .finish()
1236    }
1237}
1238
1239#[derive(Copy, Clone)]
1240#[repr(C)]
1241pub struct AsValidatorIssueClass {
1242    pub parent_class: gobject::GObjectClass,
1243    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1244    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1245    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1246    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1247    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1248    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1249}
1250
1251impl ::std::fmt::Debug for AsValidatorIssueClass {
1252    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1253        f.debug_struct(&format!("AsValidatorIssueClass @ {self:p}"))
1254            .field("parent_class", &self.parent_class)
1255            .field("_as_reserved1", &self._as_reserved1)
1256            .field("_as_reserved2", &self._as_reserved2)
1257            .field("_as_reserved3", &self._as_reserved3)
1258            .field("_as_reserved4", &self._as_reserved4)
1259            .field("_as_reserved5", &self._as_reserved5)
1260            .field("_as_reserved6", &self._as_reserved6)
1261            .finish()
1262    }
1263}
1264
1265#[derive(Copy, Clone)]
1266#[repr(C)]
1267pub struct AsVideoClass {
1268    pub parent_class: gobject::GObjectClass,
1269    pub _as_reserved1: Option<unsafe extern "C" fn()>,
1270    pub _as_reserved2: Option<unsafe extern "C" fn()>,
1271    pub _as_reserved3: Option<unsafe extern "C" fn()>,
1272    pub _as_reserved4: Option<unsafe extern "C" fn()>,
1273    pub _as_reserved5: Option<unsafe extern "C" fn()>,
1274    pub _as_reserved6: Option<unsafe extern "C" fn()>,
1275}
1276
1277impl ::std::fmt::Debug for AsVideoClass {
1278    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1279        f.debug_struct(&format!("AsVideoClass @ {self:p}"))
1280            .field("parent_class", &self.parent_class)
1281            .field("_as_reserved1", &self._as_reserved1)
1282            .field("_as_reserved2", &self._as_reserved2)
1283            .field("_as_reserved3", &self._as_reserved3)
1284            .field("_as_reserved4", &self._as_reserved4)
1285            .field("_as_reserved5", &self._as_reserved5)
1286            .field("_as_reserved6", &self._as_reserved6)
1287            .finish()
1288    }
1289}
1290
1291// Classes
1292#[derive(Copy, Clone)]
1293#[repr(C)]
1294pub struct AsAgreement {
1295    pub parent_instance: gobject::GObject,
1296}
1297
1298impl ::std::fmt::Debug for AsAgreement {
1299    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1300        f.debug_struct(&format!("AsAgreement @ {self:p}"))
1301            .field("parent_instance", &self.parent_instance)
1302            .finish()
1303    }
1304}
1305
1306#[derive(Copy, Clone)]
1307#[repr(C)]
1308pub struct AsAgreementSection {
1309    pub parent_instance: gobject::GObject,
1310}
1311
1312impl ::std::fmt::Debug for AsAgreementSection {
1313    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1314        f.debug_struct(&format!("AsAgreementSection @ {self:p}"))
1315            .field("parent_instance", &self.parent_instance)
1316            .finish()
1317    }
1318}
1319
1320#[derive(Copy, Clone)]
1321#[repr(C)]
1322pub struct AsArtifact {
1323    pub parent_instance: gobject::GObject,
1324}
1325
1326impl ::std::fmt::Debug for AsArtifact {
1327    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1328        f.debug_struct(&format!("AsArtifact @ {self:p}"))
1329            .field("parent_instance", &self.parent_instance)
1330            .finish()
1331    }
1332}
1333
1334#[derive(Copy, Clone)]
1335#[repr(C)]
1336pub struct AsBranding {
1337    pub parent_instance: gobject::GObject,
1338}
1339
1340impl ::std::fmt::Debug for AsBranding {
1341    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1342        f.debug_struct(&format!("AsBranding @ {self:p}"))
1343            .field("parent_instance", &self.parent_instance)
1344            .finish()
1345    }
1346}
1347
1348#[derive(Copy, Clone)]
1349#[repr(C)]
1350pub struct AsBundle {
1351    pub parent_instance: gobject::GObject,
1352}
1353
1354impl ::std::fmt::Debug for AsBundle {
1355    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1356        f.debug_struct(&format!("AsBundle @ {self:p}"))
1357            .field("parent_instance", &self.parent_instance)
1358            .finish()
1359    }
1360}
1361
1362#[derive(Copy, Clone)]
1363#[repr(C)]
1364pub struct AsCategory {
1365    pub parent_instance: gobject::GObject,
1366}
1367
1368impl ::std::fmt::Debug for AsCategory {
1369    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1370        f.debug_struct(&format!("AsCategory @ {self:p}"))
1371            .field("parent_instance", &self.parent_instance)
1372            .finish()
1373    }
1374}
1375
1376#[derive(Copy, Clone)]
1377#[repr(C)]
1378pub struct AsChecksum {
1379    pub parent_instance: gobject::GObject,
1380}
1381
1382impl ::std::fmt::Debug for AsChecksum {
1383    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1384        f.debug_struct(&format!("AsChecksum @ {self:p}"))
1385            .field("parent_instance", &self.parent_instance)
1386            .finish()
1387    }
1388}
1389
1390#[derive(Copy, Clone)]
1391#[repr(C)]
1392pub struct AsComponent {
1393    pub parent_instance: gobject::GObject,
1394}
1395
1396impl ::std::fmt::Debug for AsComponent {
1397    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1398        f.debug_struct(&format!("AsComponent @ {self:p}"))
1399            .field("parent_instance", &self.parent_instance)
1400            .finish()
1401    }
1402}
1403
1404#[derive(Copy, Clone)]
1405#[repr(C)]
1406pub struct AsComponentBox {
1407    pub parent_instance: gobject::GObject,
1408    pub cpts: *mut glib::GPtrArray,
1409}
1410
1411impl ::std::fmt::Debug for AsComponentBox {
1412    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1413        f.debug_struct(&format!("AsComponentBox @ {self:p}"))
1414            .field("parent_instance", &self.parent_instance)
1415            .finish()
1416    }
1417}
1418
1419#[derive(Copy, Clone)]
1420#[repr(C)]
1421pub struct AsContentRating {
1422    pub parent_instance: gobject::GObject,
1423}
1424
1425impl ::std::fmt::Debug for AsContentRating {
1426    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1427        f.debug_struct(&format!("AsContentRating @ {self:p}"))
1428            .field("parent_instance", &self.parent_instance)
1429            .finish()
1430    }
1431}
1432
1433#[derive(Copy, Clone)]
1434#[repr(C)]
1435pub struct AsContext {
1436    pub parent_instance: gobject::GObject,
1437}
1438
1439impl ::std::fmt::Debug for AsContext {
1440    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1441        f.debug_struct(&format!("AsContext @ {self:p}"))
1442            .field("parent_instance", &self.parent_instance)
1443            .finish()
1444    }
1445}
1446
1447#[derive(Copy, Clone)]
1448#[repr(C)]
1449pub struct AsDeveloper {
1450    pub parent_instance: gobject::GObject,
1451}
1452
1453impl ::std::fmt::Debug for AsDeveloper {
1454    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1455        f.debug_struct(&format!("AsDeveloper @ {self:p}"))
1456            .field("parent_instance", &self.parent_instance)
1457            .finish()
1458    }
1459}
1460
1461#[derive(Copy, Clone)]
1462#[repr(C)]
1463pub struct AsIcon {
1464    pub parent_instance: gobject::GObject,
1465}
1466
1467impl ::std::fmt::Debug for AsIcon {
1468    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1469        f.debug_struct(&format!("AsIcon @ {self:p}"))
1470            .field("parent_instance", &self.parent_instance)
1471            .finish()
1472    }
1473}
1474
1475#[derive(Copy, Clone)]
1476#[repr(C)]
1477pub struct AsImage {
1478    pub parent_instance: gobject::GObject,
1479}
1480
1481impl ::std::fmt::Debug for AsImage {
1482    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1483        f.debug_struct(&format!("AsImage @ {self:p}"))
1484            .field("parent_instance", &self.parent_instance)
1485            .finish()
1486    }
1487}
1488
1489#[derive(Copy, Clone)]
1490#[repr(C)]
1491pub struct AsIssue {
1492    pub parent_instance: gobject::GObject,
1493}
1494
1495impl ::std::fmt::Debug for AsIssue {
1496    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1497        f.debug_struct(&format!("AsIssue @ {self:p}"))
1498            .field("parent_instance", &self.parent_instance)
1499            .finish()
1500    }
1501}
1502
1503#[derive(Copy, Clone)]
1504#[repr(C)]
1505pub struct AsLaunchable {
1506    pub parent_instance: gobject::GObject,
1507}
1508
1509impl ::std::fmt::Debug for AsLaunchable {
1510    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1511        f.debug_struct(&format!("AsLaunchable @ {self:p}"))
1512            .field("parent_instance", &self.parent_instance)
1513            .finish()
1514    }
1515}
1516
1517#[derive(Copy, Clone)]
1518#[repr(C)]
1519pub struct AsMetadata {
1520    pub parent_instance: gobject::GObject,
1521}
1522
1523impl ::std::fmt::Debug for AsMetadata {
1524    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1525        f.debug_struct(&format!("AsMetadata @ {self:p}"))
1526            .field("parent_instance", &self.parent_instance)
1527            .finish()
1528    }
1529}
1530
1531#[derive(Copy, Clone)]
1532#[repr(C)]
1533pub struct AsPool {
1534    pub parent_instance: gobject::GObject,
1535}
1536
1537impl ::std::fmt::Debug for AsPool {
1538    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1539        f.debug_struct(&format!("AsPool @ {self:p}"))
1540            .field("parent_instance", &self.parent_instance)
1541            .finish()
1542    }
1543}
1544
1545#[derive(Copy, Clone)]
1546#[repr(C)]
1547pub struct AsProvided {
1548    pub parent_instance: gobject::GObject,
1549}
1550
1551impl ::std::fmt::Debug for AsProvided {
1552    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1553        f.debug_struct(&format!("AsProvided @ {self:p}"))
1554            .field("parent_instance", &self.parent_instance)
1555            .finish()
1556    }
1557}
1558
1559#[derive(Copy, Clone)]
1560#[repr(C)]
1561pub struct AsReference {
1562    pub parent_instance: gobject::GObject,
1563}
1564
1565impl ::std::fmt::Debug for AsReference {
1566    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1567        f.debug_struct(&format!("AsReference @ {self:p}"))
1568            .field("parent_instance", &self.parent_instance)
1569            .finish()
1570    }
1571}
1572
1573#[derive(Copy, Clone)]
1574#[repr(C)]
1575pub struct AsRelation {
1576    pub parent_instance: gobject::GObject,
1577}
1578
1579impl ::std::fmt::Debug for AsRelation {
1580    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1581        f.debug_struct(&format!("AsRelation @ {self:p}"))
1582            .field("parent_instance", &self.parent_instance)
1583            .finish()
1584    }
1585}
1586
1587#[derive(Copy, Clone)]
1588#[repr(C)]
1589pub struct AsRelationCheckResult {
1590    pub parent_instance: gobject::GObject,
1591}
1592
1593impl ::std::fmt::Debug for AsRelationCheckResult {
1594    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1595        f.debug_struct(&format!("AsRelationCheckResult @ {self:p}"))
1596            .field("parent_instance", &self.parent_instance)
1597            .finish()
1598    }
1599}
1600
1601#[derive(Copy, Clone)]
1602#[repr(C)]
1603pub struct AsRelease {
1604    pub parent_instance: gobject::GObject,
1605}
1606
1607impl ::std::fmt::Debug for AsRelease {
1608    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1609        f.debug_struct(&format!("AsRelease @ {self:p}"))
1610            .field("parent_instance", &self.parent_instance)
1611            .finish()
1612    }
1613}
1614
1615#[derive(Copy, Clone)]
1616#[repr(C)]
1617pub struct AsReleaseList {
1618    pub parent_instance: gobject::GObject,
1619    pub entries: *mut glib::GPtrArray,
1620}
1621
1622impl ::std::fmt::Debug for AsReleaseList {
1623    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1624        f.debug_struct(&format!("AsReleaseList @ {self:p}"))
1625            .field("parent_instance", &self.parent_instance)
1626            .finish()
1627    }
1628}
1629
1630#[derive(Copy, Clone)]
1631#[repr(C)]
1632pub struct AsReview {
1633    pub parent_instance: gobject::GObject,
1634}
1635
1636impl ::std::fmt::Debug for AsReview {
1637    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1638        f.debug_struct(&format!("AsReview @ {self:p}"))
1639            .field("parent_instance", &self.parent_instance)
1640            .finish()
1641    }
1642}
1643
1644#[derive(Copy, Clone)]
1645#[repr(C)]
1646pub struct AsScreenshot {
1647    pub parent_instance: gobject::GObject,
1648}
1649
1650impl ::std::fmt::Debug for AsScreenshot {
1651    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1652        f.debug_struct(&format!("AsScreenshot @ {self:p}"))
1653            .field("parent_instance", &self.parent_instance)
1654            .finish()
1655    }
1656}
1657
1658#[derive(Copy, Clone)]
1659#[repr(C)]
1660pub struct AsSuggested {
1661    pub parent_instance: gobject::GObject,
1662}
1663
1664impl ::std::fmt::Debug for AsSuggested {
1665    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1666        f.debug_struct(&format!("AsSuggested @ {self:p}"))
1667            .field("parent_instance", &self.parent_instance)
1668            .finish()
1669    }
1670}
1671
1672#[derive(Copy, Clone)]
1673#[repr(C)]
1674pub struct AsSystemInfo {
1675    pub parent_instance: gobject::GObject,
1676}
1677
1678impl ::std::fmt::Debug for AsSystemInfo {
1679    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1680        f.debug_struct(&format!("AsSystemInfo @ {self:p}"))
1681            .field("parent_instance", &self.parent_instance)
1682            .finish()
1683    }
1684}
1685
1686#[derive(Copy, Clone)]
1687#[repr(C)]
1688pub struct AsTranslation {
1689    pub parent_instance: gobject::GObject,
1690}
1691
1692impl ::std::fmt::Debug for AsTranslation {
1693    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1694        f.debug_struct(&format!("AsTranslation @ {self:p}"))
1695            .field("parent_instance", &self.parent_instance)
1696            .finish()
1697    }
1698}
1699
1700#[derive(Copy, Clone)]
1701#[repr(C)]
1702pub struct AsValidator {
1703    pub parent_instance: gobject::GObject,
1704}
1705
1706impl ::std::fmt::Debug for AsValidator {
1707    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1708        f.debug_struct(&format!("AsValidator @ {self:p}"))
1709            .field("parent_instance", &self.parent_instance)
1710            .finish()
1711    }
1712}
1713
1714#[derive(Copy, Clone)]
1715#[repr(C)]
1716pub struct AsValidatorIssue {
1717    pub parent_instance: gobject::GObject,
1718}
1719
1720impl ::std::fmt::Debug for AsValidatorIssue {
1721    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1722        f.debug_struct(&format!("AsValidatorIssue @ {self:p}"))
1723            .field("parent_instance", &self.parent_instance)
1724            .finish()
1725    }
1726}
1727
1728#[derive(Copy, Clone)]
1729#[repr(C)]
1730pub struct AsVideo {
1731    pub parent_instance: gobject::GObject,
1732}
1733
1734impl ::std::fmt::Debug for AsVideo {
1735    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1736        f.debug_struct(&format!("AsVideo @ {self:p}"))
1737            .field("parent_instance", &self.parent_instance)
1738            .finish()
1739    }
1740}
1741
1742extern "C" {
1743
1744    //=========================================================================
1745    // AsAgreementKind
1746    //=========================================================================
1747    pub fn as_agreement_kind_get_type() -> GType;
1748    pub fn as_agreement_kind_from_string(value: *const c_char) -> AsAgreementKind;
1749    pub fn as_agreement_kind_to_string(value: AsAgreementKind) -> *const c_char;
1750
1751    //=========================================================================
1752    // AsArtifactKind
1753    //=========================================================================
1754    pub fn as_artifact_kind_get_type() -> GType;
1755    pub fn as_artifact_kind_from_string(kind: *const c_char) -> AsArtifactKind;
1756    pub fn as_artifact_kind_to_string(kind: AsArtifactKind) -> *const c_char;
1757
1758    //=========================================================================
1759    // AsBundleKind
1760    //=========================================================================
1761    pub fn as_bundle_kind_get_type() -> GType;
1762    pub fn as_bundle_kind_from_string(bundle_str: *const c_char) -> AsBundleKind;
1763    pub fn as_bundle_kind_to_string(kind: AsBundleKind) -> *const c_char;
1764
1765    //=========================================================================
1766    // AsChassisKind
1767    //=========================================================================
1768    pub fn as_chassis_kind_get_type() -> GType;
1769    pub fn as_chassis_kind_from_string(kind_str: *const c_char) -> AsChassisKind;
1770    pub fn as_chassis_kind_to_string(kind: AsChassisKind) -> *const c_char;
1771
1772    //=========================================================================
1773    // AsCheckResult
1774    //=========================================================================
1775    pub fn as_check_result_get_type() -> GType;
1776
1777    //=========================================================================
1778    // AsChecksumKind
1779    //=========================================================================
1780    pub fn as_checksum_kind_get_type() -> GType;
1781    pub fn as_checksum_kind_from_string(kind_str: *const c_char) -> AsChecksumKind;
1782    pub fn as_checksum_kind_to_string(kind: AsChecksumKind) -> *const c_char;
1783
1784    //=========================================================================
1785    // AsColorKind
1786    //=========================================================================
1787    pub fn as_color_kind_get_type() -> GType;
1788    pub fn as_color_kind_from_string(str: *const c_char) -> AsColorKind;
1789    pub fn as_color_kind_to_string(kind: AsColorKind) -> *const c_char;
1790
1791    //=========================================================================
1792    // AsColorSchemeKind
1793    //=========================================================================
1794    pub fn as_color_scheme_kind_get_type() -> GType;
1795    pub fn as_color_scheme_kind_from_string(str: *const c_char) -> AsColorSchemeKind;
1796    pub fn as_color_scheme_kind_to_string(kind: AsColorSchemeKind) -> *const c_char;
1797
1798    //=========================================================================
1799    // AsComponentKind
1800    //=========================================================================
1801    pub fn as_component_kind_get_type() -> GType;
1802    pub fn as_component_kind_from_string(kind_str: *const c_char) -> AsComponentKind;
1803    pub fn as_component_kind_to_string(kind: AsComponentKind) -> *const c_char;
1804
1805    //=========================================================================
1806    // AsComponentScope
1807    //=========================================================================
1808    pub fn as_component_scope_get_type() -> GType;
1809    pub fn as_component_scope_from_string(scope_str: *const c_char) -> AsComponentScope;
1810    pub fn as_component_scope_to_string(scope: AsComponentScope) -> *const c_char;
1811
1812    //=========================================================================
1813    // AsContentRatingSystem
1814    //=========================================================================
1815    pub fn as_content_rating_system_get_type() -> GType;
1816    pub fn as_content_rating_system_format_age(
1817        system: AsContentRatingSystem,
1818        age: c_uint,
1819    ) -> *mut c_char;
1820    pub fn as_content_rating_system_from_locale(locale: *const c_char) -> AsContentRatingSystem;
1821    pub fn as_content_rating_system_get_csm_ages(
1822        system: AsContentRatingSystem,
1823        length_out: *mut size_t,
1824    ) -> *const c_uint;
1825    pub fn as_content_rating_system_get_formatted_ages(
1826        system: AsContentRatingSystem,
1827    ) -> *mut *mut c_char;
1828    pub fn as_content_rating_system_to_string(system: AsContentRatingSystem) -> *const c_char;
1829
1830    //=========================================================================
1831    // AsContentRatingValue
1832    //=========================================================================
1833    pub fn as_content_rating_value_get_type() -> GType;
1834    pub fn as_content_rating_value_from_string(value: *const c_char) -> AsContentRatingValue;
1835    pub fn as_content_rating_value_to_string(value: AsContentRatingValue) -> *const c_char;
1836
1837    //=========================================================================
1838    // AsControlKind
1839    //=========================================================================
1840    pub fn as_control_kind_get_type() -> GType;
1841    pub fn as_control_kind_from_string(kind_str: *const c_char) -> AsControlKind;
1842    pub fn as_control_kind_to_string(kind: AsControlKind) -> *const c_char;
1843
1844    //=========================================================================
1845    // AsDisplaySideKind
1846    //=========================================================================
1847    pub fn as_display_side_kind_get_type() -> GType;
1848    pub fn as_display_side_kind_from_string(kind_str: *const c_char) -> AsDisplaySideKind;
1849    pub fn as_display_side_kind_to_string(kind: AsDisplaySideKind) -> *const c_char;
1850
1851    //=========================================================================
1852    // AsFormatKind
1853    //=========================================================================
1854    pub fn as_format_kind_get_type() -> GType;
1855    pub fn as_format_kind_from_string(kind_str: *const c_char) -> AsFormatKind;
1856    pub fn as_format_kind_to_string(kind: AsFormatKind) -> *const c_char;
1857
1858    //=========================================================================
1859    // AsFormatStyle
1860    //=========================================================================
1861    pub fn as_format_style_get_type() -> GType;
1862
1863    //=========================================================================
1864    // AsFormatVersion
1865    //=========================================================================
1866    pub fn as_format_version_get_type() -> GType;
1867    pub fn as_format_version_from_string(version_str: *const c_char) -> AsFormatVersion;
1868    pub fn as_format_version_to_string(version: AsFormatVersion) -> *const c_char;
1869
1870    //=========================================================================
1871    // AsIconKind
1872    //=========================================================================
1873    pub fn as_icon_kind_get_type() -> GType;
1874    pub fn as_icon_kind_from_string(kind_str: *const c_char) -> AsIconKind;
1875    pub fn as_icon_kind_to_string(kind: AsIconKind) -> *const c_char;
1876
1877    //=========================================================================
1878    // AsImageKind
1879    //=========================================================================
1880    pub fn as_image_kind_get_type() -> GType;
1881    pub fn as_image_kind_from_string(kind: *const c_char) -> AsImageKind;
1882    pub fn as_image_kind_to_string(kind: AsImageKind) -> *const c_char;
1883
1884    //=========================================================================
1885    // AsInternetKind
1886    //=========================================================================
1887    pub fn as_internet_kind_get_type() -> GType;
1888    pub fn as_internet_kind_from_string(kind_str: *const c_char) -> AsInternetKind;
1889    pub fn as_internet_kind_to_string(kind: AsInternetKind) -> *const c_char;
1890
1891    //=========================================================================
1892    // AsIssueKind
1893    //=========================================================================
1894    pub fn as_issue_kind_get_type() -> GType;
1895    pub fn as_issue_kind_from_string(kind_str: *const c_char) -> AsIssueKind;
1896    pub fn as_issue_kind_to_string(kind: AsIssueKind) -> *const c_char;
1897
1898    //=========================================================================
1899    // AsIssueSeverity
1900    //=========================================================================
1901    pub fn as_issue_severity_get_type() -> GType;
1902    pub fn as_issue_severity_from_string(str: *const c_char) -> AsIssueSeverity;
1903    pub fn as_issue_severity_to_string(severity: AsIssueSeverity) -> *const c_char;
1904
1905    //=========================================================================
1906    // AsLaunchableKind
1907    //=========================================================================
1908    pub fn as_launchable_kind_get_type() -> GType;
1909    pub fn as_launchable_kind_from_string(kind_str: *const c_char) -> AsLaunchableKind;
1910    pub fn as_launchable_kind_to_string(kind: AsLaunchableKind) -> *const c_char;
1911
1912    //=========================================================================
1913    // AsMarkupKind
1914    //=========================================================================
1915    pub fn as_markup_kind_get_type() -> GType;
1916
1917    //=========================================================================
1918    // AsMergeKind
1919    //=========================================================================
1920    pub fn as_merge_kind_get_type() -> GType;
1921    pub fn as_merge_kind_from_string(kind_str: *const c_char) -> AsMergeKind;
1922    pub fn as_merge_kind_to_string(kind: AsMergeKind) -> *const c_char;
1923
1924    //=========================================================================
1925    // AsMetadataError
1926    //=========================================================================
1927    pub fn as_metadata_error_get_type() -> GType;
1928    pub fn as_metadata_error_quark() -> glib::GQuark;
1929
1930    //=========================================================================
1931    // AsMetadataLocation
1932    //=========================================================================
1933    pub fn as_metadata_location_get_type() -> GType;
1934
1935    //=========================================================================
1936    // AsPoolError
1937    //=========================================================================
1938    pub fn as_pool_error_get_type() -> GType;
1939    pub fn as_pool_error_quark() -> glib::GQuark;
1940
1941    //=========================================================================
1942    // AsProvidedKind
1943    //=========================================================================
1944    pub fn as_provided_kind_get_type() -> GType;
1945    pub fn as_provided_kind_from_string(kind_str: *const c_char) -> AsProvidedKind;
1946    pub fn as_provided_kind_to_l10n_string(kind: AsProvidedKind) -> *const c_char;
1947    pub fn as_provided_kind_to_string(kind: AsProvidedKind) -> *const c_char;
1948
1949    //=========================================================================
1950    // AsReferenceKind
1951    //=========================================================================
1952    pub fn as_reference_kind_get_type() -> GType;
1953    pub fn as_reference_kind_from_string(str: *const c_char) -> AsReferenceKind;
1954    pub fn as_reference_kind_to_string(kind: AsReferenceKind) -> *const c_char;
1955
1956    //=========================================================================
1957    // AsRelationCompare
1958    //=========================================================================
1959    pub fn as_relation_compare_get_type() -> GType;
1960    pub fn as_relation_compare_from_string(compare_str: *const c_char) -> AsRelationCompare;
1961    pub fn as_relation_compare_to_string(compare: AsRelationCompare) -> *const c_char;
1962    pub fn as_relation_compare_to_symbols_string(compare: AsRelationCompare) -> *const c_char;
1963
1964    //=========================================================================
1965    // AsRelationError
1966    //=========================================================================
1967    pub fn as_relation_error_get_type() -> GType;
1968    pub fn as_relation_error_quark() -> glib::GQuark;
1969
1970    //=========================================================================
1971    // AsRelationItemKind
1972    //=========================================================================
1973    pub fn as_relation_item_kind_get_type() -> GType;
1974    pub fn as_relation_item_kind_from_string(kind_str: *const c_char) -> AsRelationItemKind;
1975    pub fn as_relation_item_kind_to_string(kind: AsRelationItemKind) -> *const c_char;
1976
1977    //=========================================================================
1978    // AsRelationKind
1979    //=========================================================================
1980    pub fn as_relation_kind_get_type() -> GType;
1981    pub fn as_relation_kind_from_string(kind_str: *const c_char) -> AsRelationKind;
1982    pub fn as_relation_kind_to_string(kind: AsRelationKind) -> *const c_char;
1983
1984    //=========================================================================
1985    // AsRelationStatus
1986    //=========================================================================
1987    pub fn as_relation_status_get_type() -> GType;
1988
1989    //=========================================================================
1990    // AsReleaseKind
1991    //=========================================================================
1992    pub fn as_release_kind_get_type() -> GType;
1993    pub fn as_release_kind_from_string(kind_str: *const c_char) -> AsReleaseKind;
1994    pub fn as_release_kind_to_string(kind: AsReleaseKind) -> *const c_char;
1995
1996    //=========================================================================
1997    // AsReleaseListKind
1998    //=========================================================================
1999    pub fn as_release_list_kind_get_type() -> GType;
2000    pub fn as_release_list_kind_from_string(kind_str: *const c_char) -> AsReleaseListKind;
2001    pub fn as_release_list_kind_to_string(kind: AsReleaseListKind) -> *const c_char;
2002
2003    //=========================================================================
2004    // AsReleaseUrlKind
2005    //=========================================================================
2006    pub fn as_release_url_kind_get_type() -> GType;
2007    pub fn as_release_url_kind_from_string(kind_str: *const c_char) -> AsReleaseUrlKind;
2008    pub fn as_release_url_kind_to_string(kind: AsReleaseUrlKind) -> *const c_char;
2009
2010    //=========================================================================
2011    // AsScreenshotKind
2012    //=========================================================================
2013    pub fn as_screenshot_kind_get_type() -> GType;
2014    pub fn as_screenshot_kind_from_string(kind: *const c_char) -> AsScreenshotKind;
2015    pub fn as_screenshot_kind_to_string(kind: AsScreenshotKind) -> *const c_char;
2016
2017    //=========================================================================
2018    // AsScreenshotMediaKind
2019    //=========================================================================
2020    pub fn as_screenshot_media_kind_get_type() -> GType;
2021
2022    //=========================================================================
2023    // AsSizeKind
2024    //=========================================================================
2025    pub fn as_size_kind_get_type() -> GType;
2026    pub fn as_size_kind_from_string(size_kind: *const c_char) -> AsSizeKind;
2027    pub fn as_size_kind_to_string(size_kind: AsSizeKind) -> *const c_char;
2028
2029    //=========================================================================
2030    // AsSuggestedKind
2031    //=========================================================================
2032    pub fn as_suggested_kind_get_type() -> GType;
2033    pub fn as_suggested_kind_from_string(kind_str: *const c_char) -> AsSuggestedKind;
2034    pub fn as_suggested_kind_to_string(kind: AsSuggestedKind) -> *const c_char;
2035
2036    //=========================================================================
2037    // AsSystemInfoError
2038    //=========================================================================
2039    pub fn as_system_info_error_get_type() -> GType;
2040    pub fn as_system_info_error_quark() -> glib::GQuark;
2041
2042    //=========================================================================
2043    // AsTranslationKind
2044    //=========================================================================
2045    pub fn as_translation_kind_get_type() -> GType;
2046    pub fn as_translation_kind_from_string(kind_str: *const c_char) -> AsTranslationKind;
2047    pub fn as_translation_kind_to_string(kind: AsTranslationKind) -> *const c_char;
2048
2049    //=========================================================================
2050    // AsUrgencyKind
2051    //=========================================================================
2052    pub fn as_urgency_kind_get_type() -> GType;
2053    pub fn as_urgency_kind_from_string(urgency_kind: *const c_char) -> AsUrgencyKind;
2054    pub fn as_urgency_kind_to_string(urgency_kind: AsUrgencyKind) -> *const c_char;
2055
2056    //=========================================================================
2057    // AsUrlKind
2058    //=========================================================================
2059    pub fn as_url_kind_get_type() -> GType;
2060    pub fn as_url_kind_from_string(url_kind: *const c_char) -> AsUrlKind;
2061    pub fn as_url_kind_to_string(url_kind: AsUrlKind) -> *const c_char;
2062
2063    //=========================================================================
2064    // AsUtilsError
2065    //=========================================================================
2066    pub fn as_utils_error_get_type() -> GType;
2067    pub fn as_utils_error_quark() -> glib::GQuark;
2068
2069    //=========================================================================
2070    // AsValidatorError
2071    //=========================================================================
2072    pub fn as_validator_error_get_type() -> GType;
2073    pub fn as_validator_error_quark() -> glib::GQuark;
2074
2075    //=========================================================================
2076    // AsVideoCodecKind
2077    //=========================================================================
2078    pub fn as_video_codec_kind_get_type() -> GType;
2079    pub fn as_video_codec_kind_from_string(str: *const c_char) -> AsVideoCodecKind;
2080    pub fn as_video_codec_kind_to_string(kind: AsVideoCodecKind) -> *const c_char;
2081
2082    //=========================================================================
2083    // AsVideoContainerKind
2084    //=========================================================================
2085    pub fn as_video_container_kind_get_type() -> GType;
2086    pub fn as_video_container_kind_from_string(str: *const c_char) -> AsVideoContainerKind;
2087    pub fn as_video_container_kind_to_string(kind: AsVideoContainerKind) -> *const c_char;
2088
2089    //=========================================================================
2090    // AsCacheFlags
2091    //=========================================================================
2092    pub fn as_cache_flags_get_type() -> GType;
2093
2094    //=========================================================================
2095    // AsComponentBoxFlags
2096    //=========================================================================
2097    pub fn as_component_box_flags_get_type() -> GType;
2098
2099    //=========================================================================
2100    // AsDataIdMatchFlags
2101    //=========================================================================
2102    pub fn as_data_id_match_flags_get_type() -> GType;
2103
2104    //=========================================================================
2105    // AsParseFlags
2106    //=========================================================================
2107    pub fn as_parse_flags_get_type() -> GType;
2108
2109    //=========================================================================
2110    // AsPoolFlags
2111    //=========================================================================
2112    pub fn as_pool_flags_get_type() -> GType;
2113
2114    //=========================================================================
2115    // AsReviewFlags
2116    //=========================================================================
2117    pub fn as_review_flags_get_type() -> GType;
2118
2119    //=========================================================================
2120    // AsValueFlags
2121    //=========================================================================
2122    pub fn as_value_flags_get_type() -> GType;
2123
2124    //=========================================================================
2125    // AsVercmpFlags
2126    //=========================================================================
2127    pub fn as_vercmp_flags_get_type() -> GType;
2128
2129    //=========================================================================
2130    // AsBrandingColorIter
2131    //=========================================================================
2132    pub fn as_branding_color_iter_init(iter: *mut AsBrandingColorIter, branding: *mut AsBranding);
2133    pub fn as_branding_color_iter_next(
2134        iter: *mut AsBrandingColorIter,
2135        kind: *mut AsColorKind,
2136        scheme_preference: *mut AsColorSchemeKind,
2137        value: *mut *const c_char,
2138    ) -> gboolean;
2139
2140    //=========================================================================
2141    // AsAgreement
2142    //=========================================================================
2143    pub fn as_agreement_get_type() -> GType;
2144    pub fn as_agreement_new() -> *mut AsAgreement;
2145    pub fn as_agreement_add_section(
2146        agreement: *mut AsAgreement,
2147        agreement_section: *mut AsAgreementSection,
2148    );
2149    pub fn as_agreement_get_kind(agreement: *mut AsAgreement) -> AsAgreementKind;
2150    pub fn as_agreement_get_section_default(agreement: *mut AsAgreement)
2151        -> *mut AsAgreementSection;
2152    pub fn as_agreement_get_sections(agreement: *mut AsAgreement) -> *mut glib::GPtrArray;
2153    pub fn as_agreement_get_version_id(agreement: *mut AsAgreement) -> *const c_char;
2154    pub fn as_agreement_set_kind(agreement: *mut AsAgreement, kind: AsAgreementKind);
2155    pub fn as_agreement_set_version_id(agreement: *mut AsAgreement, version_id: *const c_char);
2156
2157    //=========================================================================
2158    // AsAgreementSection
2159    //=========================================================================
2160    pub fn as_agreement_section_get_type() -> GType;
2161    pub fn as_agreement_section_new() -> *mut AsAgreementSection;
2162    pub fn as_agreement_section_get_context(
2163        agreement_section: *mut AsAgreementSection,
2164    ) -> *mut AsContext;
2165    pub fn as_agreement_section_get_description(
2166        agreement_section: *mut AsAgreementSection,
2167    ) -> *const c_char;
2168    pub fn as_agreement_section_get_kind(
2169        agreement_section: *mut AsAgreementSection,
2170    ) -> *const c_char;
2171    pub fn as_agreement_section_get_name(
2172        agreement_section: *mut AsAgreementSection,
2173    ) -> *const c_char;
2174    pub fn as_agreement_section_set_context(
2175        agreement_section: *mut AsAgreementSection,
2176        context: *mut AsContext,
2177    );
2178    pub fn as_agreement_section_set_description(
2179        agreement_section: *mut AsAgreementSection,
2180        desc: *const c_char,
2181        locale: *const c_char,
2182    );
2183    pub fn as_agreement_section_set_kind(
2184        agreement_section: *mut AsAgreementSection,
2185        kind: *const c_char,
2186    );
2187    pub fn as_agreement_section_set_name(
2188        agreement_section: *mut AsAgreementSection,
2189        name: *const c_char,
2190        locale: *const c_char,
2191    );
2192
2193    //=========================================================================
2194    // AsArtifact
2195    //=========================================================================
2196    pub fn as_artifact_get_type() -> GType;
2197    pub fn as_artifact_new() -> *mut AsArtifact;
2198    pub fn as_artifact_add_checksum(artifact: *mut AsArtifact, cs: *mut AsChecksum);
2199    pub fn as_artifact_add_location(artifact: *mut AsArtifact, location: *const c_char);
2200    pub fn as_artifact_get_bundle_kind(artifact: *mut AsArtifact) -> AsBundleKind;
2201    pub fn as_artifact_get_checksum(
2202        artifact: *mut AsArtifact,
2203        kind: AsChecksumKind,
2204    ) -> *mut AsChecksum;
2205    pub fn as_artifact_get_checksums(artifact: *mut AsArtifact) -> *mut glib::GPtrArray;
2206    pub fn as_artifact_get_filename(artifact: *mut AsArtifact) -> *const c_char;
2207    pub fn as_artifact_get_kind(artifact: *mut AsArtifact) -> AsArtifactKind;
2208    pub fn as_artifact_get_locations(artifact: *mut AsArtifact) -> *mut glib::GPtrArray;
2209    pub fn as_artifact_get_platform(artifact: *mut AsArtifact) -> *const c_char;
2210    pub fn as_artifact_get_size(artifact: *mut AsArtifact, kind: AsSizeKind) -> u64;
2211    pub fn as_artifact_set_bundle_kind(artifact: *mut AsArtifact, kind: AsBundleKind);
2212    pub fn as_artifact_set_filename(artifact: *mut AsArtifact, filename: *const c_char);
2213    pub fn as_artifact_set_kind(artifact: *mut AsArtifact, kind: AsArtifactKind);
2214    pub fn as_artifact_set_platform(artifact: *mut AsArtifact, platform: *const c_char);
2215    pub fn as_artifact_set_size(artifact: *mut AsArtifact, size: u64, kind: AsSizeKind);
2216
2217    //=========================================================================
2218    // AsBranding
2219    //=========================================================================
2220    pub fn as_branding_get_type() -> GType;
2221    pub fn as_branding_new() -> *mut AsBranding;
2222    pub fn as_branding_get_color(
2223        branding: *mut AsBranding,
2224        kind: AsColorKind,
2225        scheme_kind: AsColorSchemeKind,
2226    ) -> *const c_char;
2227    pub fn as_branding_remove_color(
2228        branding: *mut AsBranding,
2229        kind: AsColorKind,
2230        scheme_preference: AsColorSchemeKind,
2231    );
2232    pub fn as_branding_set_color(
2233        branding: *mut AsBranding,
2234        kind: AsColorKind,
2235        scheme_preference: AsColorSchemeKind,
2236        colorcode: *const c_char,
2237    );
2238
2239    //=========================================================================
2240    // AsBundle
2241    //=========================================================================
2242    pub fn as_bundle_get_type() -> GType;
2243    pub fn as_bundle_new() -> *mut AsBundle;
2244    pub fn as_bundle_get_id(bundle: *mut AsBundle) -> *const c_char;
2245    pub fn as_bundle_get_kind(bundle: *mut AsBundle) -> AsBundleKind;
2246    pub fn as_bundle_set_id(bundle: *mut AsBundle, id: *const c_char);
2247    pub fn as_bundle_set_kind(bundle: *mut AsBundle, kind: AsBundleKind);
2248
2249    //=========================================================================
2250    // AsCategory
2251    //=========================================================================
2252    pub fn as_category_get_type() -> GType;
2253    pub fn as_category_new() -> *mut AsCategory;
2254    pub fn as_category_add_child(category: *mut AsCategory, subcat: *mut AsCategory);
2255    pub fn as_category_add_component(category: *mut AsCategory, cpt: *mut AsComponent);
2256    pub fn as_category_add_desktop_group(category: *mut AsCategory, group_name: *const c_char);
2257    pub fn as_category_get_children(category: *mut AsCategory) -> *mut glib::GPtrArray;
2258    pub fn as_category_get_components(category: *mut AsCategory) -> *mut glib::GPtrArray;
2259    pub fn as_category_get_desktop_groups(category: *mut AsCategory) -> *mut glib::GPtrArray;
2260    pub fn as_category_get_icon(category: *mut AsCategory) -> *const c_char;
2261    pub fn as_category_get_id(category: *mut AsCategory) -> *const c_char;
2262    pub fn as_category_get_name(category: *mut AsCategory) -> *const c_char;
2263    pub fn as_category_get_summary(category: *mut AsCategory) -> *const c_char;
2264    pub fn as_category_has_children(category: *mut AsCategory) -> gboolean;
2265    pub fn as_category_has_component(category: *mut AsCategory, cpt: *mut AsComponent) -> gboolean;
2266    pub fn as_category_remove_child(category: *mut AsCategory, subcat: *mut AsCategory);
2267    pub fn as_category_set_icon(category: *mut AsCategory, value: *const c_char);
2268    pub fn as_category_set_id(category: *mut AsCategory, id: *const c_char);
2269    pub fn as_category_set_name(category: *mut AsCategory, value: *const c_char);
2270    pub fn as_category_set_summary(category: *mut AsCategory, value: *const c_char);
2271
2272    //=========================================================================
2273    // AsChecksum
2274    //=========================================================================
2275    pub fn as_checksum_get_type() -> GType;
2276    pub fn as_checksum_new() -> *mut AsChecksum;
2277    pub fn as_checksum_new_with_value(
2278        kind: AsChecksumKind,
2279        value: *const c_char,
2280    ) -> *mut AsChecksum;
2281    pub fn as_checksum_get_kind(cs: *mut AsChecksum) -> AsChecksumKind;
2282    pub fn as_checksum_get_value(cs: *mut AsChecksum) -> *const c_char;
2283    pub fn as_checksum_set_kind(cs: *mut AsChecksum, kind: AsChecksumKind);
2284    pub fn as_checksum_set_value(cs: *mut AsChecksum, value: *const c_char);
2285
2286    //=========================================================================
2287    // AsComponent
2288    //=========================================================================
2289    pub fn as_component_get_type() -> GType;
2290    pub fn as_component_new() -> *mut AsComponent;
2291    pub fn as_component_add_addon(cpt: *mut AsComponent, addon: *mut AsComponent);
2292    pub fn as_component_add_agreement(cpt: *mut AsComponent, agreement: *mut AsAgreement);
2293    pub fn as_component_add_bundle(cpt: *mut AsComponent, bundle: *mut AsBundle);
2294    pub fn as_component_add_category(cpt: *mut AsComponent, category: *const c_char);
2295    pub fn as_component_add_content_rating(
2296        cpt: *mut AsComponent,
2297        content_rating: *mut AsContentRating,
2298    );
2299    pub fn as_component_add_extends(cpt: *mut AsComponent, cpt_id: *const c_char);
2300    pub fn as_component_add_icon(cpt: *mut AsComponent, icon: *mut AsIcon);
2301    pub fn as_component_add_keyword(
2302        cpt: *mut AsComponent,
2303        keyword: *const c_char,
2304        locale: *const c_char,
2305    );
2306    pub fn as_component_add_language(
2307        cpt: *mut AsComponent,
2308        locale: *const c_char,
2309        percentage: c_int,
2310    );
2311    pub fn as_component_add_launchable(cpt: *mut AsComponent, launchable: *mut AsLaunchable);
2312    pub fn as_component_add_provided(cpt: *mut AsComponent, prov: *mut AsProvided);
2313    pub fn as_component_add_provided_item(
2314        cpt: *mut AsComponent,
2315        kind: AsProvidedKind,
2316        item: *const c_char,
2317    );
2318    pub fn as_component_add_reference(cpt: *mut AsComponent, reference: *mut AsReference);
2319    pub fn as_component_add_relation(cpt: *mut AsComponent, relation: *mut AsRelation);
2320    pub fn as_component_add_release(cpt: *mut AsComponent, release: *mut AsRelease);
2321    pub fn as_component_add_replaces(cpt: *mut AsComponent, cid: *const c_char);
2322    pub fn as_component_add_review(cpt: *mut AsComponent, review: *mut AsReview);
2323    pub fn as_component_add_screenshot(cpt: *mut AsComponent, sshot: *mut AsScreenshot);
2324    pub fn as_component_add_suggested(cpt: *mut AsComponent, suggested: *mut AsSuggested);
2325    pub fn as_component_add_tag(
2326        cpt: *mut AsComponent,
2327        ns: *const c_char,
2328        tag: *const c_char,
2329    ) -> gboolean;
2330    pub fn as_component_add_translation(cpt: *mut AsComponent, tr: *mut AsTranslation);
2331    pub fn as_component_add_url(cpt: *mut AsComponent, url_kind: AsUrlKind, url: *const c_char);
2332    pub fn as_component_check_relations(
2333        cpt: *mut AsComponent,
2334        sysinfo: *mut AsSystemInfo,
2335        pool: *mut AsPool,
2336        rel_kind: AsRelationKind,
2337    ) -> *mut glib::GPtrArray;
2338    pub fn as_component_clear_keywords(cpt: *mut AsComponent, locale: *const c_char);
2339    pub fn as_component_clear_languages(cpt: *mut AsComponent);
2340    pub fn as_component_clear_tags(cpt: *mut AsComponent);
2341    pub fn as_component_get_addons(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2342    pub fn as_component_get_agreement_by_kind(
2343        cpt: *mut AsComponent,
2344        kind: AsAgreementKind,
2345    ) -> *mut AsAgreement;
2346    pub fn as_component_get_agreements(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2347    pub fn as_component_get_branch(cpt: *mut AsComponent) -> *const c_char;
2348    pub fn as_component_get_branding(cpt: *mut AsComponent) -> *mut AsBranding;
2349    pub fn as_component_get_bundle(
2350        cpt: *mut AsComponent,
2351        bundle_kind: AsBundleKind,
2352    ) -> *mut AsBundle;
2353    pub fn as_component_get_bundles(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2354    pub fn as_component_get_categories(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2355    pub fn as_component_get_compulsory_for_desktops(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2356    pub fn as_component_get_content_rating(
2357        cpt: *mut AsComponent,
2358        kind: *const c_char,
2359    ) -> *mut AsContentRating;
2360    pub fn as_component_get_content_ratings(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2361    pub fn as_component_get_context(cpt: *mut AsComponent) -> *mut AsContext;
2362    pub fn as_component_get_custom(cpt: *mut AsComponent) -> *mut glib::GHashTable;
2363    pub fn as_component_get_custom_value(
2364        cpt: *mut AsComponent,
2365        key: *const c_char,
2366    ) -> *const c_char;
2367    pub fn as_component_get_data_id(cpt: *mut AsComponent) -> *const c_char;
2368    pub fn as_component_get_date_eol(cpt: *mut AsComponent) -> *const c_char;
2369    pub fn as_component_get_description(cpt: *mut AsComponent) -> *const c_char;
2370    pub fn as_component_get_developer(cpt: *mut AsComponent) -> *mut AsDeveloper;
2371    pub fn as_component_get_extends(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2372    pub fn as_component_get_icon_by_size(
2373        cpt: *mut AsComponent,
2374        width: c_uint,
2375        height: c_uint,
2376    ) -> *mut AsIcon;
2377    pub fn as_component_get_icon_stock(cpt: *mut AsComponent) -> *mut AsIcon;
2378    pub fn as_component_get_icons(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2379    pub fn as_component_get_id(cpt: *mut AsComponent) -> *const c_char;
2380    pub fn as_component_get_keywords(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2381    pub fn as_component_get_keywords_table(cpt: *mut AsComponent) -> *mut glib::GHashTable;
2382    pub fn as_component_get_kind(cpt: *mut AsComponent) -> AsComponentKind;
2383    pub fn as_component_get_language(cpt: *mut AsComponent, locale: *const c_char) -> c_int;
2384    pub fn as_component_get_languages(cpt: *mut AsComponent) -> *mut glib::GList;
2385    pub fn as_component_get_launchable(
2386        cpt: *mut AsComponent,
2387        kind: AsLaunchableKind,
2388    ) -> *mut AsLaunchable;
2389    pub fn as_component_get_launchables(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2390    pub fn as_component_get_merge_kind(cpt: *mut AsComponent) -> AsMergeKind;
2391    pub fn as_component_get_metadata_license(cpt: *mut AsComponent) -> *const c_char;
2392    pub fn as_component_get_name(cpt: *mut AsComponent) -> *const c_char;
2393    pub fn as_component_get_name_table(cpt: *mut AsComponent) -> *mut glib::GHashTable;
2394    pub fn as_component_get_name_variant_suffix(cpt: *mut AsComponent) -> *const c_char;
2395    pub fn as_component_get_origin(cpt: *mut AsComponent) -> *const c_char;
2396    pub fn as_component_get_pkgname(cpt: *mut AsComponent) -> *mut c_char;
2397    pub fn as_component_get_pkgnames(cpt: *mut AsComponent) -> *mut *mut c_char;
2398    pub fn as_component_get_priority(cpt: *mut AsComponent) -> c_int;
2399    pub fn as_component_get_project_group(cpt: *mut AsComponent) -> *const c_char;
2400    pub fn as_component_get_project_license(cpt: *mut AsComponent) -> *const c_char;
2401    pub fn as_component_get_provided(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2402    pub fn as_component_get_provided_for_kind(
2403        cpt: *mut AsComponent,
2404        kind: AsProvidedKind,
2405    ) -> *mut AsProvided;
2406    pub fn as_component_get_recommends(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2407    pub fn as_component_get_references(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2408    pub fn as_component_get_releases_plain(cpt: *mut AsComponent) -> *mut AsReleaseList;
2409    pub fn as_component_get_replaces(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2410    pub fn as_component_get_requires(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2411    pub fn as_component_get_reviews(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2412    pub fn as_component_get_scope(cpt: *mut AsComponent) -> AsComponentScope;
2413    pub fn as_component_get_screenshots_all(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2414    pub fn as_component_get_search_tokens(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2415    pub fn as_component_get_sort_score(cpt: *mut AsComponent) -> c_uint;
2416    pub fn as_component_get_source_pkgname(cpt: *mut AsComponent) -> *const c_char;
2417    pub fn as_component_get_suggested(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2418    pub fn as_component_get_summary(cpt: *mut AsComponent) -> *const c_char;
2419    pub fn as_component_get_summary_table(cpt: *mut AsComponent) -> *mut glib::GHashTable;
2420    pub fn as_component_get_supports(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2421    pub fn as_component_get_system_compatibility_score(
2422        cpt: *mut AsComponent,
2423        sysinfo: *mut AsSystemInfo,
2424        is_template: gboolean,
2425        results: *mut *mut glib::GPtrArray,
2426    ) -> c_int;
2427    pub fn as_component_get_timestamp_eol(cpt: *mut AsComponent) -> u64;
2428    pub fn as_component_get_translations(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
2429    pub fn as_component_get_url(cpt: *mut AsComponent, url_kind: AsUrlKind) -> *const c_char;
2430    pub fn as_component_has_bundle(cpt: *mut AsComponent) -> gboolean;
2431    pub fn as_component_has_category(cpt: *mut AsComponent, category: *const c_char) -> gboolean;
2432    pub fn as_component_has_tag(
2433        cpt: *mut AsComponent,
2434        ns: *const c_char,
2435        tag: *const c_char,
2436    ) -> gboolean;
2437    pub fn as_component_insert_custom_value(
2438        cpt: *mut AsComponent,
2439        key: *const c_char,
2440        value: *const c_char,
2441    ) -> gboolean;
2442    pub fn as_component_is_compulsory_for_desktop(
2443        cpt: *mut AsComponent,
2444        desktop: *const c_char,
2445    ) -> gboolean;
2446    pub fn as_component_is_floss(cpt: *mut AsComponent) -> gboolean;
2447    pub fn as_component_is_ignored(cpt: *mut AsComponent) -> gboolean;
2448    pub fn as_component_is_member_of_category(
2449        cpt: *mut AsComponent,
2450        category: *mut AsCategory,
2451    ) -> gboolean;
2452    pub fn as_component_is_valid(cpt: *mut AsComponent) -> gboolean;
2453    pub fn as_component_load_from_bytes(
2454        cpt: *mut AsComponent,
2455        context: *mut AsContext,
2456        format: AsFormatKind,
2457        bytes: *mut glib::GBytes,
2458        error: *mut *mut glib::GError,
2459    ) -> gboolean;
2460    pub fn as_component_load_releases(
2461        cpt: *mut AsComponent,
2462        allow_net: gboolean,
2463        error: *mut *mut glib::GError,
2464    ) -> *mut AsReleaseList;
2465    pub fn as_component_remove_tag(
2466        cpt: *mut AsComponent,
2467        ns: *const c_char,
2468        tag: *const c_char,
2469    ) -> gboolean;
2470    pub fn as_component_search_matches(cpt: *mut AsComponent, term: *const c_char) -> c_uint;
2471    pub fn as_component_search_matches_all(
2472        cpt: *mut AsComponent,
2473        terms: *mut *mut c_char,
2474    ) -> c_uint;
2475    pub fn as_component_set_branch(cpt: *mut AsComponent, branch: *const c_char);
2476    pub fn as_component_set_branding(cpt: *mut AsComponent, branding: *mut AsBranding);
2477    pub fn as_component_set_compulsory_for_desktop(cpt: *mut AsComponent, desktop: *const c_char);
2478    pub fn as_component_set_context(cpt: *mut AsComponent, context: *mut AsContext);
2479    pub fn as_component_set_context_locale(cpt: *mut AsComponent, locale: *const c_char);
2480    pub fn as_component_set_data_id(cpt: *mut AsComponent, value: *const c_char);
2481    pub fn as_component_set_date_eol(cpt: *mut AsComponent, date: *const c_char);
2482    pub fn as_component_set_description(
2483        cpt: *mut AsComponent,
2484        value: *const c_char,
2485        locale: *const c_char,
2486    );
2487    pub fn as_component_set_developer(cpt: *mut AsComponent, developer: *mut AsDeveloper);
2488    pub fn as_component_set_id(cpt: *mut AsComponent, value: *const c_char);
2489    pub fn as_component_set_keywords(
2490        cpt: *mut AsComponent,
2491        new_keywords: *mut glib::GPtrArray,
2492        locale: *const c_char,
2493        deep_copy: gboolean,
2494    );
2495    pub fn as_component_set_kind(cpt: *mut AsComponent, value: AsComponentKind);
2496    pub fn as_component_set_merge_kind(cpt: *mut AsComponent, kind: AsMergeKind);
2497    pub fn as_component_set_metadata_license(cpt: *mut AsComponent, value: *const c_char);
2498    pub fn as_component_set_name(
2499        cpt: *mut AsComponent,
2500        value: *const c_char,
2501        locale: *const c_char,
2502    );
2503    pub fn as_component_set_name_variant_suffix(
2504        cpt: *mut AsComponent,
2505        value: *const c_char,
2506        locale: *const c_char,
2507    );
2508    pub fn as_component_set_origin(cpt: *mut AsComponent, origin: *const c_char);
2509    pub fn as_component_set_pkgname(cpt: *mut AsComponent, pkgname: *const c_char);
2510    pub fn as_component_set_pkgnames(cpt: *mut AsComponent, packages: *mut *mut c_char);
2511    pub fn as_component_set_priority(cpt: *mut AsComponent, priority: c_int);
2512    pub fn as_component_set_project_group(cpt: *mut AsComponent, value: *const c_char);
2513    pub fn as_component_set_project_license(cpt: *mut AsComponent, value: *const c_char);
2514    pub fn as_component_set_releases(cpt: *mut AsComponent, releases: *mut AsReleaseList);
2515    pub fn as_component_set_scope(cpt: *mut AsComponent, scope: AsComponentScope);
2516    pub fn as_component_set_sort_score(cpt: *mut AsComponent, score: c_uint);
2517    pub fn as_component_set_source_pkgname(cpt: *mut AsComponent, spkgname: *const c_char);
2518    pub fn as_component_set_summary(
2519        cpt: *mut AsComponent,
2520        value: *const c_char,
2521        locale: *const c_char,
2522    );
2523    pub fn as_component_sort_screenshots(
2524        cpt: *mut AsComponent,
2525        environment: *const c_char,
2526        style: *const c_char,
2527        prioritize_style: gboolean,
2528    );
2529    pub fn as_component_to_string(cpt: *mut AsComponent) -> *mut c_char;
2530    pub fn as_component_to_xml_data(
2531        cpt: *mut AsComponent,
2532        context: *mut AsContext,
2533        error: *mut *mut glib::GError,
2534    ) -> *mut c_char;
2535
2536    //=========================================================================
2537    // AsComponentBox
2538    //=========================================================================
2539    pub fn as_component_box_get_type() -> GType;
2540    pub fn as_component_box_new(flags: AsComponentBoxFlags) -> *mut AsComponentBox;
2541    pub fn as_component_box_new_simple() -> *mut AsComponentBox;
2542    pub fn as_component_box_add(
2543        cbox: *mut AsComponentBox,
2544        cpt: *mut AsComponent,
2545        error: *mut *mut glib::GError,
2546    ) -> gboolean;
2547    pub fn as_component_box_as_array(cbox: *mut AsComponentBox) -> *mut glib::GPtrArray;
2548    pub fn as_component_box_clear(cbox: *mut AsComponentBox);
2549    pub fn as_component_box_get_flags(cbox: *mut AsComponentBox) -> AsComponentBoxFlags;
2550    pub fn as_component_box_get_size(cbox: *mut AsComponentBox) -> c_uint;
2551    pub fn as_component_box_index_safe(
2552        cbox: *mut AsComponentBox,
2553        index: c_uint,
2554    ) -> *mut AsComponent;
2555    pub fn as_component_box_is_empty(cbox: *mut AsComponentBox) -> gboolean;
2556    pub fn as_component_box_remove_at(cbox: *mut AsComponentBox, index: c_uint);
2557    pub fn as_component_box_sort(cbox: *mut AsComponentBox);
2558    pub fn as_component_box_sort_by_score(cbox: *mut AsComponentBox);
2559
2560    //=========================================================================
2561    // AsContentRating
2562    //=========================================================================
2563    pub fn as_content_rating_get_type() -> GType;
2564    pub fn as_content_rating_new() -> *mut AsContentRating;
2565    pub fn as_content_rating_attribute_from_csm_age(
2566        id: *const c_char,
2567        age: c_uint,
2568    ) -> AsContentRatingValue;
2569    pub fn as_content_rating_attribute_get_description(
2570        id: *const c_char,
2571        value: AsContentRatingValue,
2572    ) -> *const c_char;
2573    pub fn as_content_rating_attribute_to_csm_age(
2574        id: *const c_char,
2575        value: AsContentRatingValue,
2576    ) -> c_uint;
2577    pub fn as_content_rating_get_all_rating_ids() -> *mut *const c_char;
2578    pub fn as_content_rating_add_attribute(
2579        content_rating: *mut AsContentRating,
2580        id: *const c_char,
2581        value: AsContentRatingValue,
2582    );
2583    pub fn as_content_rating_get_kind(content_rating: *mut AsContentRating) -> *const c_char;
2584    pub fn as_content_rating_get_minimum_age(content_rating: *mut AsContentRating) -> c_uint;
2585    pub fn as_content_rating_get_rating_ids(
2586        content_rating: *mut AsContentRating,
2587    ) -> *mut *const c_char;
2588    pub fn as_content_rating_get_value(
2589        content_rating: *mut AsContentRating,
2590        id: *const c_char,
2591    ) -> AsContentRatingValue;
2592    pub fn as_content_rating_set_kind(content_rating: *mut AsContentRating, kind: *const c_char);
2593    pub fn as_content_rating_set_value(
2594        content_rating: *mut AsContentRating,
2595        id: *const c_char,
2596        value: AsContentRatingValue,
2597    );
2598
2599    //=========================================================================
2600    // AsContext
2601    //=========================================================================
2602    pub fn as_context_get_type() -> GType;
2603    pub fn as_context_new() -> *mut AsContext;
2604    pub fn as_context_get_filename(ctx: *mut AsContext) -> *const c_char;
2605    pub fn as_context_get_format_version(ctx: *mut AsContext) -> AsFormatVersion;
2606    pub fn as_context_get_locale(ctx: *mut AsContext) -> *const c_char;
2607    pub fn as_context_get_locale_use_all(ctx: *mut AsContext) -> gboolean;
2608    pub fn as_context_get_media_baseurl(ctx: *mut AsContext) -> *const c_char;
2609    pub fn as_context_get_origin(ctx: *mut AsContext) -> *const c_char;
2610    pub fn as_context_get_priority(ctx: *mut AsContext) -> c_int;
2611    pub fn as_context_get_style(ctx: *mut AsContext) -> AsFormatStyle;
2612    pub fn as_context_get_value_flags(ctx: *mut AsContext) -> AsValueFlags;
2613    pub fn as_context_has_media_baseurl(ctx: *mut AsContext) -> gboolean;
2614    pub fn as_context_set_filename(ctx: *mut AsContext, fname: *const c_char);
2615    pub fn as_context_set_format_version(ctx: *mut AsContext, ver: AsFormatVersion);
2616    pub fn as_context_set_locale(ctx: *mut AsContext, locale: *const c_char);
2617    pub fn as_context_set_media_baseurl(ctx: *mut AsContext, value: *const c_char);
2618    pub fn as_context_set_origin(ctx: *mut AsContext, value: *const c_char);
2619    pub fn as_context_set_priority(ctx: *mut AsContext, priority: c_int);
2620    pub fn as_context_set_style(ctx: *mut AsContext, style: AsFormatStyle);
2621    pub fn as_context_set_value_flags(ctx: *mut AsContext, flags: AsValueFlags);
2622
2623    //=========================================================================
2624    // AsDeveloper
2625    //=========================================================================
2626    pub fn as_developer_get_type() -> GType;
2627    pub fn as_developer_new() -> *mut AsDeveloper;
2628    pub fn as_developer_get_id(devp: *mut AsDeveloper) -> *const c_char;
2629    pub fn as_developer_get_name(devp: *mut AsDeveloper) -> *const c_char;
2630    pub fn as_developer_set_id(devp: *mut AsDeveloper, id: *const c_char);
2631    pub fn as_developer_set_name(
2632        devp: *mut AsDeveloper,
2633        value: *const c_char,
2634        locale: *const c_char,
2635    );
2636
2637    //=========================================================================
2638    // AsIcon
2639    //=========================================================================
2640    pub fn as_icon_get_type() -> GType;
2641    pub fn as_icon_new() -> *mut AsIcon;
2642    pub fn as_icon_get_filename(icon: *mut AsIcon) -> *const c_char;
2643    pub fn as_icon_get_height(icon: *mut AsIcon) -> c_uint;
2644    pub fn as_icon_get_kind(icon: *mut AsIcon) -> AsIconKind;
2645    pub fn as_icon_get_name(icon: *mut AsIcon) -> *const c_char;
2646    pub fn as_icon_get_scale(icon: *mut AsIcon) -> c_uint;
2647    pub fn as_icon_get_url(icon: *mut AsIcon) -> *const c_char;
2648    pub fn as_icon_get_width(icon: *mut AsIcon) -> c_uint;
2649    pub fn as_icon_set_filename(icon: *mut AsIcon, filename: *const c_char);
2650    pub fn as_icon_set_height(icon: *mut AsIcon, height: c_uint);
2651    pub fn as_icon_set_kind(icon: *mut AsIcon, kind: AsIconKind);
2652    pub fn as_icon_set_name(icon: *mut AsIcon, name: *const c_char);
2653    pub fn as_icon_set_scale(icon: *mut AsIcon, scale: c_uint);
2654    pub fn as_icon_set_url(icon: *mut AsIcon, url: *const c_char);
2655    pub fn as_icon_set_width(icon: *mut AsIcon, width: c_uint);
2656
2657    //=========================================================================
2658    // AsImage
2659    //=========================================================================
2660    pub fn as_image_get_type() -> GType;
2661    pub fn as_image_new() -> *mut AsImage;
2662    pub fn as_image_get_height(image: *mut AsImage) -> c_uint;
2663    pub fn as_image_get_kind(image: *mut AsImage) -> AsImageKind;
2664    pub fn as_image_get_locale(image: *mut AsImage) -> *const c_char;
2665    pub fn as_image_get_scale(image: *mut AsImage) -> c_uint;
2666    pub fn as_image_get_url(image: *mut AsImage) -> *const c_char;
2667    pub fn as_image_get_width(image: *mut AsImage) -> c_uint;
2668    pub fn as_image_set_height(image: *mut AsImage, height: c_uint);
2669    pub fn as_image_set_kind(image: *mut AsImage, kind: AsImageKind);
2670    pub fn as_image_set_locale(image: *mut AsImage, locale: *const c_char);
2671    pub fn as_image_set_scale(image: *mut AsImage, scale: c_uint);
2672    pub fn as_image_set_url(image: *mut AsImage, url: *const c_char);
2673    pub fn as_image_set_width(image: *mut AsImage, width: c_uint);
2674
2675    //=========================================================================
2676    // AsIssue
2677    //=========================================================================
2678    pub fn as_issue_get_type() -> GType;
2679    pub fn as_issue_new() -> *mut AsIssue;
2680    pub fn as_issue_get_id(issue: *mut AsIssue) -> *const c_char;
2681    pub fn as_issue_get_kind(issue: *mut AsIssue) -> AsIssueKind;
2682    pub fn as_issue_get_url(issue: *mut AsIssue) -> *const c_char;
2683    pub fn as_issue_set_id(issue: *mut AsIssue, id: *const c_char);
2684    pub fn as_issue_set_kind(issue: *mut AsIssue, kind: AsIssueKind);
2685    pub fn as_issue_set_url(issue: *mut AsIssue, url: *const c_char);
2686
2687    //=========================================================================
2688    // AsLaunchable
2689    //=========================================================================
2690    pub fn as_launchable_get_type() -> GType;
2691    pub fn as_launchable_new() -> *mut AsLaunchable;
2692    pub fn as_launchable_add_entry(launch: *mut AsLaunchable, entry: *const c_char);
2693    pub fn as_launchable_get_entries(launch: *mut AsLaunchable) -> *mut glib::GPtrArray;
2694    pub fn as_launchable_get_kind(launch: *mut AsLaunchable) -> AsLaunchableKind;
2695    pub fn as_launchable_set_kind(launch: *mut AsLaunchable, kind: AsLaunchableKind);
2696
2697    //=========================================================================
2698    // AsMetadata
2699    //=========================================================================
2700    pub fn as_metadata_get_type() -> GType;
2701    pub fn as_metadata_new() -> *mut AsMetadata;
2702    pub fn as_metadata_file_guess_style(filename: *const c_char) -> AsFormatStyle;
2703    pub fn as_metadata_add_component(metad: *mut AsMetadata, cpt: *mut AsComponent);
2704    pub fn as_metadata_clear_components(metad: *mut AsMetadata);
2705    pub fn as_metadata_clear_releases(metad: *mut AsMetadata);
2706    pub fn as_metadata_component_to_metainfo(
2707        metad: *mut AsMetadata,
2708        format: AsFormatKind,
2709        error: *mut *mut glib::GError,
2710    ) -> *mut c_char;
2711    pub fn as_metadata_components_to_catalog(
2712        metad: *mut AsMetadata,
2713        format: AsFormatKind,
2714        error: *mut *mut glib::GError,
2715    ) -> *mut c_char;
2716    pub fn as_metadata_get_architecture(metad: *mut AsMetadata) -> *const c_char;
2717    pub fn as_metadata_get_component(metad: *mut AsMetadata) -> *mut AsComponent;
2718    pub fn as_metadata_get_components(metad: *mut AsMetadata) -> *mut AsComponentBox;
2719    pub fn as_metadata_get_format_style(metad: *mut AsMetadata) -> AsFormatStyle;
2720    pub fn as_metadata_get_format_version(metad: *mut AsMetadata) -> AsFormatVersion;
2721    pub fn as_metadata_get_locale(metad: *mut AsMetadata) -> *const c_char;
2722    pub fn as_metadata_get_media_baseurl(metad: *mut AsMetadata) -> *const c_char;
2723    pub fn as_metadata_get_origin(metad: *mut AsMetadata) -> *const c_char;
2724    pub fn as_metadata_get_parse_flags(metad: *mut AsMetadata) -> AsParseFlags;
2725    pub fn as_metadata_get_release_list(metad: *mut AsMetadata) -> *mut AsReleaseList;
2726    pub fn as_metadata_get_release_lists(metad: *mut AsMetadata) -> *mut glib::GPtrArray;
2727    pub fn as_metadata_get_update_existing(metad: *mut AsMetadata) -> gboolean;
2728    pub fn as_metadata_get_write_header(metad: *mut AsMetadata) -> gboolean;
2729    pub fn as_metadata_parse_bytes(
2730        metad: *mut AsMetadata,
2731        bytes: *mut glib::GBytes,
2732        format: AsFormatKind,
2733        error: *mut *mut glib::GError,
2734    ) -> gboolean;
2735    pub fn as_metadata_parse_data(
2736        metad: *mut AsMetadata,
2737        data: *const c_char,
2738        data_len: ssize_t,
2739        format: AsFormatKind,
2740        error: *mut *mut glib::GError,
2741    ) -> gboolean;
2742    pub fn as_metadata_parse_desktop_data(
2743        metad: *mut AsMetadata,
2744        cid: *const c_char,
2745        data: *const c_char,
2746        data_len: ssize_t,
2747        error: *mut *mut glib::GError,
2748    ) -> gboolean;
2749    pub fn as_metadata_parse_file(
2750        metad: *mut AsMetadata,
2751        file: *mut gio::GFile,
2752        format: AsFormatKind,
2753        error: *mut *mut glib::GError,
2754    ) -> gboolean;
2755    pub fn as_metadata_parse_releases_bytes(
2756        metad: *mut AsMetadata,
2757        bytes: *mut glib::GBytes,
2758        error: *mut *mut glib::GError,
2759    ) -> gboolean;
2760    pub fn as_metadata_parse_releases_file(
2761        metad: *mut AsMetadata,
2762        file: *mut gio::GFile,
2763        error: *mut *mut glib::GError,
2764    ) -> gboolean;
2765    pub fn as_metadata_releases_to_data(
2766        metad: *mut AsMetadata,
2767        releases: *mut AsReleaseList,
2768        error: *mut *mut glib::GError,
2769    ) -> *mut c_char;
2770    pub fn as_metadata_save_catalog(
2771        metad: *mut AsMetadata,
2772        fname: *const c_char,
2773        format: AsFormatKind,
2774        error: *mut *mut glib::GError,
2775    ) -> gboolean;
2776    pub fn as_metadata_save_metainfo(
2777        metad: *mut AsMetadata,
2778        fname: *const c_char,
2779        format: AsFormatKind,
2780        error: *mut *mut glib::GError,
2781    ) -> gboolean;
2782    pub fn as_metadata_set_architecture(metad: *mut AsMetadata, arch: *const c_char);
2783    pub fn as_metadata_set_format_style(metad: *mut AsMetadata, mode: AsFormatStyle);
2784    pub fn as_metadata_set_format_version(metad: *mut AsMetadata, version: AsFormatVersion);
2785    pub fn as_metadata_set_locale(metad: *mut AsMetadata, locale: *const c_char);
2786    pub fn as_metadata_set_media_baseurl(metad: *mut AsMetadata, url: *const c_char);
2787    pub fn as_metadata_set_origin(metad: *mut AsMetadata, origin: *const c_char);
2788    pub fn as_metadata_set_parse_flags(metad: *mut AsMetadata, flags: AsParseFlags);
2789    pub fn as_metadata_set_update_existing(metad: *mut AsMetadata, update: gboolean);
2790    pub fn as_metadata_set_write_header(metad: *mut AsMetadata, wheader: gboolean);
2791
2792    //=========================================================================
2793    // AsPool
2794    //=========================================================================
2795    pub fn as_pool_get_type() -> GType;
2796    pub fn as_pool_new() -> *mut AsPool;
2797    pub fn as_pool_add_components(
2798        pool: *mut AsPool,
2799        cbox: *mut AsComponentBox,
2800        error: *mut *mut glib::GError,
2801    ) -> gboolean;
2802    pub fn as_pool_add_extra_data_location(
2803        pool: *mut AsPool,
2804        directory: *const c_char,
2805        format_style: AsFormatStyle,
2806    );
2807    pub fn as_pool_add_flags(pool: *mut AsPool, flags: AsPoolFlags);
2808    pub fn as_pool_build_search_tokens(
2809        pool: *mut AsPool,
2810        search: *const c_char,
2811    ) -> *mut *mut c_char;
2812    pub fn as_pool_clear(pool: *mut AsPool);
2813    pub fn as_pool_get_components(pool: *mut AsPool) -> *mut AsComponentBox;
2814    pub fn as_pool_get_components_by_bundle_id(
2815        pool: *mut AsPool,
2816        kind: AsBundleKind,
2817        bundle_id: *const c_char,
2818        match_prefix: gboolean,
2819    ) -> *mut AsComponentBox;
2820    pub fn as_pool_get_components_by_categories(
2821        pool: *mut AsPool,
2822        categories: *mut *mut c_char,
2823    ) -> *mut AsComponentBox;
2824    pub fn as_pool_get_components_by_extends(
2825        pool: *mut AsPool,
2826        extended_id: *const c_char,
2827    ) -> *mut AsComponentBox;
2828    pub fn as_pool_get_components_by_id(
2829        pool: *mut AsPool,
2830        cid: *const c_char,
2831    ) -> *mut AsComponentBox;
2832    pub fn as_pool_get_components_by_kind(
2833        pool: *mut AsPool,
2834        kind: AsComponentKind,
2835    ) -> *mut AsComponentBox;
2836    pub fn as_pool_get_components_by_launchable(
2837        pool: *mut AsPool,
2838        kind: AsLaunchableKind,
2839        id: *const c_char,
2840    ) -> *mut AsComponentBox;
2841    pub fn as_pool_get_components_by_provided_item(
2842        pool: *mut AsPool,
2843        kind: AsProvidedKind,
2844        item: *const c_char,
2845    ) -> *mut AsComponentBox;
2846    pub fn as_pool_get_flags(pool: *mut AsPool) -> AsPoolFlags;
2847    pub fn as_pool_get_locale(pool: *mut AsPool) -> *const c_char;
2848    pub fn as_pool_is_empty(pool: *mut AsPool) -> gboolean;
2849    pub fn as_pool_load(
2850        pool: *mut AsPool,
2851        cancellable: *mut gio::GCancellable,
2852        error: *mut *mut glib::GError,
2853    ) -> gboolean;
2854    pub fn as_pool_load_async(
2855        pool: *mut AsPool,
2856        cancellable: *mut gio::GCancellable,
2857        callback: gio::GAsyncReadyCallback,
2858        user_data: gpointer,
2859    );
2860    pub fn as_pool_load_finish(
2861        pool: *mut AsPool,
2862        result: *mut gio::GAsyncResult,
2863        error: *mut *mut glib::GError,
2864    ) -> gboolean;
2865    pub fn as_pool_remove_flags(pool: *mut AsPool, flags: AsPoolFlags);
2866    pub fn as_pool_reset_extra_data_locations(pool: *mut AsPool);
2867    pub fn as_pool_search(pool: *mut AsPool, search: *const c_char) -> *mut AsComponentBox;
2868    pub fn as_pool_set_flags(pool: *mut AsPool, flags: AsPoolFlags);
2869    pub fn as_pool_set_load_std_data_locations(pool: *mut AsPool, enabled: gboolean);
2870    pub fn as_pool_set_locale(pool: *mut AsPool, locale: *const c_char);
2871
2872    //=========================================================================
2873    // AsProvided
2874    //=========================================================================
2875    pub fn as_provided_get_type() -> GType;
2876    pub fn as_provided_new() -> *mut AsProvided;
2877    pub fn as_provided_add_item(prov: *mut AsProvided, item: *const c_char);
2878    pub fn as_provided_get_items(prov: *mut AsProvided) -> *mut glib::GPtrArray;
2879    pub fn as_provided_get_kind(prov: *mut AsProvided) -> AsProvidedKind;
2880    pub fn as_provided_has_item(prov: *mut AsProvided, item: *const c_char) -> gboolean;
2881    pub fn as_provided_set_kind(prov: *mut AsProvided, kind: AsProvidedKind);
2882
2883    //=========================================================================
2884    // AsReference
2885    //=========================================================================
2886    pub fn as_reference_get_type() -> GType;
2887    pub fn as_reference_new() -> *mut AsReference;
2888    pub fn as_reference_get_kind(reference: *mut AsReference) -> AsReferenceKind;
2889    pub fn as_reference_get_registry_name(reference: *mut AsReference) -> *const c_char;
2890    pub fn as_reference_get_value(reference: *mut AsReference) -> *const c_char;
2891    pub fn as_reference_set_kind(reference: *mut AsReference, kind: AsReferenceKind);
2892    pub fn as_reference_set_registry_name(reference: *mut AsReference, name: *const c_char);
2893    pub fn as_reference_set_value(reference: *mut AsReference, value: *const c_char);
2894
2895    //=========================================================================
2896    // AsRelation
2897    //=========================================================================
2898    pub fn as_relation_get_type() -> GType;
2899    pub fn as_relation_new() -> *mut AsRelation;
2900    pub fn as_relation_check_results_get_compatibility_score(
2901        rc_results: *mut glib::GPtrArray,
2902    ) -> c_int;
2903    pub fn as_relation_get_compare(relation: *mut AsRelation) -> AsRelationCompare;
2904    pub fn as_relation_get_display_side_kind(relation: *mut AsRelation) -> AsDisplaySideKind;
2905    pub fn as_relation_get_item_kind(relation: *mut AsRelation) -> AsRelationItemKind;
2906    pub fn as_relation_get_kind(relation: *mut AsRelation) -> AsRelationKind;
2907    pub fn as_relation_get_value_control_kind(relation: *mut AsRelation) -> AsControlKind;
2908    pub fn as_relation_get_value_int(relation: *mut AsRelation) -> c_int;
2909    pub fn as_relation_get_value_internet_bandwidth(relation: *mut AsRelation) -> c_uint;
2910    pub fn as_relation_get_value_internet_kind(relation: *mut AsRelation) -> AsInternetKind;
2911    pub fn as_relation_get_value_px(relation: *mut AsRelation) -> c_int;
2912    pub fn as_relation_get_value_str(relation: *mut AsRelation) -> *const c_char;
2913    pub fn as_relation_get_version(relation: *mut AsRelation) -> *const c_char;
2914    pub fn as_relation_is_satisfied(
2915        relation: *mut AsRelation,
2916        system_info: *mut AsSystemInfo,
2917        pool: *mut AsPool,
2918        error: *mut *mut glib::GError,
2919    ) -> *mut AsRelationCheckResult;
2920    pub fn as_relation_set_compare(relation: *mut AsRelation, compare: AsRelationCompare);
2921    pub fn as_relation_set_display_side_kind(relation: *mut AsRelation, kind: AsDisplaySideKind);
2922    pub fn as_relation_set_item_kind(relation: *mut AsRelation, kind: AsRelationItemKind);
2923    pub fn as_relation_set_kind(relation: *mut AsRelation, kind: AsRelationKind);
2924    pub fn as_relation_set_value_control_kind(relation: *mut AsRelation, kind: AsControlKind);
2925    pub fn as_relation_set_value_int(relation: *mut AsRelation, value: c_int);
2926    pub fn as_relation_set_value_internet_bandwidth(
2927        relation: *mut AsRelation,
2928        bandwidth_mbitps: c_uint,
2929    );
2930    pub fn as_relation_set_value_internet_kind(relation: *mut AsRelation, kind: AsInternetKind);
2931    pub fn as_relation_set_value_px(relation: *mut AsRelation, logical_px: c_int);
2932    pub fn as_relation_set_value_str(relation: *mut AsRelation, value: *const c_char);
2933    pub fn as_relation_set_version(relation: *mut AsRelation, version: *const c_char);
2934    pub fn as_relation_version_compare(
2935        relation: *mut AsRelation,
2936        version: *const c_char,
2937        error: *mut *mut glib::GError,
2938    ) -> gboolean;
2939
2940    //=========================================================================
2941    // AsRelationCheckResult
2942    //=========================================================================
2943    pub fn as_relation_check_result_get_type() -> GType;
2944    pub fn as_relation_check_result_new() -> *mut AsRelationCheckResult;
2945    pub fn as_relation_check_result_get_error_code(
2946        relcr: *mut AsRelationCheckResult,
2947    ) -> AsRelationError;
2948    pub fn as_relation_check_result_get_message(relcr: *mut AsRelationCheckResult)
2949        -> *const c_char;
2950    pub fn as_relation_check_result_get_relation(
2951        relcr: *mut AsRelationCheckResult,
2952    ) -> *mut AsRelation;
2953    pub fn as_relation_check_result_get_status(
2954        relcr: *mut AsRelationCheckResult,
2955    ) -> AsRelationStatus;
2956    pub fn as_relation_check_result_set_error_code(
2957        relcr: *mut AsRelationCheckResult,
2958        ecode: AsRelationError,
2959    );
2960    pub fn as_relation_check_result_set_message(
2961        relcr: *mut AsRelationCheckResult,
2962        format: *const c_char,
2963        ...
2964    );
2965    pub fn as_relation_check_result_set_relation(
2966        relcr: *mut AsRelationCheckResult,
2967        relation: *mut AsRelation,
2968    );
2969    pub fn as_relation_check_result_set_status(
2970        relcr: *mut AsRelationCheckResult,
2971        status: AsRelationStatus,
2972    );
2973
2974    //=========================================================================
2975    // AsRelease
2976    //=========================================================================
2977    pub fn as_release_get_type() -> GType;
2978    pub fn as_release_new() -> *mut AsRelease;
2979    pub fn as_release_add_artifact(release: *mut AsRelease, artifact: *mut AsArtifact);
2980    pub fn as_release_add_issue(release: *mut AsRelease, issue: *mut AsIssue);
2981    pub fn as_release_add_tag(
2982        release: *mut AsRelease,
2983        ns: *const c_char,
2984        tag: *const c_char,
2985    ) -> gboolean;
2986    pub fn as_release_clear_tags(release: *mut AsRelease);
2987    pub fn as_release_get_artifacts(release: *mut AsRelease) -> *mut glib::GPtrArray;
2988    pub fn as_release_get_context(release: *mut AsRelease) -> *mut AsContext;
2989    pub fn as_release_get_date(release: *mut AsRelease) -> *const c_char;
2990    pub fn as_release_get_date_eol(release: *mut AsRelease) -> *const c_char;
2991    pub fn as_release_get_description(release: *mut AsRelease) -> *const c_char;
2992    pub fn as_release_get_issues(release: *mut AsRelease) -> *mut glib::GPtrArray;
2993    pub fn as_release_get_kind(release: *mut AsRelease) -> AsReleaseKind;
2994    pub fn as_release_get_timestamp(release: *mut AsRelease) -> u64;
2995    pub fn as_release_get_timestamp_eol(release: *mut AsRelease) -> u64;
2996    pub fn as_release_get_urgency(release: *mut AsRelease) -> AsUrgencyKind;
2997    pub fn as_release_get_url(release: *mut AsRelease, url_kind: AsReleaseUrlKind)
2998        -> *const c_char;
2999    pub fn as_release_get_version(release: *mut AsRelease) -> *const c_char;
3000    pub fn as_release_has_tag(
3001        release: *mut AsRelease,
3002        ns: *const c_char,
3003        tag: *const c_char,
3004    ) -> gboolean;
3005    pub fn as_release_remove_tag(
3006        release: *mut AsRelease,
3007        ns: *const c_char,
3008        tag: *const c_char,
3009    ) -> gboolean;
3010    pub fn as_release_set_context(release: *mut AsRelease, context: *mut AsContext);
3011    pub fn as_release_set_date(release: *mut AsRelease, date: *const c_char);
3012    pub fn as_release_set_date_eol(release: *mut AsRelease, date: *const c_char);
3013    pub fn as_release_set_description(
3014        release: *mut AsRelease,
3015        description: *const c_char,
3016        locale: *const c_char,
3017    );
3018    pub fn as_release_set_kind(release: *mut AsRelease, kind: AsReleaseKind);
3019    pub fn as_release_set_timestamp(release: *mut AsRelease, timestamp: u64);
3020    pub fn as_release_set_timestamp_eol(release: *mut AsRelease, timestamp: u64);
3021    pub fn as_release_set_urgency(release: *mut AsRelease, urgency: AsUrgencyKind);
3022    pub fn as_release_set_url(
3023        release: *mut AsRelease,
3024        url_kind: AsReleaseUrlKind,
3025        url: *const c_char,
3026    );
3027    pub fn as_release_set_version(release: *mut AsRelease, version: *const c_char);
3028    pub fn as_release_vercmp(rel1: *mut AsRelease, rel2: *mut AsRelease) -> c_int;
3029
3030    //=========================================================================
3031    // AsReleaseList
3032    //=========================================================================
3033    pub fn as_release_list_get_type() -> GType;
3034    pub fn as_release_list_new() -> *mut AsReleaseList;
3035    pub fn as_release_list_add(rels: *mut AsReleaseList, release: *mut AsRelease);
3036    pub fn as_release_list_clear(rels: *mut AsReleaseList);
3037    pub fn as_release_list_get_context(rels: *mut AsReleaseList) -> *mut AsContext;
3038    pub fn as_release_list_get_entries(rels: *mut AsReleaseList) -> *mut glib::GPtrArray;
3039    pub fn as_release_list_get_kind(rels: *mut AsReleaseList) -> AsReleaseListKind;
3040    pub fn as_release_list_get_size(rels: *mut AsReleaseList) -> c_uint;
3041    pub fn as_release_list_get_url(rels: *mut AsReleaseList) -> *const c_char;
3042    pub fn as_release_list_index_safe(rels: *mut AsReleaseList, index: c_uint) -> *mut AsRelease;
3043    pub fn as_release_list_is_empty(rels: *mut AsReleaseList) -> gboolean;
3044    pub fn as_release_list_load_from_bytes(
3045        rels: *mut AsReleaseList,
3046        context: *mut AsContext,
3047        bytes: *mut glib::GBytes,
3048        error: *mut *mut glib::GError,
3049    ) -> gboolean;
3050    pub fn as_release_list_set_context(rels: *mut AsReleaseList, context: *mut AsContext);
3051    pub fn as_release_list_set_kind(rels: *mut AsReleaseList, kind: AsReleaseListKind);
3052    pub fn as_release_list_set_size(rels: *mut AsReleaseList, size: c_uint);
3053    pub fn as_release_list_set_url(rels: *mut AsReleaseList, url: *const c_char);
3054    pub fn as_release_list_sort(rels: *mut AsReleaseList);
3055
3056    //=========================================================================
3057    // AsReview
3058    //=========================================================================
3059    pub fn as_review_get_type() -> GType;
3060    pub fn as_review_new() -> *mut AsReview;
3061    pub fn as_review_add_flags(review: *mut AsReview, flags: AsReviewFlags);
3062    pub fn as_review_add_metadata(review: *mut AsReview, key: *const c_char, value: *const c_char);
3063    pub fn as_review_equal(review1: *mut AsReview, review2: *mut AsReview) -> gboolean;
3064    pub fn as_review_get_date(review: *mut AsReview) -> *mut glib::GDateTime;
3065    pub fn as_review_get_description(review: *mut AsReview) -> *const c_char;
3066    pub fn as_review_get_flags(review: *mut AsReview) -> AsReviewFlags;
3067    pub fn as_review_get_id(review: *mut AsReview) -> *const c_char;
3068    pub fn as_review_get_locale(review: *mut AsReview) -> *const c_char;
3069    pub fn as_review_get_metadata_item(review: *mut AsReview, key: *const c_char) -> *const c_char;
3070    pub fn as_review_get_priority(review: *mut AsReview) -> c_int;
3071    pub fn as_review_get_rating(review: *mut AsReview) -> c_int;
3072    pub fn as_review_get_reviewer_id(review: *mut AsReview) -> *const c_char;
3073    pub fn as_review_get_reviewer_name(review: *mut AsReview) -> *const c_char;
3074    pub fn as_review_get_summary(review: *mut AsReview) -> *const c_char;
3075    pub fn as_review_get_version(review: *mut AsReview) -> *const c_char;
3076    pub fn as_review_set_date(review: *mut AsReview, date: *mut glib::GDateTime);
3077    pub fn as_review_set_description(review: *mut AsReview, description: *const c_char);
3078    pub fn as_review_set_flags(review: *mut AsReview, flags: AsReviewFlags);
3079    pub fn as_review_set_id(review: *mut AsReview, id: *const c_char);
3080    pub fn as_review_set_locale(review: *mut AsReview, locale: *const c_char);
3081    pub fn as_review_set_priority(review: *mut AsReview, priority: c_int);
3082    pub fn as_review_set_rating(review: *mut AsReview, rating: c_int);
3083    pub fn as_review_set_reviewer_id(review: *mut AsReview, reviewer_id: *const c_char);
3084    pub fn as_review_set_reviewer_name(review: *mut AsReview, reviewer_name: *const c_char);
3085    pub fn as_review_set_summary(review: *mut AsReview, summary: *const c_char);
3086    pub fn as_review_set_version(review: *mut AsReview, version: *const c_char);
3087
3088    //=========================================================================
3089    // AsScreenshot
3090    //=========================================================================
3091    pub fn as_screenshot_get_type() -> GType;
3092    pub fn as_screenshot_new() -> *mut AsScreenshot;
3093    pub fn as_screenshot_add_image(screenshot: *mut AsScreenshot, image: *mut AsImage);
3094    pub fn as_screenshot_add_video(screenshot: *mut AsScreenshot, video: *mut AsVideo);
3095    pub fn as_screenshot_clear_images(screenshot: *mut AsScreenshot);
3096    pub fn as_screenshot_get_caption(screenshot: *mut AsScreenshot) -> *const c_char;
3097    pub fn as_screenshot_get_context(screenshot: *mut AsScreenshot) -> *mut AsContext;
3098    pub fn as_screenshot_get_environment(screenshot: *mut AsScreenshot) -> *const c_char;
3099    pub fn as_screenshot_get_image(
3100        screenshot: *mut AsScreenshot,
3101        width: c_uint,
3102        height: c_uint,
3103        scale: c_uint,
3104    ) -> *mut AsImage;
3105    pub fn as_screenshot_get_images(screenshot: *mut AsScreenshot) -> *mut glib::GPtrArray;
3106    pub fn as_screenshot_get_images_all(screenshot: *mut AsScreenshot) -> *mut glib::GPtrArray;
3107    pub fn as_screenshot_get_kind(screenshot: *mut AsScreenshot) -> AsScreenshotKind;
3108    pub fn as_screenshot_get_media_kind(screenshot: *mut AsScreenshot) -> AsScreenshotMediaKind;
3109    pub fn as_screenshot_get_videos(screenshot: *mut AsScreenshot) -> *mut glib::GPtrArray;
3110    pub fn as_screenshot_get_videos_all(screenshot: *mut AsScreenshot) -> *mut glib::GPtrArray;
3111    pub fn as_screenshot_is_valid(screenshot: *mut AsScreenshot) -> gboolean;
3112    pub fn as_screenshot_set_caption(
3113        screenshot: *mut AsScreenshot,
3114        caption: *const c_char,
3115        locale: *const c_char,
3116    );
3117    pub fn as_screenshot_set_context(screenshot: *mut AsScreenshot, context: *mut AsContext);
3118    pub fn as_screenshot_set_environment(screenshot: *mut AsScreenshot, env_id: *const c_char);
3119    pub fn as_screenshot_set_kind(screenshot: *mut AsScreenshot, kind: AsScreenshotKind);
3120
3121    //=========================================================================
3122    // AsSuggested
3123    //=========================================================================
3124    pub fn as_suggested_get_type() -> GType;
3125    pub fn as_suggested_new() -> *mut AsSuggested;
3126    pub fn as_suggested_add_id(suggested: *mut AsSuggested, cid: *const c_char);
3127    pub fn as_suggested_get_ids(suggested: *mut AsSuggested) -> *mut glib::GPtrArray;
3128    pub fn as_suggested_get_kind(suggested: *mut AsSuggested) -> AsSuggestedKind;
3129    pub fn as_suggested_is_valid(suggested: *mut AsSuggested) -> gboolean;
3130    pub fn as_suggested_set_kind(suggested: *mut AsSuggested, kind: AsSuggestedKind);
3131
3132    //=========================================================================
3133    // AsSystemInfo
3134    //=========================================================================
3135    pub fn as_system_info_get_type() -> GType;
3136    pub fn as_system_info_new() -> *mut AsSystemInfo;
3137    pub fn as_system_info_new_template_for_chassis(
3138        chassis: AsChassisKind,
3139        error: *mut *mut glib::GError,
3140    ) -> *mut AsSystemInfo;
3141    pub fn as_system_info_get_device_name_for_modalias(
3142        sysinfo: *mut AsSystemInfo,
3143        modalias: *const c_char,
3144        allow_fallback: gboolean,
3145        error: *mut *mut glib::GError,
3146    ) -> *mut c_char;
3147    pub fn as_system_info_get_display_length(
3148        sysinfo: *mut AsSystemInfo,
3149        side: AsDisplaySideKind,
3150    ) -> c_ulong;
3151    pub fn as_system_info_get_gui_available(sysinfo: *mut AsSystemInfo) -> gboolean;
3152    pub fn as_system_info_get_kernel_name(sysinfo: *mut AsSystemInfo) -> *const c_char;
3153    pub fn as_system_info_get_kernel_version(sysinfo: *mut AsSystemInfo) -> *const c_char;
3154    pub fn as_system_info_get_memory_total(sysinfo: *mut AsSystemInfo) -> c_ulong;
3155    pub fn as_system_info_get_modaliases(sysinfo: *mut AsSystemInfo) -> *mut glib::GPtrArray;
3156    pub fn as_system_info_get_os_cid(sysinfo: *mut AsSystemInfo) -> *const c_char;
3157    pub fn as_system_info_get_os_homepage(sysinfo: *mut AsSystemInfo) -> *const c_char;
3158    pub fn as_system_info_get_os_id(sysinfo: *mut AsSystemInfo) -> *const c_char;
3159    pub fn as_system_info_get_os_name(sysinfo: *mut AsSystemInfo) -> *const c_char;
3160    pub fn as_system_info_get_os_version(sysinfo: *mut AsSystemInfo) -> *const c_char;
3161    pub fn as_system_info_has_device_matching_modalias(
3162        sysinfo: *mut AsSystemInfo,
3163        modalias_glob: *const c_char,
3164    ) -> gboolean;
3165    pub fn as_system_info_has_input_control(
3166        sysinfo: *mut AsSystemInfo,
3167        kind: AsControlKind,
3168        error: *mut *mut glib::GError,
3169    ) -> AsCheckResult;
3170    pub fn as_system_info_modalias_to_syspath(
3171        sysinfo: *mut AsSystemInfo,
3172        modalias: *const c_char,
3173    ) -> *const c_char;
3174    pub fn as_system_info_set_display_length(
3175        sysinfo: *mut AsSystemInfo,
3176        side: AsDisplaySideKind,
3177        value_dip: c_ulong,
3178    );
3179    pub fn as_system_info_set_gui_available(sysinfo: *mut AsSystemInfo, available: gboolean);
3180    pub fn as_system_info_set_input_control(
3181        sysinfo: *mut AsSystemInfo,
3182        kind: AsControlKind,
3183        found: gboolean,
3184    );
3185
3186    //=========================================================================
3187    // AsTranslation
3188    //=========================================================================
3189    pub fn as_translation_get_type() -> GType;
3190    pub fn as_translation_new() -> *mut AsTranslation;
3191    pub fn as_translation_get_id(tr: *mut AsTranslation) -> *const c_char;
3192    pub fn as_translation_get_kind(tr: *mut AsTranslation) -> AsTranslationKind;
3193    pub fn as_translation_get_source_locale(tr: *mut AsTranslation) -> *const c_char;
3194    pub fn as_translation_set_id(tr: *mut AsTranslation, id: *const c_char);
3195    pub fn as_translation_set_kind(tr: *mut AsTranslation, kind: AsTranslationKind);
3196    pub fn as_translation_set_source_locale(tr: *mut AsTranslation, locale: *const c_char);
3197
3198    //=========================================================================
3199    // AsValidator
3200    //=========================================================================
3201    pub fn as_validator_get_type() -> GType;
3202    pub fn as_validator_new() -> *mut AsValidator;
3203    pub fn as_validator_add_override(
3204        validator: *mut AsValidator,
3205        tag: *const c_char,
3206        severity_override: AsIssueSeverity,
3207        error: *mut *mut glib::GError,
3208    ) -> gboolean;
3209    pub fn as_validator_add_release_bytes(
3210        validator: *mut AsValidator,
3211        release_fname: *const c_char,
3212        release_metadata: *mut glib::GBytes,
3213        error: *mut *mut glib::GError,
3214    ) -> gboolean;
3215    pub fn as_validator_add_release_file(
3216        validator: *mut AsValidator,
3217        release_file: *mut gio::GFile,
3218        error: *mut *mut glib::GError,
3219    ) -> gboolean;
3220    pub fn as_validator_check_success(validator: *mut AsValidator) -> gboolean;
3221    pub fn as_validator_clear_release_data(validator: *mut AsValidator);
3222    pub fn as_validator_get_allow_net(validator: *mut AsValidator) -> gboolean;
3223    pub fn as_validator_get_issue_files_count(validator: *mut AsValidator) -> c_uint;
3224    pub fn as_validator_get_issues(validator: *mut AsValidator) -> *mut glib::GList;
3225    pub fn as_validator_get_issues_per_file(validator: *mut AsValidator) -> *mut glib::GHashTable;
3226    pub fn as_validator_get_report_yaml(
3227        validator: *mut AsValidator,
3228        error: *mut *mut glib::GError,
3229    ) -> *mut c_char;
3230    pub fn as_validator_get_strict(validator: *mut AsValidator) -> gboolean;
3231    pub fn as_validator_get_tag_explanation(
3232        validator: *mut AsValidator,
3233        tag: *const c_char,
3234    ) -> *const c_char;
3235    pub fn as_validator_get_tag_severity(
3236        validator: *mut AsValidator,
3237        tag: *const c_char,
3238    ) -> AsIssueSeverity;
3239    pub fn as_validator_get_tags(validator: *mut AsValidator) -> *mut *mut c_char;
3240    pub fn as_validator_set_allow_net(validator: *mut AsValidator, value: gboolean);
3241    pub fn as_validator_set_strict(validator: *mut AsValidator, is_strict: gboolean);
3242    pub fn as_validator_validate_bytes(
3243        validator: *mut AsValidator,
3244        metadata: *mut glib::GBytes,
3245    ) -> gboolean;
3246    pub fn as_validator_validate_data(
3247        validator: *mut AsValidator,
3248        metadata: *const c_char,
3249    ) -> gboolean;
3250    pub fn as_validator_validate_file(
3251        validator: *mut AsValidator,
3252        metadata_file: *mut gio::GFile,
3253    ) -> gboolean;
3254    pub fn as_validator_validate_tree(
3255        validator: *mut AsValidator,
3256        root_dir: *const c_char,
3257    ) -> gboolean;
3258
3259    //=========================================================================
3260    // AsValidatorIssue
3261    //=========================================================================
3262    pub fn as_validator_issue_get_type() -> GType;
3263    pub fn as_validator_issue_new() -> *mut AsValidatorIssue;
3264    pub fn as_validator_issue_get_cid(issue: *mut AsValidatorIssue) -> *const c_char;
3265    pub fn as_validator_issue_get_explanation(issue: *mut AsValidatorIssue) -> *const c_char;
3266    pub fn as_validator_issue_get_filename(issue: *mut AsValidatorIssue) -> *const c_char;
3267    pub fn as_validator_issue_get_hint(issue: *mut AsValidatorIssue) -> *const c_char;
3268    pub fn as_validator_issue_get_line(issue: *mut AsValidatorIssue) -> c_long;
3269    pub fn as_validator_issue_get_location(issue: *mut AsValidatorIssue) -> *mut c_char;
3270    pub fn as_validator_issue_get_severity(issue: *mut AsValidatorIssue) -> AsIssueSeverity;
3271    pub fn as_validator_issue_get_tag(issue: *mut AsValidatorIssue) -> *const c_char;
3272    pub fn as_validator_issue_set_cid(issue: *mut AsValidatorIssue, cid: *const c_char);
3273    pub fn as_validator_issue_set_explanation(
3274        issue: *mut AsValidatorIssue,
3275        explanation: *const c_char,
3276    );
3277    pub fn as_validator_issue_set_filename(issue: *mut AsValidatorIssue, fname: *const c_char);
3278    pub fn as_validator_issue_set_hint(issue: *mut AsValidatorIssue, hint: *const c_char);
3279    pub fn as_validator_issue_set_line(issue: *mut AsValidatorIssue, line: c_long);
3280    pub fn as_validator_issue_set_severity(issue: *mut AsValidatorIssue, severity: AsIssueSeverity);
3281    pub fn as_validator_issue_set_tag(issue: *mut AsValidatorIssue, tag: *const c_char);
3282
3283    //=========================================================================
3284    // AsVideo
3285    //=========================================================================
3286    pub fn as_video_get_type() -> GType;
3287    pub fn as_video_new() -> *mut AsVideo;
3288    pub fn as_video_get_codec_kind(video: *mut AsVideo) -> AsVideoCodecKind;
3289    pub fn as_video_get_container_kind(video: *mut AsVideo) -> AsVideoContainerKind;
3290    pub fn as_video_get_height(video: *mut AsVideo) -> c_uint;
3291    pub fn as_video_get_locale(video: *mut AsVideo) -> *const c_char;
3292    pub fn as_video_get_url(video: *mut AsVideo) -> *const c_char;
3293    pub fn as_video_get_width(video: *mut AsVideo) -> c_uint;
3294    pub fn as_video_set_codec_kind(video: *mut AsVideo, kind: AsVideoCodecKind);
3295    pub fn as_video_set_container_kind(video: *mut AsVideo, kind: AsVideoContainerKind);
3296    pub fn as_video_set_height(video: *mut AsVideo, height: c_uint);
3297    pub fn as_video_set_locale(video: *mut AsVideo, locale: *const c_char);
3298    pub fn as_video_set_url(video: *mut AsVideo, url: *const c_char);
3299    pub fn as_video_set_width(video: *mut AsVideo, width: c_uint);
3300
3301    //=========================================================================
3302    // Other functions
3303    //=========================================================================
3304    pub fn as_get_current_distro_component_id() -> *mut c_char;
3305    pub fn as_get_default_categories(with_special: gboolean) -> *mut glib::GPtrArray;
3306    pub fn as_get_default_categories_gi(with_special: gboolean) -> *mut glib::GPtrArray;
3307    pub fn as_get_license_name(license: *const c_char) -> *mut c_char;
3308    pub fn as_get_license_url(license: *const c_char) -> *mut c_char;
3309    pub fn as_gstring_replace(
3310        string: *mut glib::GString,
3311        find: *const c_char,
3312        replace: *const c_char,
3313        limit: c_uint,
3314    ) -> c_uint;
3315    pub fn as_is_spdx_license_exception_id(exception_id: *const c_char) -> gboolean;
3316    pub fn as_is_spdx_license_expression(license: *const c_char) -> gboolean;
3317    pub fn as_is_spdx_license_id(license_id: *const c_char) -> gboolean;
3318    pub fn as_license_is_free_license(license: *const c_char) -> gboolean;
3319    pub fn as_license_is_metadata_license(license: *const c_char) -> gboolean;
3320    pub fn as_license_is_metadata_license_id(license_id: *const c_char) -> gboolean;
3321    pub fn as_license_to_spdx_id(license: *const c_char) -> *mut c_char;
3322    pub fn as_markup_convert(
3323        markup: *const c_char,
3324        to_kind: AsMarkupKind,
3325        error: *mut *mut glib::GError,
3326    ) -> *mut c_char;
3327    pub fn as_markup_strsplit_words(text: *const c_char, line_len: c_uint) -> *mut *mut c_char;
3328    pub fn as_spdx_license_detokenize(license_tokens: *mut *mut c_char) -> *mut c_char;
3329    pub fn as_spdx_license_tokenize(license: *const c_char) -> *mut *mut c_char;
3330    pub fn as_utils_build_data_id(
3331        scope: AsComponentScope,
3332        bundle_kind: AsBundleKind,
3333        origin: *const c_char,
3334        cid: *const c_char,
3335        branch: *const c_char,
3336    ) -> *mut c_char;
3337    pub fn as_utils_data_id_equal(data_id1: *const c_char, data_id2: *const c_char) -> gboolean;
3338    pub fn as_utils_data_id_get_cid(data_id: *const c_char) -> *mut c_char;
3339    pub fn as_utils_data_id_hash(data_id: *const c_char) -> c_uint;
3340    pub fn as_utils_data_id_match(
3341        data_id1: *const c_char,
3342        data_id2: *const c_char,
3343        match_flags: AsDataIdMatchFlags,
3344    ) -> gboolean;
3345    pub fn as_utils_data_id_valid(data_id: *const c_char) -> gboolean;
3346    pub fn as_utils_get_desktop_environment_name(de_id: *const c_char) -> *const c_char;
3347    pub fn as_utils_get_gui_environment_style_name(env_style: *const c_char) -> *const c_char;
3348    pub fn as_utils_get_tag_search_weight(tag_name: *const c_char) -> u16;
3349    pub fn as_utils_guess_scope_from_path(path: *const c_char) -> AsComponentScope;
3350    pub fn as_utils_install_metadata_file(
3351        location: AsMetadataLocation,
3352        filename: *const c_char,
3353        origin: *const c_char,
3354        destdir: *const c_char,
3355        error: *mut *mut glib::GError,
3356    ) -> gboolean;
3357    pub fn as_utils_is_category_name(category_name: *const c_char) -> gboolean;
3358    pub fn as_utils_is_desktop_environment(de_id: *const c_char) -> gboolean;
3359    pub fn as_utils_is_gui_environment_style(env_style: *const c_char) -> gboolean;
3360    pub fn as_utils_is_platform_triplet(triplet: *const c_char) -> gboolean;
3361    pub fn as_utils_is_tld(tld: *const c_char) -> gboolean;
3362    pub fn as_utils_locale_is_compatible(
3363        locale1: *const c_char,
3364        locale2: *const c_char,
3365    ) -> gboolean;
3366    pub fn as_utils_posix_locale_to_bcp47(locale: *const c_char) -> *mut c_char;
3367    pub fn as_utils_sort_components_into_categories(
3368        cpts: *mut glib::GPtrArray,
3369        categories: *mut glib::GPtrArray,
3370        check_duplicates: gboolean,
3371    );
3372    pub fn as_vercmp(a: *const c_char, b: *const c_char, flags: AsVercmpFlags) -> c_int;
3373    pub fn as_vercmp_simple(a: *const c_char, b: *const c_char) -> c_int;
3374    pub fn as_vercmp_test_match(
3375        ver1: *const c_char,
3376        compare: AsRelationCompare,
3377        ver2: *const c_char,
3378        flags: AsVercmpFlags,
3379    ) -> gboolean;
3380    pub fn as_version_string() -> *const c_char;
3381
3382}