Configuration

Functions

kvmStatus kvmKmfReadConfig (kvmHandle h, void *buf, size_t buflen, size_t *actual_len)
 
kvmStatus kvmKmfWriteConfig (kvmHandle h, void *buf, size_t buflen)
 

Detailed Description

Function Documentation

◆ kvmKmfReadConfig()

kvmStatus kvmKmfReadConfig ( kvmHandle  h,
void *  buf,
size_t  buflen,
size_t *  actual_len 
)
C#
static Kvmlib.STATUS KmfReadConfig(Handle h, out Byte[] buf);

Read binary configuration data (param.lif) from a KMF file.

Parameters
[in]hAn open kvmHandle.
[out]bufA pointer to buffer where the configuration (param.lif) will be written.
[in]buflenThe length of the buffer buf.
[out]actual_lenThe actual length of the configuration written to buf.
Returns
kvmOK (zero) if success
kvmERR_xxx (negative) if failure

◆ kvmKmfWriteConfig()

kvmStatus kvmKmfWriteConfig ( kvmHandle  h,
void *  buf,
size_t  buflen 
)
C#
static Kvmlib.STATUS KmfWriteConfig(Handle h, Byte[] buf);

Write binary configuration data (param.lif) to a KMF file.

Parameters
[in]hAn open kvmHandle.
[in]bufA pointer to buffer containing the configuration (param.lif) to be written.
[in]buflenThe length of the buffer buf.
Returns
kvmOK (zero) if success
kvmERR_xxx (negative) if failure