hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2020 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
 
#ifndef __NETSERVER_H__
#define __NETSERVER_H__
 
#ifdef __cplusplus
extern "C" {
#endif
 
#define NETSERVER_BUS_NAME "rockchip.netserver"
#define NETSERVER_PATH "/"
#define NETSERVER_INTERFACE NETSERVER_BUS_NAME ".server"
 
#define NS_SIGNAL_POWERCHANGED    "PowerChanged"
 
void netserver_scan_wifi(void);
char *netserver_get_service(char *type);
char *netserver_get_config(char *service);
char *netserver_get_networkip(char *interface);
void netserver_get_service_by_ssid(char *ssid, char *service);
 
#ifdef __cplusplus
}
#endif
 
#endif