2
/* Generated data (by glib-mkenums) */
5
#include <glib-object.h>
7
#include "goaidentity.h"
8
/* enumerations from "goaidentity.h" */
9
GType goa_identity_error_get_type (void) G_GNUC_CONST;
12
goa_identity_error_get_type (void)
14
static GType etype = 0;
16
if (G_UNLIKELY(etype == 0)) {
17
static const GEnumValue values[] = {
18
{ GOA_IDENTITY_ERROR_NOT_FOUND, "GOA_IDENTITY_ERROR_NOT_FOUND", "not-found" },
19
{ GOA_IDENTITY_ERROR_VERIFYING, "GOA_IDENTITY_ERROR_VERIFYING", "verifying" },
20
{ GOA_IDENTITY_ERROR_RENEWING, "GOA_IDENTITY_ERROR_RENEWING", "renewing" },
21
{ GOA_IDENTITY_ERROR_CREDENTIALS_UNAVAILABLE, "GOA_IDENTITY_ERROR_CREDENTIALS_UNAVAILABLE", "credentials-unavailable" },
22
{ GOA_IDENTITY_ERROR_ENUMERATING_CREDENTIALS, "GOA_IDENTITY_ERROR_ENUMERATING_CREDENTIALS", "enumerating-credentials" },
23
{ GOA_IDENTITY_ERROR_ALLOCATING_CREDENTIALS, "GOA_IDENTITY_ERROR_ALLOCATING_CREDENTIALS", "allocating-credentials" },
24
{ GOA_IDENTITY_ERROR_AUTHENTICATION_FAILED, "GOA_IDENTITY_ERROR_AUTHENTICATION_FAILED", "authentication-failed" },
25
{ GOA_IDENTITY_ERROR_SAVING_CREDENTIALS, "GOA_IDENTITY_ERROR_SAVING_CREDENTIALS", "saving-credentials" },
26
{ GOA_IDENTITY_ERROR_REMOVING_CREDENTIALS, "GOA_IDENTITY_ERROR_REMOVING_CREDENTIALS", "removing-credentials" },
27
{ GOA_IDENTITY_ERROR_PARSING_IDENTIFIER, "GOA_IDENTITY_ERROR_PARSING_IDENTIFIER", "parsing-identifier" },
31
etype = g_enum_register_static (g_intern_static_string ("GoaIdentityError"), values);
37
GType goa_identity_sign_in_flags_get_type (void) G_GNUC_CONST;
40
goa_identity_sign_in_flags_get_type (void)
42
static GType etype = 0;
44
if (G_UNLIKELY(etype == 0)) {
45
static const GFlagsValue values[] = {
46
{ GOA_IDENTITY_SIGN_IN_FLAGS_NONE, "GOA_IDENTITY_SIGN_IN_FLAGS_NONE", "none" },
47
{ GOA_IDENTITY_SIGN_IN_FLAGS_DISALLOW_RENEWAL, "GOA_IDENTITY_SIGN_IN_FLAGS_DISALLOW_RENEWAL", "disallow-renewal" },
48
{ GOA_IDENTITY_SIGN_IN_FLAGS_DISALLOW_FORWARDING, "GOA_IDENTITY_SIGN_IN_FLAGS_DISALLOW_FORWARDING", "disallow-forwarding" },
49
{ GOA_IDENTITY_SIGN_IN_FLAGS_DISALLOW_PROXYING, "GOA_IDENTITY_SIGN_IN_FLAGS_DISALLOW_PROXYING", "disallow-proxying" },
53
etype = g_flags_register_static (g_intern_static_string ("GoaIdentitySignInFlags"), values);
59
#include "goaidentityinquiry.h"
60
/* enumerations from "goaidentityinquiry.h" */
61
GType goa_identity_query_mode_get_type (void) G_GNUC_CONST;
64
goa_identity_query_mode_get_type (void)
66
static GType etype = 0;
68
if (G_UNLIKELY(etype == 0)) {
69
static const GEnumValue values[] = {
70
{ GOA_IDENTITY_QUERY_MODE_INVISIBLE, "GOA_IDENTITY_QUERY_MODE_INVISIBLE", "invisible" },
71
{ GOA_IDENTITY_QUERY_MODE_VISIBLE, "GOA_IDENTITY_QUERY_MODE_VISIBLE", "visible" },
75
etype = g_enum_register_static (g_intern_static_string ("GoaIdentityQueryMode"), values);
81
#include "goaidentitymanager.h"
82
/* enumerations from "goaidentitymanager.h" */
83
GType goa_identity_manager_error_get_type (void) G_GNUC_CONST;
86
goa_identity_manager_error_get_type (void)
88
static GType etype = 0;
90
if (G_UNLIKELY(etype == 0)) {
91
static const GEnumValue values[] = {
92
{ GOA_IDENTITY_MANAGER_ERROR_INITIALIZING, "GOA_IDENTITY_MANAGER_ERROR_INITIALIZING", "initializing" },
93
{ GOA_IDENTITY_MANAGER_ERROR_IDENTITY_NOT_FOUND, "GOA_IDENTITY_MANAGER_ERROR_IDENTITY_NOT_FOUND", "identity-not-found" },
94
{ GOA_IDENTITY_MANAGER_ERROR_CREATING_IDENTITY, "GOA_IDENTITY_MANAGER_ERROR_CREATING_IDENTITY", "creating-identity" },
95
{ GOA_IDENTITY_MANAGER_ERROR_ACCESSING_CREDENTIALS, "GOA_IDENTITY_MANAGER_ERROR_ACCESSING_CREDENTIALS", "accessing-credentials" },
96
{ GOA_IDENTITY_MANAGER_ERROR_UNSUPPORTED_CREDENTIALS, "GOA_IDENTITY_MANAGER_ERROR_UNSUPPORTED_CREDENTIALS", "unsupported-credentials" },
100
etype = g_enum_register_static (g_intern_static_string ("GoaIdentityManagerError"), values);
106
#include "goakerberosidentity.h"
107
/* enumerations from "goakerberosidentity.h" */
108
GType struct_struct_get_type (void) G_GNUC_CONST;
111
struct_struct_get_type (void)
113
static GType etype = 0;
115
if (G_UNLIKELY(etype == 0)) {
116
static const GEnumValue values[] = {
117
{ GOA_KERBEROS_IDENTITY_DESCRIPTION_REALM, "GOA_KERBEROS_IDENTITY_DESCRIPTION_REALM", "realm" },
118
{ GOA_KERBEROS_IDENTITY_DESCRIPTION_USERNAME_AND_REALM, "GOA_KERBEROS_IDENTITY_DESCRIPTION_USERNAME_AND_REALM", "username-and-realm" },
119
{ GOA_KERBEROS_IDENTITY_DESCRIPTION_USERNAME_ROLE_AND_REALM, "GOA_KERBEROS_IDENTITY_DESCRIPTION_USERNAME_ROLE_AND_REALM", "username-role-and-realm" },
123
etype = g_enum_register_static (g_intern_static_string ("struct"), values);
129
#include "goakerberosidentityinquiry.h"
130
/* enumerations from "goakerberosidentityinquiry.h" */
131
GType goa_kerberos_identity_query_mode_get_type (void) G_GNUC_CONST;
134
goa_kerberos_identity_query_mode_get_type (void)
136
static GType etype = 0;
138
if (G_UNLIKELY(etype == 0)) {
139
static const GEnumValue values[] = {
140
{ GOA_KERBEROS_IDENTITY_QUERY_MODE_INVISIBLE, "GOA_KERBEROS_IDENTITY_QUERY_MODE_INVISIBLE", "invisible" },
141
{ GOA_KERBEROS_IDENTITY_QUERY_MODE_VISIBLE, "GOA_KERBEROS_IDENTITY_QUERY_MODE_VISIBLE", "visible" },
145
etype = g_enum_register_static (g_intern_static_string ("GoaKerberosIdentityQueryMode"), values);
151
#include "um-realm-manager.h"
152
/* enumerations from "um-realm-manager.h" */
153
GType um_realm_errors_get_type (void) G_GNUC_CONST;
156
um_realm_errors_get_type (void)
158
static GType etype = 0;
160
if (G_UNLIKELY(etype == 0)) {
161
static const GEnumValue values[] = {
162
{ UM_REALM_ERROR_BAD_LOGIN, "UM_REALM_ERROR_BAD_LOGIN", "bad-login" },
163
{ UM_REALM_ERROR_BAD_PASSWORD, "UM_REALM_ERROR_BAD_PASSWORD", "bad-password" },
164
{ UM_REALM_ERROR_GENERIC, "UM_REALM_ERROR_GENERIC", "generic" },
168
etype = g_enum_register_static (g_intern_static_string ("UmRealmErrors"), values);
176
/* Generated data ends here */