home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
MN325SRC.ZIP
/
makenl-3.2.5
/
src
/
osgnulnx.h
< prev
next >
Wrap
C/C++ Source or Header
|
2005-02-06
|
786b
|
38 lines
/* $Id: osgnulnx.h,v 1.4 2004/07/17 03:05:06 ozzmosis Exp $ */
#include <sys/types.h>
#include <stdlib.h>
#include <dirent.h>
#include <unistd.h>
#define STR_DIRSEPARATOR "/"
#define MYMAXFILE 64
#define MYMAXDIR 1024
#define MYMAXPATH 1088
#define MYMAXEXT 12
#define MYMAXDRIVE 3
#define filecmp strcmp
#define filenodir(x) (strchr(x,'/') == NULL)
#define stricmp strcasecmp
/* Needed definitions */
#define OSFND "osgnufnd.c"
#define OSFUL "oslnxful.c"
/* Overrides over defaults */
#undef OSCWD
#define OSCWD "oslnxcwd.c"
#undef OSDSL
#define OSDSL "oslnxdsl.c"
#define USE_OWN_FGETS "oslnxget.c"
struct _filefind
{
char path[MYMAXDIR];
char mask[MYMAXFILE];
DIR *dirp;
struct dirent *pentry;
int flags;
};