Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 0.2
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (46 sloc) 1.887 kB
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* lt-region.h
* Copyright (C) 2011-2012 Akira TAGOH
*
* Authors:
* Akira TAGOH <akira@tagoh.org>
*
* 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 3 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if !defined (__LANGTAG_H__INSIDE) && !defined (__LANGTAG_COMPILATION)
#error "Only <liblangtag/langtag.h> can be included directly."
#endif
#ifndef __LT_REGION_H__
#define __LT_REGION_H__
#include <glib.h>
G_BEGIN_DECLS
/**
* lt_region_t:
*
* All the fields in the <structname>lt_region_t</structname>
* structure are private to the #lt_region_t implementation.
*/
typedef struct _lt_region_t lt_region_t;
lt_region_t *lt_region_ref (lt_region_t *region);
void lt_region_unref (lt_region_t *region);
const gchar *lt_region_get_name (const lt_region_t *region);
const gchar *lt_region_get_better_tag (const lt_region_t *region);
const gchar *lt_region_get_tag (const lt_region_t *region);
const gchar *lt_region_get_preferred_tag(const lt_region_t *region);
void lt_region_dump (const lt_region_t *region);
gboolean lt_region_compare (const lt_region_t *v1,
const lt_region_t *v2);
G_END_DECLS
#endif /* __LT_REGION_H__ */
Jump to Line
Something went wrong with that request. Please try again.