Environments
The K2HASH library uses following environment variables.
- K2HDBGMODE
Specify the level of output message.
The level value is silent, err, wan or info. - K2HDBGFILE
Specify the file path which the output message puts. - K2HATTR_MTIME
Specify ON, the updating timestamp attribute provided by built-in attribute is enabled. - K2HATTR_HISTORY
Specify ON, the versioning(history) attribute provided by built-in attribute is enabled. - K2HATTR_EXPIRE_SEC
Specify seconds, the expire time attribute provided by built-in attribute is enabled. - K2HATTR_DEFENC
Specify ON, the function of encrypting attribute provided by built-in attribute is enabled. - K2HATTR_ENCFILE
Specify the file path for encryption key when the function of encrypting attribute is enabled.
API(C/C++) as same as each environment takes precedence over this one.