gs-fedora-third-party: GNOME Software Reference Manual

## gs-fedora-third-party gs-fedora-third-party |

## Functions

GsFedoraThirdParty * | gs_fedora_third_party_new ()
gboolean | gs_fedora_third_party_is_available ()
void | gs_fedora_third_party_invalidate ()
void | gs_fedora_third_party_query ()
gboolean | gs_fedora_third_party_query_finish ()
gboolean | gs_fedora_third_party_query_sync ()
void | gs_fedora_third_party_switch ()
gboolean | gs_fedora_third_party_switch_finish ()
gboolean | gs_fedora_third_party_switch_sync ()
void | gs_fedora_third_party_opt_out ()
gboolean | gs_fedora_third_party_opt_out_finish ()
gboolean | gs_fedora_third_party_opt_out_sync ()
void | gs_fedora_third_party_list ()
gboolean | gs_fedora_third_party_list_finish ()
gboolean | gs_fedora_third_party_list_sync ()
gboolean | gs_fedora_third_party_util_is_third_party_repo ()

## Types and Values

#define | GS_TYPE_FEDORA_THIRD_PARTY
enum | GsFedoraThirdPartyState
| GsFedoraThirdParty

## Description

## Functions

### gs_fedora_third_party_new ()

    GsFedoraThirdParty *
    gs_fedora_third_party_new (GsPluginLoader *plugin_loader);

### gs_fedora_third_party_is_available ()

    gboolean
    gs_fedora_third_party_is_available (GsFedoraThirdParty *self);

### gs_fedora_third_party_invalidate ()

    void
    gs_fedora_third_party_invalidate (GsFedoraThirdParty *self);

### gs_fedora_third_party_query ()

    void
    gs_fedora_third_party_query (GsFedoraThirdParty *self,
                                 GCancellable *cancellable,
                                 GAsyncReadyCallback callback,
                                 gpointer user_data);

### gs_fedora_third_party_query_finish ()

    gboolean
    gs_fedora_third_party_query_finish (GsFedoraThirdParty *self,
                                        GAsyncResult *result,
                                        GsFedoraThirdPartyState *out_state,
                                        GError **error);

### gs_fedora_third_party_query_sync ()

    gboolean
    gs_fedora_third_party_query_sync (GsFedoraThirdParty *self,
                                      GsFedoraThirdPartyState *out_state,
                                      GCancellable *cancellable,
                                      GError **error);

### gs_fedora_third_party_switch ()

    void
    gs_fedora_third_party_switch (GsFedoraThirdParty *self,
                                  gboolean enable,
                                  gboolean config_only,
                                  GCancellable *cancellable,
                                  GAsyncReadyCallback callback,
                                  gpointer user_data);

### gs_fedora_third_party_switch_finish ()

    gboolean
    gs_fedora_third_party_switch_finish (GsFedoraThirdParty *self,
                                         GAsyncResult *result,
                                         GError **error);

### gs_fedora_third_party_switch_sync ()

    gboolean
    gs_fedora_third_party_switch_sync (GsFedoraThirdParty *self,
                                       gboolean enable,
                                       gboolean config_only,
                                       GCancellable *cancellable,
                                       GError **error);

### gs_fedora_third_party_opt_out ()

    void
    gs_fedora_third_party_opt_out (GsFedoraThirdParty *self,
                                   GCancellable *cancellable,
                                   GAsyncReadyCallback callback,
                                   gpointer user_data);

### gs_fedora_third_party_opt_out_finish ()

    gboolean
    gs_fedora_third_party_opt_out_finish (GsFedoraThirdParty *self,
                                          GAsyncResult *result,
                                          GError **error);

### gs_fedora_third_party_opt_out_sync ()

    gboolean
    gs_fedora_third_party_opt_out_sync (GsFedoraThirdParty *self,
                                        GCancellable *cancellable,
                                        GError **error);

### gs_fedora_third_party_list ()

    void
    gs_fedora_third_party_list (GsFedoraThirdParty *self,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

### gs_fedora_third_party_list_finish ()

    gboolean
    gs_fedora_third_party_list_finish (GsFedoraThirdParty *self,
                                       GAsyncResult *result,
                                       GHashTable **out_repos,
                                       GError **error);

### gs_fedora_third_party_list_sync ()

    gboolean
    gs_fedora_third_party_list_sync (GsFedoraThirdParty *self,
                                     GHashTable **out_repos,
                                     GCancellable *cancellable,
                                     GError **error);

### gs_fedora_third_party_util_is_third_party_repo ()

    gboolean
    gs_fedora_third_party_util_is_third_party_repo
                                   (GHashTable *third_party_repos,
                                    const gchar *origin,
                                    const gchar *management_plugin);

## Types and Values

### GS_TYPE_FEDORA_THIRD_PARTY

    #define GS_TYPE_FEDORA_THIRD_PARTY (gs_fedora_third_party_get_type ())

### enum GsFedoraThirdPartyState

#### Members

GS_FEDORA_THIRD_PARTY_STATE_UNKNOWN |  |
GS_FEDORA_THIRD_PARTY_STATE_ENABLED |  |
GS_FEDORA_THIRD_PARTY_STATE_DISABLED |  |
GS_FEDORA_THIRD_PARTY_STATE_ASK |  |

### GsFedoraThirdParty

    typedef struct _GsFedoraThirdParty GsFedoraThirdParty;