about summary refs log tree commit diff
path: root/src/base/system.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-09-24 13:38:03 +0200
committeroy <Tom_Adams@web.de>2010-09-24 13:38:03 +0200
commit7e0b37e06c71dc96d68f3352ecd2c799caaaf8ec (patch)
treeb76100af28ae1fecb480ff02ae42f24507e92d06 /src/base/system.h
parent1cbf731fc0c3cbc5a1d2be6f1af51cb93d9739e2 (diff)
downloadzcatch-7e0b37e06c71dc96d68f3352ecd2c799caaaf8ec.tar.gz
zcatch-7e0b37e06c71dc96d68f3352ecd2c799caaaf8ec.zip
fixed that it checks the current dir for demos too
Diffstat (limited to 'src/base/system.h')
-rw-r--r--src/base/system.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/base/system.h b/src/base/system.h
index a5b549bc..2ef7a9f3 100644
--- a/src/base/system.h
+++ b/src/base/system.h
@@ -888,13 +888,14 @@ void str_hex(char *dst, int dst_size, const void *data, int data_size);
 	Parameters:
 		dir - Directory to list
 		cb - Callback function to call for each entry
+		type - Type of the directory
 		user - Pointer to give to the callback
 	
 	Returns:
 		Always returns 0.
 */
-typedef void (*FS_LISTDIR_CALLBACK)(const char *name, int is_dir, void *user);
-int fs_listdir(const char *dir, FS_LISTDIR_CALLBACK cb, void *user);
+typedef void (*FS_LISTDIR_CALLBACK)(const char *name, int is_dir, int dir_type, void *user);
+int fs_listdir(const char *dir, FS_LISTDIR_CALLBACK cb, int type, void *user);
 
 /*
 	Function: fs_makedir