#ifndef _NETWORK_H
#define _NETWORK_H

/* To be replaced with an interface event.h file */
#include "events.h"

typedef int Local_Handle;

struct Message {

  Local_Handle source;

  char * message;
  int length;
  
};

/*
  send_message

    This function sends the specified message to the specified
    processing node's client.

  Arguments:
    dest - the processor that the message is destined
    client - the client part of the runtime operating on to's port.
    message - the physical message to send
    length - the length of the message
    
  Returns:
    Void.

 */
void send_message(Local_Handle dest, struct Message *sendme);


#endif
