summaryrefslogtreecommitdiff
path: root/include/sane/sanei_config.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /include/sane/sanei_config.h
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'include/sane/sanei_config.h')
-rw-r--r--include/sane/sanei_config.h14
1 files changed, 11 insertions, 3 deletions
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 <stdio.h>
#include <sane/sane.h>
+#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 */