More documentation and Cisco support.
FossilOrigin-Name: 0a22e4c44b2df5712b2f8edaea0712fcc7fc0ca953e86179c0a653a484197a43
This commit is contained in:
@ -16,6 +16,10 @@
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief bstr_create_from_cfgstr function
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
@ -24,7 +28,17 @@
|
||||
#include "bstr.h"
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Create a bstr_t string from a string read from config file.
|
||||
*
|
||||
* @param s String from config file.
|
||||
* @return The create bstr_t string.
|
||||
*
|
||||
* The string from config file is an ASCII-text which is interpreted
|
||||
* as hexadecimal string if it starts with ".x"
|
||||
*
|
||||
* @see bstr_t
|
||||
*/
|
||||
uint8_t * bstr_create_from_cfgstr(const char * s)
|
||||
{
|
||||
int l = strlen(s);
|
||||
|
Reference in New Issue
Block a user