diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/log/logger.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/log/logger.h b/include/log/logger.h index 53be1d3..570f02b 100644 --- a/include/log/logger.h +++ b/include/log/logger.h @@ -154,6 +154,12 @@ ssize_t android_logger_get_prune_list(struct logger_list *logger_list, int android_logger_set_prune_list(struct logger_list *logger_list, char *buf, size_t len); +#define ANDROID_LOG_RDONLY O_RDONLY +#define ANDROID_LOG_WRONLY O_WRONLY +#define ANDROID_LOG_RDWR O_RDWR +#define ANDROID_LOG_ACCMODE O_ACCMODE +#define ANDROID_LOG_NONBLOCK O_NONBLOCK + struct logger_list *android_logger_list_alloc(int mode, unsigned int tail, pid_t pid); |