mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-03 00:15:49 +03:00
[RIOT] net.h: exclude coap_io_process_with_fds()
RIOT supports fd_set only for BOARD=native. For now, coap_io_process_with_fds() is completely disabled on RIOT as it is not yet implemented in coap_io_riot.c, anyway.
This commit is contained in:
1 parent
aa4d148e25
commit
789202ccb8
1 file changed
+2
@@ -794,6 +794,7 @@ coap_run_once(coap_context_t *ctx, uint32_t timeout_ms)
|
||||
return coap_io_process(ctx, timeout_ms);
|
||||
}
|
||||
|
||||
#ifndef RIOT_VERSION
|
||||
/**
|
||||
* The main message processing loop with additional fds for internal select.
|
||||
*
|
||||
@@ -824,6 +825,7 @@ coap_run_once(coap_context_t *ctx, uint32_t timeout_ms)
|
||||
int coap_io_process_with_fds(coap_context_t *ctx, uint32_t timeout_ms,
|
||||
int nfds, fd_set *readfds, fd_set *writefds,
|
||||
fd_set *exceptfds);
|
||||
#endif /* !RIOT_VERSION */
|
||||
|
||||
/**
|
||||
* Iterates through all the coap_socket_t structures embedded in endpoints or
|
||||
|
||||
Reference in new issue
Block a user