1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 /* 3 * lt-variant-private.h 4 * Copyright (C) 2011-2015 Akira TAGOH 5 * 6 * Authors: 7 * Akira TAGOH <akira@tagoh.org> 8 * 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. 12 */ 13 #ifndef __LT_VARIANT_PRIVATE_H__ 14 #define __LT_VARIANT_PRIVATE_H__ 15 16 #if !defined (__LANGTAG_PRIVATE) 17 #error "Unable to use the private header publicly" 18 #endif 19 20 #include "lt-macros.h" 21 #include "lt-variant.h" 22 23 LT_BEGIN_DECLS 24 25 lt_variant_t *lt_variant_create (void); 26 void lt_variant_set_tag (lt_variant_t *variant, 27 const char *subtag); 28 void lt_variant_set_preferred_tag(lt_variant_t *variant, 29 const char *subtag); 30 void lt_variant_set_name (lt_variant_t *variant, 31 const char *description); 32 void lt_variant_add_prefix (lt_variant_t *variant, 33 const char *prefix); 34 35 LT_END_DECLS 36 37 #endif /* __LT_VARIANT_PRIVATE_H__ */ 38