mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
io: move io_mode into non-anonymous enum
This commit is contained in:
parent
34170b1ace
commit
14c989f7b2
1 changed files with 7 additions and 5 deletions
|
@ -45,6 +45,12 @@ enum io_flags {
|
|||
IO_AUTO_DETECT_FORMAT = (1 << 13) /**< This IO instance supports format auto-detection during decoding. */
|
||||
};
|
||||
|
||||
enum io_mode {
|
||||
IO_MODE_STDIO,
|
||||
IO_MODE_ADVIO,
|
||||
IO_MODE_CUSTOM
|
||||
};
|
||||
|
||||
struct io {
|
||||
enum state state;
|
||||
int flags;
|
||||
|
@ -68,11 +74,7 @@ struct io {
|
|||
struct list *signals; /**< Signal meta data for parsed samples by io_scan() */
|
||||
bool header_printed;
|
||||
|
||||
enum {
|
||||
IO_MODE_STDIO,
|
||||
IO_MODE_ADVIO,
|
||||
IO_MODE_CUSTOM
|
||||
} mode;
|
||||
enum io_mode mode;
|
||||
|
||||
void *_vd;
|
||||
const struct format_type *_vt;
|
||||
|
|
Loading…
Add table
Reference in a new issue