zephyr/include/net
Peter Bigot 6554a5e5b6 include: rearrange for standard use of extern "C" in various headers
Consistently place C++ use of extern "C" after all include directives,
within the negative branch of _ASMLANGUAGE if used.

The inclusion of the generated syscall files is placed outside the
extern "C" block as the generated file has its own extern "C" block.

Background from issue #17997:

Declarations that use C linkage should be placed within extern "C"
so the language linkage is correct when the header is included by
a C++ compiler.

Similarly #include directives should be outside the extern "C" to
ensure the language-specific default linkage is applied to any
declarations provided by the included header.

See: https://en.cppreference.com/w/cpp/language/language_linkage
Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-08-13 18:00:31 +02:00
..
bt.h
buf.h
can.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
coap_link_format.h
coap.h
dhcpv4.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
dns_resolve.h
dummy.h
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
gptp.h
hostname.h
http_parser_state.h
http_parser_url.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
http_parser.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
ieee802154_mgmt.h
ieee802154_radio.h
ieee802154.h
ipv4_autoconf.h
lldp.h
lwm2m.h
mii.h
mqtt.h net: mqtt: Modify SOCKS5 based connections 2019-08-05 13:26:11 +03:00
net_config.h
net_conn_mgr.h
net_context.h net: context: Clarify net_context_send() API documentation 2019-08-06 10:14:57 +03:00
net_core.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
net_event.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
net_if.h
net_ip.h net: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
net_l2.h net: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
net_linkaddr.h net: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
net_mgmt.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
net_offload.h
net_pkt.h net: ip: net_pkt: Implement net_pkt_shallow_clone 2019-08-08 13:25:01 +03:00
net_stats.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
net_timeout.h
openthread.h
ppp.h
promiscuous.h
ptp_time.h
sntp.h
socket_can.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_net_mgmt.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_offload_ops.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_offload.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_select.h
socket.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
socketutils.h
socks.h net: socks: Make SOCKS5 implementation transparent 2019-08-05 13:26:11 +03:00
tls_credentials.h
trickle.h
udp.h
wifi_mgmt.h
wifi.h