return devpath;
}
+char *get_devnode(void)
+{
+ char *devnode;
+
+ devnode = getenv("DEVNODE");
+ if (devnode != NULL && strlen(devnode) > NAME_SIZE)
+ devnode[NAME_SIZE-1] = '\0';
+
+ return devnode;
+}
+
char *get_seqnum(void)
{
char *seqnum;
extern char *get_action(void);
extern char *get_devpath(void);
+extern char *get_devnode(void);
extern char *get_seqnum(void);
extern char *get_subsystem(char *subsystem);
extern int file_map(const char *filename, char **buf, size_t *bufsize);