parent
2a1f84f4d1
commit
05882d4c42
@ -0,0 +1,26 @@
|
||||
/* $Id: sysfunc.h,v 1.1 2003/05/06 12:09:22 stpohle Exp $ */
|
||||
/* include some system near functions */
|
||||
|
||||
#ifndef _SYSFUNC_H_
|
||||
#define _SYSFUNC_H_
|
||||
|
||||
#define MAX_DIRENTRYS 1024
|
||||
|
||||
enum _dirflags {
|
||||
DF_dir = 1,
|
||||
DF_file = 2
|
||||
};
|
||||
|
||||
struct __direntry {
|
||||
unsigned char flags;
|
||||
char name[LEN_FILENAME];
|
||||
struct __direntry *next;
|
||||
} typedef _direntry;
|
||||
|
||||
extern void s_delay (int ms);
|
||||
extern int s_random (int maxnr);
|
||||
extern char *s_gethomedir ();
|
||||
|
||||
extern _direntry *s_getdir (char *path);
|
||||
|
||||
#endif
|
Loading…
Reference in new issue