client/client_state.h File Reference

(r16139/r16130)

#include <string>
#include <vector>
#include <ctime>
#include "acct_mgr.h"
#include "acct_setup.h"
#include "app.h"
#include "client_types.h"
#include "file_xfer.h"
#include "gui_rpc_server.h"
#include "gui_http.h"
#include "hostinfo.h"
#include "miofile.h"
#include "net_stats.h"
#include "pers_file_xfer.h"
#include "prefs.h"
#include "scheduler_op.h"
#include "time_stats.h"
#include "http_curl.h"
#include "coproc.h"

Include dependency graph for client_state.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CLIENT_STATE
 encapsulates the global variables of the core client. More...

Defines

#define WORK_FETCH_DONT_NEED   0
#define WORK_FETCH_OK   1
#define WORK_FETCH_NEED   2
#define WORK_FETCH_NEED_IMMEDIATELY   3
#define POLL_INTERVAL   1.0

Functions

double calculate_exponential_backoff (int n, double MIN, double MAX)
 return a random double in the range [MIN,min(e^n,MAX))
void print_suspend_tasks_message (int)

Variables

CLIENT_STATE gstate


Define Documentation

#define POLL_INTERVAL   1.0

#define WORK_FETCH_DONT_NEED   0

#define WORK_FETCH_NEED   2

#define WORK_FETCH_NEED_IMMEDIATELY   3

#define WORK_FETCH_OK   1


Function Documentation

double calculate_exponential_backoff ( int  n,
double  MIN,
double  MAX 
)

return a random double in the range [MIN,min(e^n,MAX))

void print_suspend_tasks_message ( int   ) 

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation


Generated on Mon Oct 6 10:37:43 2008 for BOINC by  doxygen 1.5.6