
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#include <polkit/polkit.h>
/* enumerations from "polkitauthorityfeatures.h" */
GType
polkit_authority_features_get_type (void)
{
  static volatile gsize g_define_type_id__volatile = 0;

  if (g_once_init_enter (&g_define_type_id__volatile))
    {
      static const GFlagsValue values[] = {
        { POLKIT_AUTHORITY_FEATURES_NONE, "POLKIT_AUTHORITY_FEATURES_NONE", "none" },
        { POLKIT_AUTHORITY_FEATURES_TEMPORARY_AUTHORIZATION, "POLKIT_AUTHORITY_FEATURES_TEMPORARY_AUTHORIZATION", "temporary-authorization" },
        { 0, NULL, NULL }
      };
      GType g_define_type_id =
        g_flags_register_static (g_intern_static_string ("PolkitAuthorityFeatures"), values);
      g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
    }

  return g_define_type_id__volatile;
}
/* enumerations from "polkitcheckauthorizationflags.h" */
GType
polkit_check_authorization_flags_get_type (void)
{
  static volatile gsize g_define_type_id__volatile = 0;

  if (g_once_init_enter (&g_define_type_id__volatile))
    {
      static const GFlagsValue values[] = {
        { POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE, "POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE", "none" },
        { POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION, "POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION", "allow-user-interaction" },
        { 0, NULL, NULL }
      };
      GType g_define_type_id =
        g_flags_register_static (g_intern_static_string ("PolkitCheckAuthorizationFlags"), values);
      g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
    }

  return g_define_type_id__volatile;
}
/* enumerations from "polkiterror.h" */
GType
polkit_error_get_type (void)
{
  static volatile gsize g_define_type_id__volatile = 0;

  if (g_once_init_enter (&g_define_type_id__volatile))
    {
      static const GEnumValue values[] = {
        { POLKIT_ERROR_FAILED, "POLKIT_ERROR_FAILED", "failed" },
        { POLKIT_ERROR_CANCELLED, "POLKIT_ERROR_CANCELLED", "cancelled" },
        { POLKIT_ERROR_NOT_SUPPORTED, "POLKIT_ERROR_NOT_SUPPORTED", "not-supported" },
        { POLKIT_ERROR_NOT_AUTHORIZED, "POLKIT_ERROR_NOT_AUTHORIZED", "not-authorized" },
        { 0, NULL, NULL }
      };
      GType g_define_type_id =
        g_enum_register_static (g_intern_static_string ("PolkitError"), values);
      g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
    }

  return g_define_type_id__volatile;
}
/* enumerations from "polkitimplicitauthorization.h" */
GType
polkit_implicit_authorization_get_type (void)
{
  static volatile gsize g_define_type_id__volatile = 0;

  if (g_once_init_enter (&g_define_type_id__volatile))
    {
      static const GEnumValue values[] = {
        { POLKIT_IMPLICIT_AUTHORIZATION_UNKNOWN, "POLKIT_IMPLICIT_AUTHORIZATION_UNKNOWN", "unknown" },
        { POLKIT_IMPLICIT_AUTHORIZATION_NOT_AUTHORIZED, "POLKIT_IMPLICIT_AUTHORIZATION_NOT_AUTHORIZED", "not-authorized" },
        { POLKIT_IMPLICIT_AUTHORIZATION_AUTHENTICATION_REQUIRED, "POLKIT_IMPLICIT_AUTHORIZATION_AUTHENTICATION_REQUIRED", "authentication-required" },
        { POLKIT_IMPLICIT_AUTHORIZATION_ADMINISTRATOR_AUTHENTICATION_REQUIRED, "POLKIT_IMPLICIT_AUTHORIZATION_ADMINISTRATOR_AUTHENTICATION_REQUIRED", "administrator-authentication-required" },
        { POLKIT_IMPLICIT_AUTHORIZATION_AUTHENTICATION_REQUIRED_RETAINED, "POLKIT_IMPLICIT_AUTHORIZATION_AUTHENTICATION_REQUIRED_RETAINED", "authentication-required-retained" },
        { POLKIT_IMPLICIT_AUTHORIZATION_ADMINISTRATOR_AUTHENTICATION_REQUIRED_RETAINED, "POLKIT_IMPLICIT_AUTHORIZATION_ADMINISTRATOR_AUTHENTICATION_REQUIRED_RETAINED", "administrator-authentication-required-retained" },
        { POLKIT_IMPLICIT_AUTHORIZATION_AUTHORIZED, "POLKIT_IMPLICIT_AUTHORIZATION_AUTHORIZED", "authorized" },
        { 0, NULL, NULL }
      };
      GType g_define_type_id =
        g_enum_register_static (g_intern_static_string ("PolkitImplicitAuthorization"), values);
      g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
    }

  return g_define_type_id__volatile;
}

/* Generated data ends here */

