/usr/include/appstream.h is in libappstream-dev 0.4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 | /* appstream.h generated by valac 0.20.1, the Vala compiler, do not modify */
#ifndef ___BUILD_BUILDD_APPSTREAM_0_4_0_OBJ_X86_64_LINUX_GNU_SRC__APPSTREAM_H__
#define ___BUILD_BUILDD_APPSTREAM_0_4_0_OBJ_X86_64_LINUX_GNU_SRC__APPSTREAM_H__
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
G_BEGIN_DECLS
#define APPSTREAM_TYPE_DISTRO_DETAILS (appstream_distro_details_get_type ())
#define APPSTREAM_DISTRO_DETAILS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APPSTREAM_TYPE_DISTRO_DETAILS, AppstreamDistroDetails))
#define APPSTREAM_DISTRO_DETAILS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APPSTREAM_TYPE_DISTRO_DETAILS, AppstreamDistroDetailsClass))
#define APPSTREAM_IS_DISTRO_DETAILS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APPSTREAM_TYPE_DISTRO_DETAILS))
#define APPSTREAM_IS_DISTRO_DETAILS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APPSTREAM_TYPE_DISTRO_DETAILS))
#define APPSTREAM_DISTRO_DETAILS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APPSTREAM_TYPE_DISTRO_DETAILS, AppstreamDistroDetailsClass))
typedef struct _AppstreamDistroDetails AppstreamDistroDetails;
typedef struct _AppstreamDistroDetailsClass AppstreamDistroDetailsClass;
typedef struct _AppstreamDistroDetailsPrivate AppstreamDistroDetailsPrivate;
#define APPSTREAM_TYPE_APP_INFO (appstream_app_info_get_type ())
#define APPSTREAM_APP_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APPSTREAM_TYPE_APP_INFO, AppstreamAppInfo))
#define APPSTREAM_APP_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APPSTREAM_TYPE_APP_INFO, AppstreamAppInfoClass))
#define APPSTREAM_IS_APP_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APPSTREAM_TYPE_APP_INFO))
#define APPSTREAM_IS_APP_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APPSTREAM_TYPE_APP_INFO))
#define APPSTREAM_APP_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APPSTREAM_TYPE_APP_INFO, AppstreamAppInfoClass))
typedef struct _AppstreamAppInfo AppstreamAppInfo;
typedef struct _AppstreamAppInfoClass AppstreamAppInfoClass;
typedef struct _AppstreamAppInfoPrivate AppstreamAppInfoPrivate;
#define APPSTREAM_TYPE_SEARCH_QUERY (appstream_search_query_get_type ())
#define APPSTREAM_SEARCH_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APPSTREAM_TYPE_SEARCH_QUERY, AppstreamSearchQuery))
#define APPSTREAM_SEARCH_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APPSTREAM_TYPE_SEARCH_QUERY, AppstreamSearchQueryClass))
#define APPSTREAM_IS_SEARCH_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APPSTREAM_TYPE_SEARCH_QUERY))
#define APPSTREAM_IS_SEARCH_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APPSTREAM_TYPE_SEARCH_QUERY))
#define APPSTREAM_SEARCH_QUERY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APPSTREAM_TYPE_SEARCH_QUERY, AppstreamSearchQueryClass))
typedef struct _AppstreamSearchQuery AppstreamSearchQuery;
typedef struct _AppstreamSearchQueryClass AppstreamSearchQueryClass;
typedef struct _AppstreamSearchQueryPrivate AppstreamSearchQueryPrivate;
#define APPSTREAM_TYPE_DATABASE (appstream_database_get_type ())
#define APPSTREAM_DATABASE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APPSTREAM_TYPE_DATABASE, AppstreamDatabase))
#define APPSTREAM_DATABASE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APPSTREAM_TYPE_DATABASE, AppstreamDatabaseClass))
#define APPSTREAM_IS_DATABASE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APPSTREAM_TYPE_DATABASE))
#define APPSTREAM_IS_DATABASE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APPSTREAM_TYPE_DATABASE))
#define APPSTREAM_DATABASE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APPSTREAM_TYPE_DATABASE, AppstreamDatabaseClass))
typedef struct _AppstreamDatabase AppstreamDatabase;
typedef struct _AppstreamDatabaseClass AppstreamDatabaseClass;
typedef struct _AppstreamDatabasePrivate AppstreamDatabasePrivate;
#define APPSTREAM_TYPE_CATEGORY (appstream_category_get_type ())
#define APPSTREAM_CATEGORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APPSTREAM_TYPE_CATEGORY, AppstreamCategory))
#define APPSTREAM_CATEGORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APPSTREAM_TYPE_CATEGORY, AppstreamCategoryClass))
#define APPSTREAM_IS_CATEGORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APPSTREAM_TYPE_CATEGORY))
#define APPSTREAM_IS_CATEGORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APPSTREAM_TYPE_CATEGORY))
#define APPSTREAM_CATEGORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APPSTREAM_TYPE_CATEGORY, AppstreamCategoryClass))
typedef struct _AppstreamCategory AppstreamCategory;
typedef struct _AppstreamCategoryClass AppstreamCategoryClass;
typedef struct _AppstreamCategoryPrivate AppstreamCategoryPrivate;
#define APPSTREAM_TYPE_MENU_PARSER (appstream_menu_parser_get_type ())
#define APPSTREAM_MENU_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APPSTREAM_TYPE_MENU_PARSER, AppstreamMenuParser))
#define APPSTREAM_MENU_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APPSTREAM_TYPE_MENU_PARSER, AppstreamMenuParserClass))
#define APPSTREAM_IS_MENU_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APPSTREAM_TYPE_MENU_PARSER))
#define APPSTREAM_IS_MENU_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APPSTREAM_TYPE_MENU_PARSER))
#define APPSTREAM_MENU_PARSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APPSTREAM_TYPE_MENU_PARSER, AppstreamMenuParserClass))
typedef struct _AppstreamMenuParser AppstreamMenuParser;
typedef struct _AppstreamMenuParserClass AppstreamMenuParserClass;
typedef struct _AppstreamMenuParserPrivate AppstreamMenuParserPrivate;
#define APPSTREAM_TYPE_SCREENSHOT_SERVICE (appstream_screenshot_service_get_type ())
#define APPSTREAM_SCREENSHOT_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APPSTREAM_TYPE_SCREENSHOT_SERVICE, AppstreamScreenshotService))
#define APPSTREAM_SCREENSHOT_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APPSTREAM_TYPE_SCREENSHOT_SERVICE, AppstreamScreenshotServiceClass))
#define APPSTREAM_IS_SCREENSHOT_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APPSTREAM_TYPE_SCREENSHOT_SERVICE))
#define APPSTREAM_IS_SCREENSHOT_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APPSTREAM_TYPE_SCREENSHOT_SERVICE))
#define APPSTREAM_SCREENSHOT_SERVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APPSTREAM_TYPE_SCREENSHOT_SERVICE, AppstreamScreenshotServiceClass))
typedef struct _AppstreamScreenshotService AppstreamScreenshotService;
typedef struct _AppstreamScreenshotServiceClass AppstreamScreenshotServiceClass;
typedef struct _AppstreamScreenshotServicePrivate AppstreamScreenshotServicePrivate;
struct _AppstreamDistroDetails {
GObject parent_instance;
AppstreamDistroDetailsPrivate * priv;
};
struct _AppstreamDistroDetailsClass {
GObjectClass parent_class;
};
struct _AppstreamAppInfo {
GObject parent_instance;
AppstreamAppInfoPrivate * priv;
};
struct _AppstreamAppInfoClass {
GObjectClass parent_class;
};
struct _AppstreamSearchQuery {
GObject parent_instance;
AppstreamSearchQueryPrivate * priv;
};
struct _AppstreamSearchQueryClass {
GObjectClass parent_class;
};
struct _AppstreamDatabase {
GObject parent_instance;
AppstreamDatabasePrivate * priv;
};
struct _AppstreamDatabaseClass {
GObjectClass parent_class;
gboolean (*open) (AppstreamDatabase* self);
};
struct _AppstreamCategory {
GObject parent_instance;
AppstreamCategoryPrivate * priv;
};
struct _AppstreamCategoryClass {
GObjectClass parent_class;
};
struct _AppstreamMenuParser {
GTypeInstance parent_instance;
volatile int ref_count;
AppstreamMenuParserPrivate * priv;
};
struct _AppstreamMenuParserClass {
GTypeClass parent_class;
void (*finalize) (AppstreamMenuParser *self);
};
struct _AppstreamScreenshotService {
GObject parent_instance;
AppstreamScreenshotServicePrivate * priv;
};
struct _AppstreamScreenshotServiceClass {
GObjectClass parent_class;
};
GType appstream_distro_details_get_type (void) G_GNUC_CONST;
AppstreamDistroDetails* appstream_distro_details_new (void);
AppstreamDistroDetails* appstream_distro_details_construct (GType object_type);
gchar** appstream_distro_details_get_icon_repository_paths (AppstreamDistroDetails* self);
gchar* appstream_distro_details_config_distro_get_str (AppstreamDistroDetails* self, const gchar* key);
gboolean appstream_distro_details_config_distro_get_bool (AppstreamDistroDetails* self, const gchar* key);
const gchar* appstream_distro_details_get_distro_id (AppstreamDistroDetails* self);
const gchar* appstream_distro_details_get_distro_name (AppstreamDistroDetails* self);
const gchar* appstream_distro_details_get_distro_version (AppstreamDistroDetails* self);
GType appstream_app_info_get_type (void) G_GNUC_CONST;
AppstreamAppInfo* appstream_app_info_new (void);
AppstreamAppInfo* appstream_app_info_construct (GType object_type);
gboolean appstream_app_info_is_valid (AppstreamAppInfo* self);
gchar* appstream_app_info_to_string (AppstreamAppInfo* self);
void appstream_app_info_set_categories_from_str (AppstreamAppInfo* self, const gchar* categories_str);
const gchar* appstream_app_info_get_pkgname (AppstreamAppInfo* self);
void appstream_app_info_set_pkgname (AppstreamAppInfo* self, const gchar* value);
const gchar* appstream_app_info_get_desktop_file (AppstreamAppInfo* self);
void appstream_app_info_set_desktop_file (AppstreamAppInfo* self, const gchar* value);
const gchar* appstream_app_info_get_name (AppstreamAppInfo* self);
void appstream_app_info_set_name (AppstreamAppInfo* self, const gchar* value);
const gchar* appstream_app_info_get_name_original (AppstreamAppInfo* self);
void appstream_app_info_set_name_original (AppstreamAppInfo* self, const gchar* value);
const gchar* appstream_app_info_get_summary (AppstreamAppInfo* self);
void appstream_app_info_set_summary (AppstreamAppInfo* self, const gchar* value);
const gchar* appstream_app_info_get_description (AppstreamAppInfo* self);
void appstream_app_info_set_description (AppstreamAppInfo* self, const gchar* value);
gchar** appstream_app_info_get_keywords (AppstreamAppInfo* self, int* result_length1);
void appstream_app_info_set_keywords (AppstreamAppInfo* self, gchar** value, int value_length1);
const gchar* appstream_app_info_get_icon (AppstreamAppInfo* self);
void appstream_app_info_set_icon (AppstreamAppInfo* self, const gchar* value);
const gchar* appstream_app_info_get_icon_url (AppstreamAppInfo* self);
void appstream_app_info_set_icon_url (AppstreamAppInfo* self, const gchar* value);
const gchar* appstream_app_info_get_homepage (AppstreamAppInfo* self);
void appstream_app_info_set_homepage (AppstreamAppInfo* self, const gchar* value);
gchar** appstream_app_info_get_categories (AppstreamAppInfo* self, int* result_length1);
void appstream_app_info_set_categories (AppstreamAppInfo* self, gchar** value, int value_length1);
gchar** appstream_app_info_get_mimetypes (AppstreamAppInfo* self, int* result_length1);
void appstream_app_info_set_mimetypes (AppstreamAppInfo* self, gchar** value, int value_length1);
GType appstream_search_query_get_type (void) G_GNUC_CONST;
AppstreamSearchQuery* appstream_search_query_new (const gchar* term);
AppstreamSearchQuery* appstream_search_query_construct (GType object_type, const gchar* term);
gboolean appstream_search_query_get_search_all_categories (AppstreamSearchQuery* self);
void appstream_search_query_set_search_all_categories (AppstreamSearchQuery* self);
void appstream_search_query_set_categories_from_string (AppstreamSearchQuery* self, const gchar* categories_str);
const gchar* appstream_search_query_get_search_term (AppstreamSearchQuery* self);
void appstream_search_query_set_search_term (AppstreamSearchQuery* self, const gchar* value);
gchar** appstream_search_query_get_categories (AppstreamSearchQuery* self, int* result_length1);
void appstream_search_query_set_categories (AppstreamSearchQuery* self, gchar** value, int value_length1);
GType appstream_database_get_type (void) G_GNUC_CONST;
AppstreamDatabase* appstream_database_new (void);
AppstreamDatabase* appstream_database_construct (GType object_type);
gboolean appstream_database_open (AppstreamDatabase* self);
gboolean appstream_database_db_exists (AppstreamDatabase* self);
GPtrArray* appstream_database_get_all_applications (AppstreamDatabase* self);
GPtrArray* appstream_database_find_applications (AppstreamDatabase* self, AppstreamSearchQuery* query);
GPtrArray* appstream_database_find_applications_by_str (AppstreamDatabase* self, const gchar* search_str, const gchar* categories_str);
const gchar* appstream_database_get_database_path (AppstreamDatabase* self);
GType appstream_category_get_type (void) G_GNUC_CONST;
AppstreamCategory* appstream_category_new (void);
AppstreamCategory* appstream_category_construct (GType object_type);
void appstream_category_add_subcategory (AppstreamCategory* self, AppstreamCategory* cat);
void appstream_category_remove_subcategory (AppstreamCategory* self, AppstreamCategory* cat);
gboolean appstream_category_has_subcategory (AppstreamCategory* self);
const gchar* appstream_category_get_name (AppstreamCategory* self);
const gchar* appstream_category_get_summary (AppstreamCategory* self);
const gchar* appstream_category_get_icon (AppstreamCategory* self);
const gchar* appstream_category_get_directory (AppstreamCategory* self);
GList* appstream_category_get_included (AppstreamCategory* self);
GList* appstream_category_get_excluded (AppstreamCategory* self);
gint appstream_category_get_level (AppstreamCategory* self);
GList* appstream_category_get_subcategories (AppstreamCategory* self);
gpointer appstream_menu_parser_ref (gpointer instance);
void appstream_menu_parser_unref (gpointer instance);
GParamSpec* appstream_param_spec_menu_parser (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void appstream_value_set_menu_parser (GValue* value, gpointer v_object);
void appstream_value_take_menu_parser (GValue* value, gpointer v_object);
gpointer appstream_value_get_menu_parser (const GValue* value);
GType appstream_menu_parser_get_type (void) G_GNUC_CONST;
AppstreamMenuParser* appstream_menu_parser_new (void);
AppstreamMenuParser* appstream_menu_parser_construct (GType object_type);
AppstreamMenuParser* appstream_menu_parser_new_from_file (const gchar* menu_file);
AppstreamMenuParser* appstream_menu_parser_construct_from_file (GType object_type, const gchar* menu_file);
GList* appstream_menu_parser_parse (AppstreamMenuParser* self);
gboolean appstream_menu_parser_get_update_category_data (AppstreamMenuParser* self);
void appstream_menu_parser_set_update_category_data (AppstreamMenuParser* self, gboolean value);
GList* appstream_get_system_categories (void);
GType appstream_screenshot_service_get_type (void) G_GNUC_CONST;
AppstreamScreenshotService* appstream_screenshot_service_new (void);
AppstreamScreenshotService* appstream_screenshot_service_construct (GType object_type);
gchar* appstream_screenshot_service_get_thumbnail_url (AppstreamScreenshotService* self, const gchar* package_name);
gchar* appstream_screenshot_service_get_screenshot_url (AppstreamScreenshotService* self, const gchar* package_name);
const gchar* appstream_screenshot_service_get_base_url (AppstreamScreenshotService* self);
G_END_DECLS
#endif
|