client/hostinfo_unix.cpp File Reference

(r16139/r16117)

#include "config.h"
#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/swap.h>
#include <sys/sysctl.h>
#include <sys/utsname.h>
#include <unistd.h>
#include <utmp.h>
#include <netinet/in.h>
#include "client_types.h"
#include "filesys.h"
#include "error_numbers.h"
#include "str_util.h"
#include "client_state.h"
#include "hostinfo_network.h"
#include "client_msgs.h"

Include dependency graph for hostinfo_unix.cpp:


Classes

struct  dir_dev

Defines

#define LINUX_LIKE_SYSTEM   defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)

Functions

int get_timezone ()
bool device_idle (time_t t, const char *device)
std::vector< std::string > get_tty_list ()
bool all_tty_idle (time_t t)
bool user_idle (time_t t, struct utmp *u)
bool all_logins_idle (time_t t)

Variables

const char * BOINC_RCSID_2cf92d205b = "$Id: hostinfo_unix.cpp 16117 2008-10-02 21:25:40Z boincadm $"

Define Documentation

#define LINUX_LIKE_SYSTEM   defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)


Function Documentation

bool all_logins_idle ( time_t  t  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool all_tty_idle ( time_t  t  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool device_idle ( time_t  t,
const char *  device 
) [inline]

Here is the caller graph for this function:

int get_timezone (  ) 

Here is the caller graph for this function:

std::vector<std::string> get_tty_list (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool user_idle ( time_t  t,
struct utmp *  u 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const char* BOINC_RCSID_2cf92d205b = "$Id: hostinfo_unix.cpp 16117 2008-10-02 21:25:40Z boincadm $"


Generated on Mon Oct 6 10:38:49 2008 for BOINC by  doxygen 1.5.6