|
Lines 37-42
Link Here
|
| 37 |
|
37 |
|
| 38 |
#include <vendor.h> |
38 |
#include <vendor.h> |
| 39 |
|
39 |
|
|
|
40 |
/* Need for inet_addr() */ |
| 41 |
#include <sys/socket.h> |
| 42 |
#include <netinet/in.h> |
| 43 |
#include <arpa/inet.h> |
| 44 |
|
| 40 |
#include "network.h" |
45 |
#include "network.h" |
| 41 |
|
46 |
|
| 42 |
/* Callbacks */ |
47 |
/* Callbacks */ |
|
Lines 57-62
void scan_shares(gboolean reload);
Link Here
|
| 57 |
void scan_arp(gboolean reload); |
62 |
void scan_arp(gboolean reload); |
| 58 |
void scan_statistics(gboolean reload); |
63 |
void scan_statistics(gboolean reload); |
| 59 |
|
64 |
|
|
|
65 |
/* Suppress implicit declaration warnings */ |
| 66 |
extern void scan_samba(void); |
| 67 |
extern void scan_nfs_shared_directories(void); |
| 68 |
|
| 60 |
static ModuleEntry entries[] = { |
69 |
static ModuleEntry entries[] = { |
| 61 |
{N_("Interfaces"), "network-interface.png", callback_network, scan_network, MODULE_FLAG_NONE}, |
70 |
{N_("Interfaces"), "network-interface.png", callback_network, scan_network, MODULE_FLAG_NONE}, |
| 62 |
{N_("IP Connections"), "network-connections.png", callback_connections, scan_connections, MODULE_FLAG_NONE}, |
71 |
{N_("IP Connections"), "network-connections.png", callback_connections, scan_connections, MODULE_FLAG_NONE}, |
| 63 |
- |
|
|