diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-23 04:26:37 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-23 04:38:20 +0200 |
| commit | b108afb6e7a50b80a5661fede1219163c037ef9b (patch) | |
| tree | 149e7ec136edc86c5be98685d62e65933697c193 /src/net/inc | |
| parent | 26692e8cb9b93fb3fe61512f1d2b2f5e6a2bcb94 (diff) | |
| download | rts-b108afb6e7a50b80a5661fede1219163c037ef9b.tar.gz | |
net: Implement net_serial_devices
This function provides a platform-specific list of serial devices that
can be accessed.
Diffstat (limited to 'src/net/inc')
| -rw-r--r-- | src/net/inc/net/serial.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/net/inc/net/serial.h b/src/net/inc/net/serial.h new file mode 100644 index 0000000..ee81e9f --- /dev/null +++ b/src/net/inc/net/serial.h @@ -0,0 +1,17 @@ +#ifndef NET_SERIAL_H +#define NET_SERIAL_H + +#include <stddef.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +const char *const *net_serial_devices(size_t *n); + +#ifdef __cplusplus +} +#endif + +#endif /* NET_SERIAL_H */ |
