/* file containing declarations and definitions for slave function */

#include <stdio.h>
#include <math.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <netinet/in.h>
#include <netdb.h>
#include <signal.h>
#include <strings.h>
#include "structures.h"
#include "util_fns.h"
#include "../asm/asm_defs.h"

#define TRUE  1
#define FALSE 0

#define MASTER_PORTNUM			3008
#define MASTER_NAME				"james"

#define STD						0
#define V1						1
#define V2						2
#define V3						3

extern double behave();

int master_socket_id;

WORK_STRUCT work_packet;           /* what is received from the master  */
GF_STRUCT reply_packet;             /* what is sent back to the master */

extern double lifespan;

int sim_env_version;

