diff --git a/src/io_backend/io_backend.h b/src/io_backend/io_backend.h index b8eed52..39e6d2e 100644 --- a/src/io_backend/io_backend.h +++ b/src/io_backend/io_backend.h @@ -38,6 +38,15 @@ struct iob_context char *args; }; +/** + * @brief Converts struct arg_options to iob_context + * + * @param args The arguments options struct + * @param ctx The IO Backend context struct to populate + * @return int 0 on success, negative value on error + */ +int iob_config_from_args(struct args_options *args, struct iob_context *ctx); + /* * @brief Initializes the IO Backend module *