19 lines
330 B
C
19 lines
330 B
C
#ifndef __CUTILS_UEVENT_H
|
|||
|
|
#define __CUTILS_UEVENT_H
|
||
|
|
|
||
|
|
#include <stdbool.h>
|
||
|
|
#include <sys/socket.h>
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length);
|
||
|
|
int uevent_open_socket(int buf_sz, bool passcred);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif /* __CUTILS_UEVENT_H */
|