Vtk_CtxtOptionType
Toolkit Reference

prevnext

Vtk_CtxtOptionType

typedef struct Vtk_CtxtOption_st Vtk_CtxtOption;
struct Vtk_CtxtOption_st {
enum Vtk_CtxtOptionType option;
union {
char* aChar;
int anInt;
Vtk_ProxyInfo * aProxyInfo;
Vtk_Callback *aCB;
Vtk_OCSPSignInfo *SignInfo;
} d;
};

Description

A structure that defines the configuration option for a Vtk_Ctxt structure. These options can be configured using the Vtk_CtxtSetOption function and can be retrieved using the Vtk_CtxtGetOption function.

The Vtk_CtxtOption structure is used to pass Vtk_Ctxt option data in these functions. The option can be specified as either an integer, char, Vtk_ProxyInfo structure, Vtk_CallBack structure, or Vtk_OCSPSignInfo structure. The data type for the option is shown in parentheses within the description of each option.

Parameters

option One of the Vtk_CtxtOptionType values.
aChar Character string that applies, for example, when the CO_CrlCacheDir context type option is specified.
anInt Integer type that applies when many of the context type options are specified.
aProxyInfo Proxy structure that applies when the CO_HTTP context option type is specified.
aCB Callback that applies, for example, when the CO_DelegatedIssuerCB is specified.
aSignInfo OCSP Sign Information structure that applies, for example, when the CO_OCSPSignInfo context option is specified.

Notes

When this structure is populated in the Vtk_CtxtGetOption call, the application should release the structure's contents using Vtk_CtxtOptionDeleteContent.


See Also

Vtk_CtxtLogType

Vtk_Callback

Vtk_LogOptions

Vtk_ProxyInfo

Vtk_CtxtGetOption

Vtk_CtxtOptionDeleteContent

Vtk_CtxtSetOption

prevnext


ValiCert, Inc.
http://www.valicert.com
Voice: +1.650.567.5469
Fax: (+1.650.254.2148
support@valicert.com