1 /*
2  * Copyright (C) 2015-2018 Alibaba Group Holding Limited
3  */
4 
5 #ifndef __AWSS_NOTIFY_H__
6 #define __AWSS_NOTIFY_H__
7 
8 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */
9 extern "C" {
10 #endif
11 
12 enum {
13     AWSS_NOTIFY_DEV_INFO = 0,
14     AWSS_NOTIFY_DEV_BIND_TOKEN,
15     AWSS_NOTIFY_DEV_RAND_SIGN,
16     AWSS_NOTIFY_SUCCESS,
17     AWSS_NOTIFY_TYPE_MAX,
18 };
19 
20 #ifdef WIFI_PROVISION_ENABLED
21 int awss_suc_notify();
22 int awss_devinfo_notify();
23 int awss_suc_notify_stop();
24 int awss_devinfo_notify_stop();
25 #endif
26 #ifndef DEV_BIND_DISABLE_NOTIFY
27 int awss_dev_bind_notify();
28 int awss_dev_bind_notify_stop();
29 #endif
30 
31 int awss_notify_dev_info(int type, int count);
32 int online_mcast_get_device_info(void *ctx, void *resource, void *remote,
33                                  void *request);
34 int online_ucast_get_device_info(void *ctx, void *resource, void *remote,
35                                  void *request);
36 
37 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */
38 }
39 #endif
40 
41 #endif
42