File tree Expand file tree Collapse file tree 2 files changed +27
-22
lines changed Expand file tree Collapse file tree 2 files changed +27
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2014-2018 Cesanta Software Limited
3
+ * All rights reserved
4
+ */
5
+
6
+ #ifndef CS_MOS_LIBS_PPPOS_SRC_MGOS_PPPOS_H_
7
+ #define CS_MOS_LIBS_PPPOS_SRC_MGOS_PPPOS_H_
8
+
9
+ #include "mgos_net.h"
10
+
11
+ #ifdef __cplusplus
12
+ extern "C" {
13
+ #endif /* __cplusplus */
14
+
15
+ /*
16
+ * Retrieve IP configuration of the provided instance number (which should be
17
+ * of type `MGOS_NET_IF_TYPE_PPP`), and fill provided `ip_info` with it. Returns
18
+ * `true` in case of success, false otherwise.
19
+ */
20
+ bool mgos_pppos_dev_get_ip_info (int if_instance ,
21
+ struct mgos_net_ip_info * ip_info );
22
+
23
+ #ifdef __cplusplus
24
+ }
25
+ #endif /* __cplusplus */
26
+
27
+ #endif /* CS_MOS_LIBS_PPPOS_SRC_MGOS_PPPOS_H_ */
You can’t perform that action at this time.
0 commit comments