Functions
rac_string.c File Reference
#include "stdint.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dn_common.h"
#include "rac_string.h"
Include dependency graph for rac_string.c:

Go to the source code of this file.

Functions

HRESULT ConvertRacStr2Variant (uint16_t vt, const char *chSrc, VARIANT *pvargDest)
 Converts RAC string to VARIANT.
HRESULT ConvertVariant2RacStr (VARIANT varSrc, char **chDest)
 Converts VARIANT to RAC string.
static int SplitRacStr (const char *chSrc, char **chSplit)
 Splits RAC string.

Function Documentation

HRESULT ConvertRacStr2Variant ( uint16_t  vt,
const char *  chSrc,
VARIANT pvargDest 
)

Converts RAC string to VARIANT.

Parameters:
[in]vtThe variant type.
[in]chSrcThe source string.
[out]pvargDestThe destination variant.

Definition at line 96 of file rac_string.c.

HRESULT ConvertVariant2RacStr ( VARIANT  varSrc,
char **  chDest 
)

Converts VARIANT to RAC string.

Parameters:
[in]varSrcThe source variant.
[out]chDestThe destination string.

Definition at line 228 of file rac_string.c.

int SplitRacStr ( const char *  chSrc,
char **  chSplit 
) [static]

Splits RAC string.

Software License Agreement (MIT License)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Parameters:
[in]chSrcThe source string.
[in]chSplitThe splitted string.

Definition at line 44 of file rac_string.c.



bcap_core
Author(s): DENSO WAVE INCORPORATED
autogenerated on Thu Jun 6 2019 21:00:03