#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/wait.h>
#include <stdio.h>
#include <errno.h>
#include <fstream>
#include <iostream>
#include <string>
#include "config.h"
#include "ServerExitConditions.h"
#include "BESServerUtils.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 () |
int | main (int argc, char *argv[]) |
Variables | |
string | NameProgram |
string | server_name |
string | file_for_listener |
char ** | arguments = 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|