1 /* 2 * Copyright 2018 Oticon A/S 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef BS_TIME_MON_ARGS_H 7 #define BS_TIME_MON_ARGS_H 8 9 #include "bs_types.h" 10 #include "bs_cmd_line.h" 11 #include "bs_cmd_line_typical.h" 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 typedef struct { 18 BS_BASIC_DEVICE_OPTIONS_FIELDS 19 bs_time_t interval; 20 } time_monitor_args_t; 21 22 void bs_time_monitor_argparse(int argc, char *argv[], time_monitor_args_t *args); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif 29