From 1687222e1b9e74c89cafbb5910e72d8ec7bfd40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 31 Jul 2019 16:59:49 +0200 Subject: New upstream version 1.0.28 --- include/sane/sanei_config.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'include/sane/sanei_config.h') diff --git a/include/sane/sanei_config.h b/include/sane/sanei_config.h index cf877cf..3a60167 100644 --- a/include/sane/sanei_config.h +++ b/include/sane/sanei_config.h @@ -52,8 +52,12 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** Search configuration file \a name along directory list and return file - * pointer if such a file exists. + * pointer if such a file exists. * * The following directory list is used: * 1st: SANE_CONFIG_DIR environment variable. @@ -127,9 +131,9 @@ extern void sanei_config_attach_matching_devices (const char *name, (const char *dev)); /** this structure holds the description of configuration options. There is - * a list for options and another for their values. + * a list for options and another for their values. * These lists are used when the configuration file is - * parsed. Read values are stored in Option_Value. Helpers functions are + * parsed. Read values are stored in Option_Value. Helpers functions are * provided to access values easily */ typedef struct { @@ -172,4 +176,8 @@ extern SANE_Status sanei_configure_attach ( */ extern const char *sanei_config_get_paths (void); +#ifdef __cplusplus +} // extern "C" +#endif + #endif /* sanei_config_h */ -- cgit v1.2.3