diff options
Diffstat (limited to 'include/linux/syslog.h')
-rw-r--r-- | include/linux/syslog.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/syslog.h b/include/linux/syslog.h index 5f02b1817be1..38911391a139 100644 --- a/include/linux/syslog.h +++ b/include/linux/syslog.h | |||
@@ -21,6 +21,29 @@ | |||
21 | #ifndef _LINUX_SYSLOG_H | 21 | #ifndef _LINUX_SYSLOG_H |
22 | #define _LINUX_SYSLOG_H | 22 | #define _LINUX_SYSLOG_H |
23 | 23 | ||
24 | /* Close the log. Currently a NOP. */ | ||
25 | #define SYSLOG_ACTION_CLOSE 0 | ||
26 | /* Open the log. Currently a NOP. */ | ||
27 | #define SYSLOG_ACTION_OPEN 1 | ||
28 | /* Read from the log. */ | ||
29 | #define SYSLOG_ACTION_READ 2 | ||
30 | /* Read all messages remaining in the ring buffer. */ | ||
31 | #define SYSLOG_ACTION_READ_ALL 3 | ||
32 | /* Read and clear all messages remaining in the ring buffer */ | ||
33 | #define SYSLOG_ACTION_READ_CLEAR 4 | ||
34 | /* Clear ring buffer. */ | ||
35 | #define SYSLOG_ACTION_CLEAR 5 | ||
36 | /* Disable printk's to console */ | ||
37 | #define SYSLOG_ACTION_CONSOLE_OFF 6 | ||
38 | /* Enable printk's to console */ | ||
39 | #define SYSLOG_ACTION_CONSOLE_ON 7 | ||
40 | /* Set level of messages printed to console */ | ||
41 | #define SYSLOG_ACTION_CONSOLE_LEVEL 8 | ||
42 | /* Return number of unread characters in the log buffer */ | ||
43 | #define SYSLOG_ACTION_SIZE_UNREAD 9 | ||
44 | /* Return size of the log buffer */ | ||
45 | #define SYSLOG_ACTION_SIZE_BUFFER 10 | ||
46 | |||
24 | #define SYSLOG_FROM_CALL 0 | 47 | #define SYSLOG_FROM_CALL 0 |
25 | #define SYSLOG_FROM_FILE 1 | 48 | #define SYSLOG_FROM_FILE 1 |
26 | 49 | ||