native_cli_eui_provider.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2020 Benjamin Valentin
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
19 #include "net/eui64.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
30 void native_cli_add_eui64(const char *s);
31 
40 int native_cli_get_eui64(uint8_t index, eui64_t *addr);
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
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