/*========================== begin_copyright_notice ============================
Copyright (C) 2021 Intel Corporation

SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/

/*!
 * @file Interface of the command line parser for GTPIn tools
 */

#ifndef KNOB_PARSER_H
#define KNOB_PARSER_H

#include <stddef.h>

#include "gtreplay_types.h"

#if defined(__cplusplus)
extern "C"
{
#endif

/*!
 * Parse arguments of the GTReplay command line and setup GTPin configuration parameters (Knobs) accordingly
 * @param[in] argc, argv    Arguments of the GTReplay command line
 * @return  In case of parsing failure, the function reports an error message, and terminates the process
 */
GTREPLAY_API
void ConfigureGTReplay(int argc, const char **argv);

#if defined(__cplusplus)
}
#endif


#endif
