Spdk/lib/event
Kefu Chai 39ecb61ade event: pass "const struct option*" to spdk_app_parse_args()
before this change, we cannot pass a `const struct option*` to
spdk_app_parse_args() even the callee does not mutate the value pointed
by the pointer. in other words, we are not able to write something like:

static const option g_options[] = {...};
// ...
spdk_app_parse_args(argc, argv, &opts, "",
  g_options, app_parse_arg, app_usage);

after this change, the requirement of the type of the `option` argument
is relaxed, so we can pass a `const struct option*` to this function
now.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Change-Id: I8794fcf92090f538743850a28ef4a2a8c357f121
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14082
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2022-09-13 10:48:58 +00:00
..
app_rpc.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
app.c event: pass "const struct option*" to spdk_app_parse_args() 2022-09-13 10:48:58 +00:00
log_rpc.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
Makefile event: make opts structures packed 2022-08-18 10:08:40 +00:00
reactor.c reactor: Encapsulate a function _event_call. 2022-09-08 07:17:34 +00:00
scheduler_static.c lib/event: do not set default scheduling period during init 2022-06-20 09:56:09 +00:00
spdk_event.map scheduler: create public API and subsystem for scheduler/governor 2021-09-07 07:33:03 +00:00