rename config -> options

This commit is contained in:
luwenpeng
2024-03-08 14:51:21 +08:00
parent d0914483bb
commit 734f6a5135
32 changed files with 336 additions and 336 deletions

View File

@@ -37,7 +37,7 @@ enum packet_io_mode
PACKET_IO_MARSIO = 1,
};
struct packet_io_config
struct packet_io_options
{
enum packet_io_mode mode;
@@ -53,7 +53,7 @@ struct packet_io_config
};
struct packet_io;
struct packet_io *packet_io_new(struct packet_io_config *config);
struct packet_io *packet_io_new(struct packet_io_options *opts);
void packet_io_free(struct packet_io *handle);
void packet_io_print_stat(struct packet_io *handle);
struct packet_io_stat *packet_io_get_stat(struct packet_io *handle);