~ubuntu-branches/ubuntu/saucy/gnome-online-accounts/saucy

« back to all changes in this revision

Viewing changes to src/goaidentity/goaidentityenumtypes.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-08-20 22:37:44 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120820223744-ndi1s9124mef09ak
Tags: 3.5.90-0ubuntu1
* New upstream release.
* debian/control.in:
  - Build-depend on krb5-config, libgcr-3-dev, and libkrb5-dev
* debian/rules:
  - Enable Kerberos provider
* debian/libgoa-1.0-0.symbols: Added new symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/* Generated data (by glib-mkenums) */
 
3
 
 
4
 
 
5
#include <glib-object.h>
 
6
 
 
7
#include "goaidentity.h"
 
8
/* enumerations from "goaidentity.h" */
 
9
GType goa_identity_error_get_type (void) G_GNUC_CONST;
 
10
 
 
11
GType
 
12
goa_identity_error_get_type (void)
 
13
{
 
14
        static GType etype = 0;
 
15
 
 
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" },
 
28
                { 0, NULL, NULL }
 
29
        };
 
30
 
 
31
        etype = g_enum_register_static (g_intern_static_string ("GoaIdentityError"), values);
 
32
    }
 
33
 
 
34
    return etype;
 
35
}
 
36
 
 
37
GType goa_identity_sign_in_flags_get_type (void) G_GNUC_CONST;
 
38
 
 
39
GType
 
40
goa_identity_sign_in_flags_get_type (void)
 
41
{
 
42
        static GType etype = 0;
 
43
 
 
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" },
 
50
                { 0, NULL, NULL }
 
51
        };
 
52
 
 
53
        etype = g_flags_register_static (g_intern_static_string ("GoaIdentitySignInFlags"), values);
 
54
    }
 
55
 
 
56
    return etype;
 
57
}
 
58
 
 
59
#include "goaidentityinquiry.h"
 
60
/* enumerations from "goaidentityinquiry.h" */
 
61
GType goa_identity_query_mode_get_type (void) G_GNUC_CONST;
 
62
 
 
63
GType
 
64
goa_identity_query_mode_get_type (void)
 
65
{
 
66
        static GType etype = 0;
 
67
 
 
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" },
 
72
                { 0, NULL, NULL }
 
73
        };
 
74
 
 
75
        etype = g_enum_register_static (g_intern_static_string ("GoaIdentityQueryMode"), values);
 
76
    }
 
77
 
 
78
    return etype;
 
79
}
 
80
 
 
81
#include "goaidentitymanager.h"
 
82
/* enumerations from "goaidentitymanager.h" */
 
83
GType goa_identity_manager_error_get_type (void) G_GNUC_CONST;
 
84
 
 
85
GType
 
86
goa_identity_manager_error_get_type (void)
 
87
{
 
88
        static GType etype = 0;
 
89
 
 
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" },
 
97
                { 0, NULL, NULL }
 
98
        };
 
99
 
 
100
        etype = g_enum_register_static (g_intern_static_string ("GoaIdentityManagerError"), values);
 
101
    }
 
102
 
 
103
    return etype;
 
104
}
 
105
 
 
106
#include "goakerberosidentity.h"
 
107
/* enumerations from "goakerberosidentity.h" */
 
108
GType struct_struct_get_type (void) G_GNUC_CONST;
 
109
 
 
110
GType
 
111
struct_struct_get_type (void)
 
112
{
 
113
        static GType etype = 0;
 
114
 
 
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" },
 
120
                { 0, NULL, NULL }
 
121
        };
 
122
 
 
123
        etype = g_enum_register_static (g_intern_static_string ("struct"), values);
 
124
    }
 
125
 
 
126
    return etype;
 
127
}
 
128
 
 
129
#include "goakerberosidentityinquiry.h"
 
130
/* enumerations from "goakerberosidentityinquiry.h" */
 
131
GType goa_kerberos_identity_query_mode_get_type (void) G_GNUC_CONST;
 
132
 
 
133
GType
 
134
goa_kerberos_identity_query_mode_get_type (void)
 
135
{
 
136
        static GType etype = 0;
 
137
 
 
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" },
 
142
                { 0, NULL, NULL }
 
143
        };
 
144
 
 
145
        etype = g_enum_register_static (g_intern_static_string ("GoaKerberosIdentityQueryMode"), values);
 
146
    }
 
147
 
 
148
    return etype;
 
149
}
 
150
 
 
151
#include "um-realm-manager.h"
 
152
/* enumerations from "um-realm-manager.h" */
 
153
GType um_realm_errors_get_type (void) G_GNUC_CONST;
 
154
 
 
155
GType
 
156
um_realm_errors_get_type (void)
 
157
{
 
158
        static GType etype = 0;
 
159
 
 
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" },
 
165
                { 0, NULL, NULL }
 
166
        };
 
167
 
 
168
        etype = g_enum_register_static (g_intern_static_string ("UmRealmErrors"), values);
 
169
    }
 
170
 
 
171
    return etype;
 
172
}
 
173
 
 
174
 /**/
 
175
 
 
176
/* Generated data ends here */
 
177