version/1.0
[ng-jackspa.git] / interface.h
blob8ec444bb79acaaa1c88f604da8466a6836bdde4d
1 /* interface.h - entities common to the modules, possibly defined by the interface
2 * Copyright © 2013 Géraud Meyer <graud@gmx.com>
4 * This file is part of ng-jackspa.
6 * ng-jackspa is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation.
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
15 * You should have received a copy of the GNU General Public License along
16 * with ng-jackspa. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef INTERFACE_H
20 #define INTERFACE_H
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 #include <glib.h>
27 /* Return a member of a NULL-terminated array */
28 extern gchar *glib_strv_index(unsigned long i, gchar **str_array);
30 #ifdef __cplusplus
31 } /* extern "C" */
32 #endif
33 #endif