File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,16 @@ fn main() -> Result<()> {
88
88
. allowlist_function ( "sys_.*" )
89
89
. allowlist_function ( "z_log.*" )
90
90
. allowlist_function ( "bt_.*" )
91
+ . allowlist_function ( "zsock_.*" )
91
92
. allowlist_function ( "SEGGER.*" )
93
+ . allowlist_item ( "AF_.*" )
94
+ . allowlist_type ( "net_ip_protocol.*" )
95
+ . allowlist_type ( "net_sock_type" )
96
+ . allowlist_type ( "sockaddr.*" )
97
+ . allowlist_type ( "sa_family_t" )
98
+ . allowlist_type ( "socklen_t" )
99
+ . allowlist_type ( "in_addr" )
100
+ . allowlist_type ( "in6_addr" )
92
101
. allowlist_item ( "E.*" )
93
102
. allowlist_item ( "K_.*" )
94
103
. allowlist_item ( "ZR_.*" )
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ extern int errno;
42
42
#include <zephyr/logging/log.h>
43
43
#include <zephyr/bluetooth/bluetooth.h>
44
44
#include <zephyr/drivers/flash.h>
45
+ #include <zephyr/net/socket.h>
45
46
46
47
/*
47
48
* bindgen will only output #defined constants that resolve to simple numbers. These are some
You can’t perform that action at this time.
0 commit comments