Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

broker_allup.cc File Reference


Detailed Description

Main file for an edu::utah::pces::Allup server.

Definition in file broker_allup.cc.

Include dependency graph for broker_allup.cc:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  std

Functions

void sig_exit_handler (int sig)
 Signal handler for.

void baUsage (const char *prog_name)
 Print out the usage statement to standard error.

int baProcessOptions (int &argc_inout, char **&argv_inout)
 Process the command line options.

int main (int argc, char *argv[])

Variables

struct {
   const char *   ba_IORFileName
ba_data
 Global data for the server.


Function Documentation

int baProcessOptions int &  argc_inout,
char **&  argv_inout
[static]
 

Process the command line options.

Parameters:
argc_inout Reference to main's argc variable. On return, the variable will contain the number of arguments remaining after option processing.
argv_inout Reference to main's argv variable. On return, the variable will contain the remaining argument values.
Returns:
True if the options were processed correctly, false otherwise.

Definition at line 106 of file broker_allup.cc.

References ba_data.

void baUsage const char *  prog_name  )  [static]
 

Print out the usage statement to standard error.

Parameters:
prog_name The program name.

Definition at line 72 of file broker_allup.cc.

References ba_data, and require.

void sig_exit_handler int  sig  )  [static]
 

Signal handler for.

Parameters:
sig The actual signal number received.

Definition at line 56 of file broker_allup.cc.

References ba_data, NULL_RESOURCE_SET, and rk_resource_set_destroy().

Here is the call graph for this function:


Variable Documentation

struct { ... } ba_data [static]
 

Global data for the server.

ba_ResourceSet - The resource set for this process.

Referenced by baProcessOptions(), baUsage(), and sig_exit_handler().


Generated on Mon Dec 1 16:29:19 2003 for CPU Broker by doxygen 1.3.4