Adding upstream version 0.3.5.2+svn20080509.
[debian/lxpanel.git] / src / plugins / netstat / lxnm_client.h
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
18 char *asc2hex(char *src);
19 GIOChannel *lxnm_socket(void);
20 void lxnm_close(GIOChannel *gio);
21 void lxnm_send_command(GIOChannel *gio, int command, const char* cmdargs);
22
23 #endif