Enumerations | Functions
BCP_netconfig_pvm.cpp File Reference
#include <cstdio>
#include <cstring>
#include <fstream>
#include <cctype>
#include <algorithm>
#include <pvm3.h>
Include dependency graph for BCP_netconfig_pvm.cpp:

Go to the source code of this file.

Enumerations

enum  messages {
  BCP_CONFIG_CHANGE = 1, BCP_CONFIG_ERROR = 2, BCP_CONFIG_OK = 3, BCP_ARE_YOU_TREEMANAGER = 4,
  BCP_I_AM_TREEMANAGER = 5
}
 

Functions

static bool str_eq (const char *str0, const char *str1)
 
static int str_lt (const char *str0, const char *str1)
 
static void find_tree_manager (const int my_tid, int &tm_tid)
 
static void stop (const char *msg)
 
int main (int argc, char **argv)
 

Enumeration Type Documentation

enum messages
Enumerator
BCP_CONFIG_CHANGE 
BCP_CONFIG_ERROR 
BCP_CONFIG_OK 
BCP_ARE_YOU_TREEMANAGER 
BCP_I_AM_TREEMANAGER 

Definition at line 11 of file BCP_netconfig_pvm.cpp.

Function Documentation

static bool str_eq ( const char *  str0,
const char *  str1 
)
inlinestatic

Definition at line 20 of file BCP_netconfig_pvm.cpp.

static int str_lt ( const char *  str0,
const char *  str1 
)
inlinestatic

Definition at line 26 of file BCP_netconfig_pvm.cpp.

static void find_tree_manager ( const int  my_tid,
int tm_tid 
)
static

Definition at line 441 of file BCP_netconfig_pvm.cpp.

static void stop ( const char *  msg)
static

Definition at line 484 of file BCP_netconfig_pvm.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 37 of file BCP_netconfig_pvm.cpp.