* fixed all headers to use extern "C" so C/C++ linking will work properly
[libundertow.git] / src / undertow-option.h
blob5b2245b79197ee94dcf083cc4c4c71e286df22f9
1 /* libundertow - undertow-option.h
2 * Copyright (C) 2008 Michael Frank <msfrank@syntaxjockey.com>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 3 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
20 /**\file undertow-option.h */
22 #ifndef LIBUNDERTOW_OPTION_H
23 #define LIBUNDERTOW_OPTION_H
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 void lut_option_set_database_path (const char *path);
30 char *lut_option_get_database_path (void);
31 void lut_option_set_download_directory (const char *path);
32 char *lut_option_get_download_directory (void);
33 void lut_option_set_default_refresh_period (int minutes);
34 int lut_option_get_default_refresh_period (void);
36 #ifdef __cplusplus
38 #endif
40 #endif