fixed pkg-config rule
[k8jam.git] / src / filesys.h
blob285dd98e7c42f2bc34f8ce5c84624b855405ebf4
1 /*
2 * Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
4 * This file is part of Jam - see jam.c for Copyright information.
5 */
6 /*
7 * filesys.h - OS specific file routines
9 * 11/04/02 (seiwald) - const-ing for string literals
11 #ifndef JAMH_FILESYS_H
12 #define JAMH_FILESYS_H
15 typedef void (*scanback) (void *closure, const char *file, int found, time_t t);
17 extern void file_dirscan (const char *dir, scanback func, void *closure);
18 extern void file_archscan (const char *arch, scanback func, void *closure);
20 extern int file_time (const char *filename, time_t *time);
22 // <0: error; 0: regular; 1: directory
23 extern int getFileType (const char *diskname);
26 #endif