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