00001 /* ex: set tabstop=4 expandtab: */ 00002 /* */ 00003 /* (c) 2004-2006 Iowa State University */ 00004 /* see the LICENSE file in the top level directory */ 00005 /* */ 00006 /* $Header: /afs/scl/project/cvsroot/fountain/source/nodes/nodeCommon.h,v 1.12 2006/02/19 21:59:42 samm Exp $ */ 00010 00011 #ifndef NODE_COMMON_H__ 00012 #define NODE_COMMON_H__ 00013 00014 #include <cstdlib> 00015 #include <csignal> 00016 00024 bool initialize(); 00025 00029 void version(char** argv); 00030 00035 void usage(char** argv, bool amMasterNode); 00036 00042 void interruptHandler(int signalNumber); 00043 00051 bool parseArgs(int argc, char** argv, bool amMasterNode); 00052 00057 int Daemonize(); 00058 00059 #endif
1.4.6