awips2/nativeLib/rary.wfoapi.common/include/testmode.H
root 06a8b51d6d Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

31 lines
588 B
C

// +++ Name: testmode.H
//Purpose: This is a general header file for most of the test mode programs.
// ---*************************************************************************
#ifndef _TEST_MODE_H_
#define _TEST_MODE_H_
#include "sockhelp.H"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#define BF_SIZE 128
struct sockdata_t
{
char msg[BF_SIZE];
char sender[BF_SIZE];
};
#define TEST_MODE 11
#define PRACTICE_MODE 12
#define PANIC_MODE 13
#define OPERATION_MODE 15
#define EXIT_MODE 16
#define DEFAULT_PORT_NUM "1234"
#define FAIL 0
#define PASS 1
#endif