#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"

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 LINUX_LIKE_SYSTEM defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) |
| bool all_logins_idle | ( | time_t | t | ) | [inline] |


| bool all_tty_idle | ( | time_t | t | ) | [inline] |


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

| int get_timezone | ( | ) |

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


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


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