test/throughput/throughput_cli_parser.h

/*******************************************************************************
* # License
* Copyright 2019 Silicon Laboratories Inc. www.silabs.com
*******************************************************************************
*
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
*
******************************************************************************/
#ifndef THROUGHPUT_CLI_PARSER
#define THROUGHPUT_CLI_PARSER
#include "gos.h"
#include "throughput_types.h"
gos_result_t search_match(int argc, char **argv, char *match, uint8_t *index);
gos_result_t throughput_process_args(int argc, char **argv, throughput_context_t *throughput);
context_type_t process_session_type(int argc, char **argv);
gos_result_t get_arg_uint(int argc, char **argv, char * search,
uint32_t max, uint32_t *result, uint16_t scale);
gos_result_t get_arg_str(int argc, char **argv, char * search, char *result);
#endif