21 lines
664 B
C
21 lines
664 B
C
#if !defined(_CLI_COMPAT_H_)
|
|
|
|
#define _CLI_COMPAT_H_ 1
|
|
|
|
/*
|
|
* cli_compat.h - command-line compatibility shims for retired xce_scheduler
|
|
* options (scheduler-sim-discrete-clock spec, design.md, Components:
|
|
* CliCompat).
|
|
*/
|
|
|
|
/*
|
|
* sched_cli_warn_deprecated_options - logs one WARN per deprecated option
|
|
* that was given. sim_speed is the raw --sim-speed value as argp stored it
|
|
* (the last occurrence), or NULL when the option was not given.
|
|
*
|
|
* Call once, after mylog_init(), before any mode-specific startup. Never
|
|
* fails, never exits, never parses the value (Req 2.3, 2.4, 2.5).
|
|
*/
|
|
void sched_cli_warn_deprecated_options(const char* sim_speed);
|
|
|
|
#endif
|