Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (34 sloc) 1.368 kb
4d2acdb @tagoh Add grandfathered database handler
authored
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * lt-grandfathered-db.h
4 * Copyright (C) 2011-2012 Akira TAGOH
5 *
6 * Authors:
7 * Akira TAGOH <akira@tagoh.org>
8 *
7eadc2a @tagoh Changed to the dual-licensing with MPLv2
authored
9 * You may distribute under the terms of either the GNU
10 * Lesser General Public License or the Mozilla Public
11 * License, as specified in the README file.
4d2acdb @tagoh Add grandfathered database handler
authored
12 */
f6e80da @tagoh Add langtag.h
authored
13 #if !defined (__LANGTAG_H__INSIDE) && !defined (__LANGTAG_COMPILATION)
14 #error "Only <liblangtag/langtag.h> can be included directly."
15 #endif
16
4d2acdb @tagoh Add grandfathered database handler
authored
17 #ifndef __LT_GRANDFATHERED_DB_H__
18 #define __LT_GRANDFATHERED_DB_H__
19
0a1d171 @tagoh another try to clean up glib dependencies
authored
20 #include <liblangtag/lt-macros.h>
4d2acdb @tagoh Add grandfathered database handler
authored
21 #include <liblangtag/lt-grandfathered.h>
22
0a1d171 @tagoh another try to clean up glib dependencies
authored
23 LT_BEGIN_DECLS
4d2acdb @tagoh Add grandfathered database handler
authored
24
3b504f6 @tagoh Update docs
authored
25 /**
26 * lt_grandfathered_db_t:
51c0f56 @tagoh Update docs
authored
27 *
28 * All the fields in the <structname>lt_grandfathered_db_t</structname>
29 * structure are private to the #lt_grandfathered_db_t implementation.
3b504f6 @tagoh Update docs
authored
30 */
4d2acdb @tagoh Add grandfathered database handler
authored
31 typedef struct _lt_grandfathered_db_t lt_grandfathered_db_t;
32
33
34 lt_grandfathered_db_t *lt_grandfathered_db_new (void);
35 lt_grandfathered_db_t *lt_grandfathered_db_ref (lt_grandfathered_db_t *grandfathereddb);
36 void lt_grandfathered_db_unref (lt_grandfathered_db_t *grandfathereddb);
37 lt_grandfathered_t *lt_grandfathered_db_lookup(lt_grandfathered_db_t *grandfathereddb,
0a1d171 @tagoh another try to clean up glib dependencies
authored
38 const char *tag);
4d2acdb @tagoh Add grandfathered database handler
authored
39
0a1d171 @tagoh another try to clean up glib dependencies
authored
40 LT_END_DECLS
4d2acdb @tagoh Add grandfathered database handler
authored
41
42 #endif /* __LT_GRANDFATHERED_DB_H__ */
Something went wrong with that request. Please try again.