blob: 80100a3cacaff5f63208764ac6a9c01dfd2ae372 [file] [log] [blame]
#ifndef LK_FINDFILE_H
#define LK_FINDFILE_H
#include <stdio.h>
#include <sys/param.h>
typedef struct lkfile {
FILE *fd;
int pipe;
char pathname[MAXPATHLEN];
} lkfile_t;
void lk_fpclose(lkfile_t *fp);
int lk_findfile(const char *fnam, const char *const *dirpath, const char *const *suffixes, lkfile_t *fp);
#endif /* LK_FINDFILE_H */