
/* 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. */

/*
 * Copyright (C) 2015 Red Hat, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#include "config.h"
#include <string.h>

#include "ostree-enumtypes.h"

/* enumerations from "./src/libostree/ostree-fetcher.h" */
#include "./src/libostree/ostree-fetcher.h"
GType
_ostree_fetcher_config_flags_get_type (void)
{
  static gsize static_the_type = 0;

  if (g_once_init_enter (&static_the_type))
    {
      static const GFlagsValue values[] = {
        { OSTREE_FETCHER_FLAGS_NONE,
          "OSTREE_FETCHER_FLAGS_NONE",
          "none" },
        { OSTREE_FETCHER_FLAGS_TLS_PERMISSIVE,
          "OSTREE_FETCHER_FLAGS_TLS_PERMISSIVE",
          "tls-permissive" },
        { OSTREE_FETCHER_FLAGS_TRANSFER_GZIP,
          "OSTREE_FETCHER_FLAGS_TRANSFER_GZIP",
          "transfer-gzip" },
        { OSTREE_FETCHER_FLAGS_DISABLE_HTTP2,
          "OSTREE_FETCHER_FLAGS_DISABLE_HTTP2",
          "disable-http2" },
        { 0, NULL, NULL }
      };

      GType the_type = g_flags_register_static (
        g_intern_static_string ("OstreeFetcherConfigFlags"),
        values);

      g_once_init_leave (&static_the_type, the_type);
    }

  return static_the_type;
}
GType
_ostree_fetcher_request_flags_get_type (void)
{
  static gsize static_the_type = 0;

  if (g_once_init_enter (&static_the_type))
    {
      static const GFlagsValue values[] = {
        { OSTREE_FETCHER_REQUEST_NUL_TERMINATION,
          "OSTREE_FETCHER_REQUEST_NUL_TERMINATION",
          "nul-termination" },
        { OSTREE_FETCHER_REQUEST_OPTIONAL_CONTENT,
          "OSTREE_FETCHER_REQUEST_OPTIONAL_CONTENT",
          "optional-content" },
        { OSTREE_FETCHER_REQUEST_LINKABLE,
          "OSTREE_FETCHER_REQUEST_LINKABLE",
          "linkable" },
        { 0, NULL, NULL }
      };

      GType the_type = g_flags_register_static (
        g_intern_static_string ("OstreeFetcherRequestFlags"),
        values);

      g_once_init_leave (&static_the_type, the_type);
    }

  return static_the_type;
}

/* Generated data ends here */

