diff options
| author | Dima Zavin <dima@android.com> | 2011-08-31 18:07:36 -0700 |
|---|---|---|
| committer | Dima Zavin <dima@android.com> | 2011-09-02 12:11:17 -0700 |
| commit | 2d55e02d0f3c27f0c99ab889ab7b73126280a21c (patch) | |
| tree | 160bd0d7677ca899527ec9ab4a6a619c3698c2a8 /include/cutils | |
| parent | 09e32886e64258c0600e2696e26a2aca559310e2 (diff) | |
| download | core-2d55e02d0f3c27f0c99ab889ab7b73126280a21c.tar.gz core-2d55e02d0f3c27f0c99ab889ab7b73126280a21c.tar.bz2 core-2d55e02d0f3c27f0c99ab889ab7b73126280a21c.zip | |
libcutils/init: move uevent socket opening code to libcutils
Change-Id: I90adf78c0eb6185505f2bf7b62e96e25ab918345
Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'include/cutils')
| -rw-r--r-- | include/cutils/uevent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cutils/uevent.h b/include/cutils/uevent.h index 5f5e6ca65..4ebc300c8 100644 --- a/include/cutils/uevent.h +++ b/include/cutils/uevent.h @@ -17,12 +17,14 @@ #ifndef __CUTILS_UEVENT_H #define __CUTILS_UEVENT_H +#include <stdbool.h> #include <sys/socket.h> #ifdef __cplusplus extern "C" { #endif +int uevent_open_socket(int buf_sz, bool passcred); ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length); #ifdef __cplusplus |
