summaryrefslogtreecommitdiff
path: root/libgphoto2_port/gphoto2
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2007-08-14 12:57:04 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2007-08-14 12:57:04 +0000
commitd4ec14fa2c1a01badc626e13a4555c0ceba48175 (patch)
tree2fec43cebaf06b6c7864ca80ab7d9178fc4adb26 /libgphoto2_port/gphoto2
parent85df1337a916861ea23111eb947eae9c9dc7323e (diff)
downloadlibgphoto2-d4ec14fa2c1a01badc626e13a4555c0ceba48175.tar.gz
mvoe definition of IOLIBDIR_ENV; insist on at least one iolib loading successfully
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10584 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/gphoto2')
-rw-r--r--libgphoto2_port/gphoto2/gphoto2-port-info-list.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libgphoto2_port/gphoto2/gphoto2-port-info-list.h b/libgphoto2_port/gphoto2/gphoto2-port-info-list.h
index 5e111835f..945d21c1b 100644
--- a/libgphoto2_port/gphoto2/gphoto2-port-info-list.h
+++ b/libgphoto2_port/gphoto2/gphoto2-port-info-list.h
@@ -90,6 +90,19 @@ const char *gp_port_message_codeset (const char*);
/* DEPRECATED */
typedef GPPortInfo gp_port_info;
+
+/**
+ * Name of the environment variable which may contain the path where
+ * to look for the IO libs. If this environment variable is not defined,
+ * use the compiled-in default constant.
+ *
+ * \internal Internal use only.
+ */
+#ifdef _GPHOTO2_INTERNAL_CODE
+#define IOLIBDIR_ENV "IOLIBS"
+#endif /* _GPHOTO2_INTERNAL_CODE */
+
+
#ifdef __cplusplus
}
#endif /* __cplusplus */