hu_RngEndFunc

Prototype of user-provided callback function that cleans up a user-defined RNG context.

Synopsis:

#include "hurandom.h"
 
typedef int SB_CALLBACK_CALLCONV hu_RngEndFunc(void **rngctx, void *sbCtx);

Library:

libhuapi (For the qcc command, use the -l huapi option to link against this library)

Description:

This function is called by hu_CustomRngDestroy(). It will be passed the rngctx object that was created by the hu_RngInitFunc() callback. You should perform any cleanup and deallocation of the object.

This callback should be registered during custom RNG context creation.