Enabling multithreaded compilation.
[debian/lxpanel.git] / src / plugins / netstat / lxnm_client.h
... / ...
CommitLineData
1#ifndef HAVE_NS_LXNM_H
2#define HAVE_NS_LXNM_H
3
4#include "netstat.h"
5
6#define LXNM_SOCKET "/var/run/lxnm.socket"
7
8/* Command */
9#define LXNM_VERSION 0
10#define LXNM_ETHERNET_UP 1
11#define LXNM_ETHERNET_DOWN 2
12#define LXNM_ETHERNET_REPAIR 3
13#define LXNM_WIRELESS_UP 4
14#define LXNM_WIRELESS_DOWN 5
15#define LXNM_WIRELESS_REPAIR 6
16#define LXNM_WIRELESS_CONNECT 7
17
18GIOChannel *lxnm_socket(void);
19void lxnm_close(GIOChannel *gio);
20void lxnm_send_command(GIOChannel *gio, int command, const char* cmdargs);
21char *lxnm_wireless_command_make(const char *ifname, const char *essid,
22 const char *apaddr, const char *key,
23 int protocol, int key_mgmt,
24 int group, int pairwise);
25
26#endif