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


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 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 struct GRAPHICS_INFO GRAPHICS_INFO |
| typedef int SHMEM_SEG_NAME |
| int boinc_link | ( | const char * | phys_name, | |
| const char * | logical_name | |||
| ) |
| int boinc_resolve_filename | ( | const char * | , | |
| char * | , | |||
| int | len | |||
| ) |

| int parse_graphics_file | ( | FILE * | f, | |
| GRAPHICS_INFO * | gi | |||
| ) |
| int parse_init_data_file | ( | FILE * | f, | |
| APP_INIT_DATA & | ||||
| ) |

| void url_to_project_dir | ( | char * | url, | |
| char * | dir | |||
| ) |

| int write_graphics_file | ( | FILE * | f, | |
| GRAPHICS_INFO * | gi | |||
| ) |
| int write_init_data_file | ( | FILE * | f, | |
| APP_INIT_DATA & | ||||
| ) |


| const char* xml_graphics_modes[NGRAPHICS_MSGS] |
1.5.6