libkeymap  2.0.3
Library to manage the Linux keymaps
findfile.h
Go to the documentation of this file.
1 
5 #ifndef LK_FINDFILE_H
6 #define LK_FINDFILE_H
7 
8 #include <stdio.h>
9 #include <sys/param.h>
10 
14 typedef struct lkfile {
15  FILE *fd;
16  int pipe;
17  char pathname[MAXPATHLEN];
18 } lkfile_t;
19 
20 lkfile_t *lk_fpopen(const char *filename);
21 void lk_fpclose(lkfile_t *fp);
22 int lk_findfile(const char *fnam, const char *const *dirpath, const char *const *suffixes, lkfile_t *fp);
23 
24 #endif /* LK_FINDFILE_H */