diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2014-01-14 08:41:27 -0800 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2014-01-27 15:16:43 -0800 |
| commit | 1345f38e4419607ea9c5b24109e5bd6df52dcffa (patch) | |
| tree | 0a9eeba5bcf463ebb067d554d6ea244075db980a /liblog | |
| parent | e9c4196980208124066fb45fa03bfb85fe1d8581 (diff) | |
| download | system_core-1345f38e4419607ea9c5b24109e5bd6df52dcffa.tar.gz system_core-1345f38e4419607ea9c5b24109e5bd6df52dcffa.tar.bz2 system_core-1345f38e4419607ea9c5b24109e5bd6df52dcffa.zip | |
liblog: deprecate export LOGGER ioctl definitions
(cherry picked from commit 2e44a9ea2518024a07f38c2cc6066ec2074d5210)
Change-Id: I150cad9309255bec2b8bc7230c744e9bbb1b9578
Diffstat (limited to 'liblog')
| -rw-r--r-- | liblog/log_read.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/liblog/log_read.c b/liblog/log_read.c index 379105fd9..47aa711d0 100644 --- a/liblog/log_read.c +++ b/liblog/log_read.c @@ -25,6 +25,17 @@ #include <log/log.h> #include <log/logger.h> +#include <sys/ioctl.h> + +#define __LOGGERIO 0xAE + +#define LOGGER_GET_LOG_BUF_SIZE _IO(__LOGGERIO, 1) /* size of log */ +#define LOGGER_GET_LOG_LEN _IO(__LOGGERIO, 2) /* used log len */ +#define LOGGER_GET_NEXT_ENTRY_LEN _IO(__LOGGERIO, 3) /* next entry len */ +#define LOGGER_FLUSH_LOG _IO(__LOGGERIO, 4) /* flush log */ +#define LOGGER_GET_VERSION _IO(__LOGGERIO, 5) /* abi version */ +#define LOGGER_SET_VERSION _IO(__LOGGERIO, 6) /* abi version */ + typedef char bool; #define false (const bool)0 #define true (const bool)1 |
