#include "cpp.h"#include "config.h"#include <cstdio>#include <sys/stat.h>#include <cctype>#include <sys/ipc.h>#include "shmem.h"#include "filesys.h"#include "error_numbers.h"#include "str_util.h"#include "util.h"#include "client_msgs.h"#include "sandbox.h"#include "client_state.h"#include "file_names.h"

Functions | |
| void | get_project_dir (PROJECT *p, char *path, int len) |
| void | get_pathname (FILE_INFO *fip, char *path, int len) |
| void | get_sched_request_filename (PROJECT &project, char *buf, int len) |
| void | get_sched_reply_filename (PROJECT &project, char *buf, int len) |
| void | get_master_filename (PROJECT &project, char *buf, int len) |
| void | job_log_filename (PROJECT &project, char *buf, int len) |
| void | get_slot_dir (int slot, char *path, int len) |
| int | make_project_dir (PROJECT &p) |
| int | remove_project_dir (PROJECT &p) |
| int | make_slot_dir (int slot) |
| void | delete_old_slot_dirs () |
| void | get_account_filename (char *master_url, char *path) |
| bool | is_account_file (const char *filename) |
| bool | is_statistics_file (const char *filename) |
| void | get_statistics_filename (char *master_url, char *path) |
| bool | is_image_file (const char *filename) |
| void | boinc_version_dir (PROJECT &p, VERSION_INFO &vi, char *buf) |
| bool | is_version_dir (char *buf, VERSION_INFO &vi) |
Variables | |
| const char * | BOINC_RCSID_7d362a6a52 = "$Id: file_names.cpp 16069 2008-09-26 18:20:24Z davea $" |
| void boinc_version_dir | ( | PROJECT & | p, | |
| VERSION_INFO & | vi, | |||
| char * | buf | |||
| ) |


| void delete_old_slot_dirs | ( | ) |


| void get_account_filename | ( | char * | master_url, | |
| char * | path | |||
| ) |


| void get_master_filename | ( | PROJECT & | project, | |
| char * | buf, | |||
| int | len | |||
| ) |


| void get_pathname | ( | FILE_INFO * | fip, | |
| char * | path, | |||
| int | len | |||
| ) |


| void get_project_dir | ( | PROJECT * | p, | |
| char * | path, | |||
| int | len | |||
| ) |


| void get_sched_reply_filename | ( | PROJECT & | project, | |
| char * | buf, | |||
| int | len | |||
| ) |


| void get_sched_request_filename | ( | PROJECT & | project, | |
| char * | buf, | |||
| int | len | |||
| ) |


| void get_slot_dir | ( | int | slot, | |
| char * | path, | |||
| int | len | |||
| ) |

| void get_statistics_filename | ( | char * | master_url, | |
| char * | path | |||
| ) |


| bool is_account_file | ( | const char * | filename | ) |
| bool is_image_file | ( | const char * | filename | ) |


| bool is_statistics_file | ( | const char * | filename | ) |
| bool is_version_dir | ( | char * | buf, | |
| VERSION_INFO & | vi | |||
| ) |
| void job_log_filename | ( | PROJECT & | project, | |
| char * | buf, | |||
| int | len | |||
| ) |


| int make_project_dir | ( | PROJECT & | p | ) |


| int make_slot_dir | ( | int | slot | ) |


| int remove_project_dir | ( | PROJECT & | p | ) |


| const char* BOINC_RCSID_7d362a6a52 = "$Id: file_names.cpp 16069 2008-09-26 18:20:24Z davea $" |
1.5.6