initial import
[libicd-wpa] / common.h
1 /**
2   @file common.h
3
4   Copyright (C) 2009 Javier S. Pedro
5
6   @author Javier S. Pedro <javispedro@javispedro.com>
7
8   This file is part of libicd-network-wpa.
9
10   This program is free software; you can redistribute it and/or modify it
11   under the terms of the GNU General Public License as published by the
12   Free Software Foundation; either version 2 of the License, or (at your
13   option) any later version.
14
15   This program is distributed in the hope that it will be useful, but
16   WITHOUT ANY WARRANTY; without even the implied warranty of
17   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18   General Public License for more details.
19
20   You should have received a copy of the GNU General Public License along
21   with this program; if not, write to the Free Software Foundation, Inc.,
22   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23
24 */
25
26 #ifndef _COMMON_H_
27 #define _COMMON_H_
28
29 #define WPA_IFACE "wlan0"
30
31 #define WPA_NETWORK_TYPE "WLAN_WPA"
32
33 #define WPA_GCONF_NETWORK_TYPE "/type"
34 #define WPA_GCONF_NETWORK_TYPE_VALUE WPA_NETWORK_TYPE
35
36 #define WPA_GCONF_SSID "/wpa_ssid"
37
38 #define WPA_GCONF_SETTING_PREFIX "wpa_"
39 #define WPA_GCONF_SETTING_PREFIX_LEN 4
40
41 #define SEARCH_CONTINUE 0
42 #define SEARCH_FINISHED 1
43 #define SEARCH_STOPPED 2
44
45 #endif