libappstream_sys/
lib.rs

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