#include <unistd.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include <fstream>
#include <iostream>
#include <string>
#include <cstring>
#include <cstdlib>
#include <cerrno>
#include "config.h"
#include "ServerExitConditions.h"
#include "BESServerUtils.h"
#include "BESScrub.h"
Include dependency graph for daemon.cc:
Defines | |
#define | BES_SERVER_ROOT "BES_SERVER_ROOT" |
#define | BES_SERVER "/beslistener" |
#define | BES_SERVER_PID "/bes.pid" |
Functions | |
int | daemon_init () |
int | mount_server (char **) |
int | pr_exit (int status) |
void | store_listener_id (int pid) |
bool | load_names (const string &install_dir, const string &pid_dir) |
int | main (int argc, char *argv[]) |
Variables | |
string | NameProgram |
string | server_name |
string | file_for_listener |
char ** | arguments = 0 |
#define BES_SERVER "/beslistener" |
#define BES_SERVER_PID "/bes.pid" |
#define BES_SERVER_ROOT "BES_SERVER_ROOT" |
int daemon_init | ( | ) |
bool load_names | ( | const string & | install_dir, | |
const string & | pid_dir | |||
) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
int mount_server | ( | char ** | ) |
int pr_exit | ( | int | status | ) |
void store_listener_id | ( | int | pid | ) |
char** arguments = 0 |
string file_for_listener |
string NameProgram |
string server_name |