aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/file_util.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-12-07 20:24:57 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-12-07 20:24:57 +0000
commitad47f04c947fc6c7f0445f14c14fb147d4d973fa (patch)
tree7bcd79657b58a844ffc2adb4e024def56e2ae36d /wsutil/file_util.h
parentd6eff0493cc7989bcf75663e45a4c1835306d25a (diff)
Move getenv_utf8() to wsutil.
svn path=/trunk/; revision=35148
Diffstat (limited to 'wsutil/file_util.h')
-rw-r--r--wsutil/file_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wsutil/file_util.h b/wsutil/file_util.h
index 798cea9261..4225fe5933 100644
--- a/wsutil/file_util.h
+++ b/wsutil/file_util.h
@@ -123,6 +123,12 @@ void *ws_load_library(gchar *library_name);
* @return A handle to the DLL if found, NULL on failure.
*/
GModule *ws_module_open(gchar *module_name, GModuleFlags flags);
+
+/*
+ * utf8 version of getenv, needed to get win32 filename paths
+ */
+extern char *getenv_utf8(const char *varname);
+
#else /* _WIN32 */
#define ws_read read
#define ws_write write