DA: Skip initializing failed_bssids list when eapol failure case
[platform/upstream/connman.git] / include / provision.h
1 /*
2  *
3  *  Connection Manager
4  *
5  *  Copyright (C) 2012-2013  Intel Corporation. All rights reserved.
6  *
7  *  This program is free software; you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License version 2 as
9  *  published by the Free Software Foundation.
10  *
11  *  This program is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with this program; if not, write to the Free Software
18  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19  *
20  */
21
22 #ifndef __CONNMAN_PROVISION_H
23 #define __CONNMAN_PROVISION_H
24
25 #include <stdbool.h>
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 /**
32  * SECTION:provision
33  * @title: Provisioned configuration premitives
34  * @short_description: Functions for provision configuration handling
35  */
36
37 struct connman_config_entry {
38         char *ident;
39         char *name;
40         void *ssid;
41         unsigned int ssid_len;
42         bool hidden;
43 };
44
45 int connman_config_provision_mutable_service(GKeyFile *keyfile);
46 struct connman_config_entry **connman_config_get_entries(const char *type);
47 void connman_config_free_entries(struct connman_config_entry **entries);
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53 #endif /* __CONNMAN_PROVISION_H */