/*
 *****************************************************************************
 *                                                                           *
 *                 IMPINJ CONFIDENTIAL AND PROPRIETARY                       *
 *                                                                           *
 * This source code is the sole property of Impinj, Inc.  Reproduction or    *
 * utilization of this source code in whole or in part is forbidden without  *
 * the prior written consent of Impinj, Inc.                                 *
 *                                                                           *
 * (c) Copyright Impinj, Inc. 2009. All rights reserved.                     *
 *                                                                           *
 *****************************************************************************
 */

/*
 *****************************************************************************
 *
 * $Id: oem_tool.h 61503 2009-12-18 01:00:57Z dshaheen $
 * 
 * Description:
 *     Header file for oem_tool.c
 *
 *****************************************************************************
 */
#ifndef OEMTOOL_H
#define OEMTOOL_H 1

/* main command line arg names */
#define OEMTOOL_CMD_READ        "--read"
#define OEMTOOL_CMD_WRITE       "--write"
#define OEMTOOL_CMD_READRANGE   "--readrange"
#define OEMTOOL_CMD_WRITERANGE  "--writerange"
#define OEMTOOL_CMD_TESTMODE    "--testmode"
#define OEMTOOL_CMD_LISTRADIOS  "--listradios"
#define OEMTOOL_CMD_RADIO       "--radio"
#define OEMTOOL_CMD_OUTPUTFILE  "--outputfile"

/* global mode flags values */
#define OEMTOOL_MODEFLAG_NONE 0x00000000
#define OEMTOOL_MODEFLAG_TEST 0x00000001

/* help data structure for the global help table */
struct help_entry
{
    char* cmdtext;
    char* helptext;
};

/* type definition for command handler function pointers */
typedef int (*cmd_handler)(int argc, char** argv);

#endif /* OEMTOOL_H */
