libkeymap  2.0.4
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 */
char pathname[MAXPATHLEN]
Definition: findfile.h:17
int lk_findfile(const char *fnam, const char *const *dirpath, const char *const *suffixes, lkfile_t *fp)
lkfile_t * lk_fpopen(const char *filename)
Structure contains information about an open keymap file.
Definition: findfile.h:14
FILE * fd
Definition: findfile.h:15
struct lkfile lkfile_t
Structure contains information about an open keymap file.
int pipe
Definition: findfile.h:16
void lk_fpclose(lkfile_t *fp)