00001 #ifndef FILEOPS_H 00002 #define FILEOPS_H 00003 00004 /* returns non-zero if path arg is a normal file, or link to a 00005 normal file, 0 otherwise */ 00006 extern int rcs_fileop_isfile (const char *path); 00007 00008 /* returns non-zero if path arg is a directory, or link to a 00009 directory, 0 otherwise */ 00010 extern int rcs_fileop_isdir (const char *path); 00011 00012 /* returns non-zero if path arg is a link to anything */ 00013 extern int rcs_fileop_islink (const char *path); 00014 00015 #endif