2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 #ifndef SUDOERS_IOLOG_EVENT_H
20 #define SUDOERS_IOLOG_EVENT_H
23 * I/O log event types as stored as the first field in the timing file.
24 * Changing existing values will result in incompatible I/O log files.
26 #define IO_EVENT_STDIN 0
27 #define IO_EVENT_STDOUT 1
28 #define IO_EVENT_STDERR 2
29 #define IO_EVENT_TTYIN 3
30 #define IO_EVENT_TTYOUT 4
31 #define IO_EVENT_WINSIZE 5
32 #define IO_EVENT_SUSPEND 6
33 #define IO_EVENT_COUNT 7
35 #endif /* SUDOERS_IOLOG_EVENT_H */