mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-10 08:17:46 +00:00
conf: move ringbuffer members to anonymous struct
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
5777fe9030
commit
24945df77b
@ -174,18 +174,19 @@ struct lxc_console {
|
|||||||
char name[MAXPATHLEN];
|
char name[MAXPATHLEN];
|
||||||
struct termios *tios;
|
struct termios *tios;
|
||||||
struct lxc_tty_state *tty_state;
|
struct lxc_tty_state *tty_state;
|
||||||
|
struct /* lxc_console_ringbuf */ {
|
||||||
|
/* size of the ringbuffer */
|
||||||
|
uint64_t buffer_size;
|
||||||
|
|
||||||
/* size of the ringbuffer */
|
/* path to the log file for the ringbuffer */
|
||||||
uint64_t buffer_size;
|
char *buffer_log_file;
|
||||||
|
|
||||||
/* path to the log file for the ringbuffer */
|
/* fd to the log file for the ringbuffer */
|
||||||
char *buffer_log_file;
|
int buffer_log_file_fd;
|
||||||
|
|
||||||
/* fd to the log file for the ringbuffer */
|
/* the in-memory ringbuffer */
|
||||||
int buffer_log_file_fd;
|
struct lxc_ringbuf ringbuf;
|
||||||
|
};
|
||||||
/* the in-memory ringbuffer */
|
|
||||||
struct lxc_ringbuf ringbuf;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user