opnsense-src/sys/sys/devctl.h
Warner Losh 7628f0e923 devctl.h: Spelling typo
Spell identifier correctly. While I'm here, further simplify.

Fixes:		ee2c52fd3f
Sponsored by:	Netflix

(cherry picked from commit b3fab41830)
2021-12-06 08:55:58 -07:00

22 lines
524 B
C

/*-
* Copyright 2020 M. Warner Losh <imp@FreeBSD.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#ifndef _SYS_DEVCTL_H_
#define _SYS_DEVCTL_H_
#ifdef _KERNEL
/**
* devctl hooks. Typically one should use the devctl_notify
* hook to send the message.
*/
bool devctl_process_running(void);
void devctl_notify(const char *__system, const char *__subsystem,
const char *__type, const char *__data);
struct sbuf;
void devctl_safe_quote_sb(struct sbuf *__sb, const char *__src);
#endif
#endif /* _SYS_DEVCTL_H_ */