summaryrefslogtreecommitdiff
path: root/liblangtag/lt-region-private.h
blob: cbd684c4920fbec60bc4ff757ae5acc357b646a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* 
 * lt-region-private.h
 * Copyright (C) 2011-2015 Akira TAGOH
 * 
 * Authors:
 *   Akira TAGOH  <akira@tagoh.org>
 * 
 * You may distribute under the terms of either the GNU
 * Lesser General Public License or the Mozilla Public
 * License, as specified in the README file.
 */
#ifndef __LT_REGION_PRIVATE_H__
#define __LT_REGION_PRIVATE_H__

#if !defined (__LANGTAG_PRIVATE)
#error "Unable to use the private header publicly"
#endif

#include "lt-macros.h"
#include "lt-region.h"

LT_BEGIN_DECLS

lt_region_t *lt_region_create           (void);
void         lt_region_set_name         (lt_region_t *region,
                                         const char  *description);
void         lt_region_set_tag          (lt_region_t *region,
                                         const char  *subtag);
void         lt_region_set_preferred_tag(lt_region_t *region,
                                         const char  *subtag);

LT_END_DECLS

#endif /* __LT_REGION_PRIVATE_H__ */