native_cli_eui_provider.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Benjamin Valentin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License v2.1. See the file LICENSE in the top level directory for
6  * more details.
7  */
8 
19 #ifndef NATIVE_CLI_EUI_PROVIDER_H
20 #define NATIVE_CLI_EUI_PROVIDER_H
21 
22 #include "net/eui64.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
33 void native_cli_add_eui64(const char *s);
34 
43 int native_cli_get_eui64(uint8_t index, eui64_t *addr);
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* NATIVE_CLI_EUI_PROVIDER_H */
EUI-64 data type definition.
int native_cli_get_eui64(uint8_t index, eui64_t *addr)
Get a command-line provided EUI-64.
void native_cli_add_eui64(const char *s)
parse a string as an EUI-64 and add it to the list of EUI-64s
Data type to represent an EUI-64.
Definition: eui64.h:55