getnsextensionResult Structure Definition

The getnsextensionResult structure defines the return type for getnsextension API.

Syntax



Members

rc

If the method succeeds, rc is 0 else rc > 0. Values above 0x8000 indicate Warnings.

message

If the method succeeds, message is NULL else message contains Error/Warning message.

nsextensionList

List of nsextensions


nsextension Structure Definition

The nsextension structure defines the actual return type values for getnsextension API.

Syntax



Members

name

Name of the extension object.

detail

Show detail for extension function.

src

Local path to and name of, or URL (protocol, host, path, and file name) for, the file in which to store the imported extension. NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access, and the issuer certificate of the HTTPS server is not present in the specific path on NetScaler to authenticate the HTTPS server.

type


extensionfunctionname

Name of extension function given in the extension.

extensionfunctionlinenumber

Line number of the function in file.

extensionfunctionclasstype

Extension function class type.

extensionfunctionclasses

List of classes (including inherited) that the function is present in.

extensionfunctionclassescount

Number of classes the function is present in.

extensionfunctionreturntype

Extension function return type.

activeextensionfunction

Extension function is in use or not.

extensionfunctionargtype

List of extension function's arguments types

extensionfunctionallparams

List of parameters (including promotions) that the function can accept.

extensionfunctionallparamscount

Number of parameters (including promotions) that the function can accept.

extensionfuncdescription

Any description to preserve information about the extension function.

extensionfunctionargcount

Number of parameters in the extension function

comment

Any comments to preserve information about the extension object.

functionhits

Number of time function evaluates successfully.

functionundefhits

Number of times error occured in evaluating extension function.

functionhaltcount

Number of time function evaluation is halted.

trace

Enables tracing to the NS log file of extension execution: off - turns off tracing (equivalent to unset ns extension -trace) calls - traces extension function calls with arguments and function returns with the first return value lines - traces the above plus line numbers for executed extension lines all - traces the above plus local variables changed by executed extension lines Note that the DEBUG log level must be enabled to see extension tracing. This can be done by set audit syslogParams -loglevel ALL or -loglevel DEBUG.

tracefunctions

Comma-separated list of extension functions to trace. By default, all extension functions are traced.

tracevariables

Comma-separated list of variables (in traced extension functions) to trace. By default, all variables are traced.

_nextgenapiresource


See Also