summaryrefslogtreecommitdiff
path: root/udev_utils.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-02-09 04:37:32 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:27:32 -0700
commitc1ab046124ebef3c82950b91ccfd1678d9f7fe5b (patch)
tree1b160f9cba6681028f8993ca723300611172b133 /udev_utils.h
parentbce52be81ec679bf080bb11f292c899d9fde084e (diff)
[PATCH] provide temporary device node for callouts to access the device
%N will create a temporary node for a callout a be sustituted with the name of the node.
Diffstat (limited to 'udev_utils.h')
-rw-r--r--udev_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev_utils.h b/udev_utils.h
index 5d2c9c580c..19061f16f6 100644
--- a/udev_utils.h
+++ b/udev_utils.h
@@ -80,6 +80,7 @@ extern void udev_init_device(struct udevice *udev, const char* devpath, const ch
extern int kernel_release_satisfactory(unsigned int version, unsigned int patchlevel, unsigned int sublevel);
extern int create_path(const char *path);
extern int parse_get_pair(char **orig_string, char **left, char **right);
+extern int unlink_secure(const char *filename);
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(const char *buf, size_t buflen, size_t cur);