lib/app_ipc.h File Reference

(r16139/r15886)

#include <vector>
#include <string>
#include <cstdio>
#include "hostinfo.h"
#include "proxy_info.h"
#include "prefs.h"
#include "common_defs.h"

Include dependency graph for app_ipc.h:

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

Go to the source code of this file.

Classes

struct  MSG_CHANNEL
struct  SHARED_MEM
struct  MSG_QUEUE
struct  GRAPHICS_MSG
class  APP_CLIENT_SHM
struct  APP_INIT_DATA
struct  GRAPHICS_INFO

Defines

#define MSG_CHANNEL_SIZE   1024
#define DEFAULT_CHECKPOINT_PERIOD   300
#define SHM_PREFIX   "shm_"
#define QUIT_PREFIX   "quit_"
#define INIT_DATA_FILE   "init_data.xml"
#define BOINC_FINISH_CALLED_FILE   "boinc_finish_called"
#define TRICKLE_UP_FILENAME   "trickle_up.xml"
#define STDERR_FILE   "stderr.txt"
#define STDOUT_FILE   "stdout.txt"
#define LOCKFILE   "boinc_lockfile"
#define UPLOAD_FILE_REQ_PREFIX   "boinc_ufr_"
#define UPLOAD_FILE_STATUS_PREFIX   "boinc_ufs_"
#define PROJECT_DIR   "projects"

Typedefs

typedef int SHMEM_SEG_NAME
typedef struct GRAPHICS_INFO GRAPHICS_INFO

Functions

int write_init_data_file (FILE *f, APP_INIT_DATA &)
int parse_init_data_file (FILE *f, APP_INIT_DATA &)
int write_graphics_file (FILE *f, GRAPHICS_INFO *gi)
int parse_graphics_file (FILE *f, GRAPHICS_INFO *gi)
int boinc_link (const char *phys_name, const char *logical_name)
int boinc_resolve_filename (const char *, char *, int len)
void url_to_project_dir (char *url, char *dir)

Variables

const char * xml_graphics_modes [NGRAPHICS_MSGS]


Define Documentation

#define BOINC_FINISH_CALLED_FILE   "boinc_finish_called"

#define DEFAULT_CHECKPOINT_PERIOD   300

#define INIT_DATA_FILE   "init_data.xml"

#define LOCKFILE   "boinc_lockfile"

#define MSG_CHANNEL_SIZE   1024

#define PROJECT_DIR   "projects"

#define QUIT_PREFIX   "quit_"

#define SHM_PREFIX   "shm_"

#define STDERR_FILE   "stderr.txt"

#define STDOUT_FILE   "stdout.txt"

#define TRICKLE_UP_FILENAME   "trickle_up.xml"

#define UPLOAD_FILE_REQ_PREFIX   "boinc_ufr_"

#define UPLOAD_FILE_STATUS_PREFIX   "boinc_ufs_"


Typedef Documentation

typedef struct GRAPHICS_INFO GRAPHICS_INFO

typedef int SHMEM_SEG_NAME


Function Documentation

int boinc_link ( const char *  phys_name,
const char *  logical_name 
)

int boinc_resolve_filename ( const char *  ,
char *  ,
int  len 
)

Here is the call graph for this function:

int parse_graphics_file ( FILE *  f,
GRAPHICS_INFO gi 
)

int parse_init_data_file ( FILE *  f,
APP_INIT_DATA  
)

Here is the call graph for this function:

void url_to_project_dir ( char *  url,
char *  dir 
)

Here is the call graph for this function:

int write_graphics_file ( FILE *  f,
GRAPHICS_INFO gi 
)

int write_init_data_file ( FILE *  f,
APP_INIT_DATA  
)

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const char* xml_graphics_modes[NGRAPHICS_MSGS]


Generated on Mon Oct 6 10:39:55 2008 for BOINC by  doxygen 1.5.6