NAME
SSLgetexnewindex, SSLsetexdata, SSLgetexdata - internal
application specific data functionsSYNOPSIS
#include
int SSLgetexnewindex(long argl, void *argp, CRYPTOEXnew *newfunc, CRYPTOEXdup *dupfunc, CRYPTOEXfree *freefunc); int SSLsetexdata(SSL *ssl, int idx, void *arg); void *SSLgetexdata(const SSL *ssl, int idx); typedef int newfunc(void *parent, void *ptr, CRYPTOEXDATA *ad, int idx, long argl, void *argp); typedef void freefunc(void *parent, void *ptr, CRYPTOEXDATA *ad, int idx, long argl, void *argp); typedef int dupfunc(CRYPTOEXDATA *to, CRYPTOEXDATA *from, void *fromd, int idx, long argl, void *argp);DESCRIPTION
Several OpenSSL structures can have application specific data attached to them. These functions are used internally by OpenSSL to manipulate application specific data attached to a specific structure. SSLgetexnewindex() is used to register a new index for application specific data. SSLsetexdata() is used to store application data at aarrgg for iiddxx into the ssssll object. SSLgetexdata() is used to retrieve the information for iiddxx from ssssll. A detailed description for the **ggeetteexxnneewwiinnddeexx(()) functionality can be found in RSAgetexnewindex(3). The **ggeetteexxddaattaa(()) and **sseetteexxddaattaa(()) functionality is described in CRYPTOsetexdata(3). EEXXAAMMPPLLEESS An example on how to use the functionality is included in the example verifycallback() in SSLCTXsetverify(3).SEE ALSO
ssl(3), RSAgetexnewindex(3), CRYPTOsetexdata(3), SSLCTXsetverify(3)0.9.7l 2005-03-30 SSLgetexnewindex(3)