qcrypto_set_config_path()

Updated: May 06, 2022

Set the library configuration path

Synopsis:

#include <qcrypto/qcrypto.h>
int qcrypto_set_config_path(const char *cpath)

Arguments:

cpath
Configuration filepath.

Library:

libqcrypto

Description:

This function allows the library to load a configuration file from the specified location instead of the default one.

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.