X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_lib.h;h=cc264fa9b4ce27f9ebd496483d053aee4e1b1ae4;hb=eab52c24431b4305708a7579a823585555b8f33b;hp=90a42ffe96b8b83a351568ff52b582bbd841a369;hpb=f61d732a02c8a5e11c39651a70e3e3fd00529495;p=elogind.git diff --git a/udev_lib.h b/udev_lib.h index 90a42ffe9..cc264fa9b 100644 --- a/udev_lib.h +++ b/udev_lib.h @@ -68,13 +68,14 @@ do { \ extern char *get_action(void); extern char *get_devpath(void); -extern char *get_devnode(void); +extern char *get_devname(void); extern char *get_seqnum(void); extern char *get_subsystem(char *subsystem); extern char get_device_type(const char *path, const char *subsystem); extern int file_map(const char *filename, char **buf, size_t *bufsize); extern void file_unmap(char *buf, size_t bufsize); extern size_t buf_get_line(char *buf, size_t buflen, size_t cur); +extern int call_foreach_file(int fnct(char *f) , char *filename, char *extension); #endif