summaryrefslogtreecommitdiff
path: root/udev_utils.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-07-22 12:35:58 -0400
committerKay Sievers <kay.sievers@suse.de>2005-07-22 12:35:58 -0400
commite8d569b4145a358775e87058829133fa725b32fd (patch)
tree840f9b66b6e0948faacbcb42b78f0672fd1ca758 /udev_utils.h
parent761e5b476f8e69f41958a62ed787f5d886fa212e (diff)
move code to its own files
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_utils.h')
-rw-r--r--udev_utils.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/udev_utils.h b/udev_utils.h
index 655c764fc8..5f4152df82 100644
--- a/udev_utils.h
+++ b/udev_utils.h
@@ -1,8 +1,7 @@
/*
- * udev_lib - generic stuff used by udev
- *
- * Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org>
+ * udev_utils.c - generic stuff used by udev
*
+ * Copyright (C) 2004-2005 Kay Sievers <kay.sievers@vrfy.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -19,19 +18,18 @@
*
*/
-#ifndef _UDEV_LIB_H_
-#define _UDEV_LIB_H_
+#ifndef _UDEV_COMMON_H_
+#define _UDEV_COMMON_H_
#include "udev.h"
+#include "list.h"
struct name_entry {
struct list_head node;
char name[PATH_SIZE];
};
-extern int udev_init_device(struct udevice *udev, const char* devpath, const char *subsystem, const char *action);
-extern void udev_cleanup_device(struct udevice *udev);
-
+extern int strcmp_pattern(const char *p, const char *s);
extern int kernel_release_satisfactory(unsigned int version, unsigned int patchlevel, unsigned int sublevel);
extern int create_path(const char *path);
extern int log_priority(const char *priority);