aboutsummaryrefslogtreecommitdiffhomepage
path: root/wutil.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-09 00:58:47 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-09 00:58:47 +1000
commit133b682793fdbc0d86d207c6afe774b26af84d3a (patch)
tree041bcc8297048ba2c4abfe189ed740b8c05c2d9a /wutil.h
parent824f4ee566f0454515810c4df5f602e28fbb7c60 (diff)
New wreaddir function, wide character version of readdir
darcs-hash:20060208145847-ac50b-0e250edb67dd095e90054ed55f88a2638ba9b02a.gz
Diffstat (limited to 'wutil.h')
-rw-r--r--wutil.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wutil.h b/wutil.h
index 4230e629..b88c7822 100644
--- a/wutil.h
+++ b/wutil.h
@@ -16,6 +16,13 @@
#include <sys/types.h>
#include <stdarg.h>
+struct wdirent
+{
+ wchar_t *d_name;
+}
+ ;
+
+
/**
Call this function on startup to create internal wutil
resources. This function doesn't do anything.
@@ -91,6 +98,8 @@ int wchdir( const wchar_t * dir );
*/
wchar_t *wrealpath(const wchar_t *pathname, wchar_t *resolved_path);
+struct wdirent *wreaddir(DIR *dir );
+
/*
Here follows the prototypes for fallback implementations of various
standarcs libc functions relating to wide character support. Some of