aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2016-03-28 20:16:29 +0000
committerWarner Losh <imp@FreeBSD.org>2016-03-28 20:16:29 +0000
commitcb49b6548156943031d9f343bae1b83f07fe0f9c (patch)
treecebdea9244d6d12a07e2e230059121682f58db19 /sys/sys/bus.h
parentc8edf4bc2aef3df69b519d533bccabc429aa5bd3 (diff)
downloadsrc-cb49b6548156943031d9f343bae1b83f07fe0f9c.tar.gz
src-cb49b6548156943031d9f343bae1b83f07fe0f9c.zip
Move pccard_safe_quote() up to subr_bus.c and rename to
devctl_safe_quote() so it can be used more generally.
Notes
Notes: svn path=/head/; revision=297365
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 5f0df65146b6..e0297cc45801 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -141,6 +141,7 @@ void devctl_notify(const char *__system, const char *__subsystem,
const char *__type, const char *__data);
void devctl_queue_data_f(char *__data, int __flags);
void devctl_queue_data(char *__data);
+void devctl_safe_quote(char *__dst, const char *__src, size_t len);
/**
* Device name parsers. Hook to allow device enumerators to map