typedef struct _t_HFTServer *HFTServer;
void HFTServerDestroyProc(HFTServer hftServer, void *rock);
hftServer | IN/OUT The HFT server associated with this destroy proc.
|
rock | IN/OUT User-supplied data that was passed in the call to HFTServerNew().
|
void HFTServerDestroy(HFTServer hftServer);
hftServer | IN/OUT The HFT server to destroy.
|
HFTServer HFTServerNew(const char *name, HFTServerProvideHFTProc serverProc, HFTServerDestroyProc destroyProc, void *clientData);
name | The new HFT server's name.
|
serverProc | (Required) A user-supplied callback that provides an HFT when given a version number. This procedure is called by ASExtensionMgrGetHFT() when another plug-in imports the HFT.
|
destroyProc | (Optional) A user-supplied callback that destroys the specified HFT (this generally means deallocating the memory associated with the HFT). This procedure is called by HFTDestroy().
|
clientData | A pointer to user-supplied data to pass to the HFT server.
|