libkeymap  2.0.1
Library to manage the Linux keymaps
findfile.h
Go to the documentation of this file.
1 #ifndef LK_FINDFILE_H
2 #define LK_FINDFILE_H
3 
4 #include <stdio.h>
5 #include <sys/param.h>
6 
7 typedef struct lkfile {
8  FILE *fd;
9  int pipe;
10  char pathname[MAXPATHLEN];
11 } lkfile_t;
12 
13 void lk_fpclose(lkfile_t *fp);
14 int lk_findfile(const char *fnam, const char *const *dirpath, const char *const *suffixes, lkfile_t *fp);
15 
16 #endif /* LK_FINDFILE_H */
char pathname[MAXPATHLEN]
Definition: findfile.h:10
int lk_findfile(const char *fnam, const char *const *dirpath, const char *const *suffixes, lkfile_t *fp)
Definition: findfile.h:7
FILE * fd
Definition: findfile.h:8
struct lkfile lkfile_t
int pipe
Definition: findfile.h:9
void lk_fpclose(lkfile_t *fp)