You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
582 B
28 lines
582 B
/* $Id: sysfunc.h,v 1.4 2003/05/07 21:28:13 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);
|
|
extern _direntry *s_dirfilter (_direntry *dirstart, signed char dirflags);
|
|
|
|
#endif
|