SRV_EXTENDED_ENCRYPT

A new Open Server library bit mask SRV_EXTENDED_ENCRYPT is provided, allowing server applications to obtain negotiated properties of server threads used with the extended password encryption feature. srv_thread_props(CS_GET, SRV_T_NEGLOGIN) is used to obtain negotiation properties of server threads.

Syntax

CS_RETCODE srv_thread_props(SRV_PROC *spp, CS_INT cmd,
                      CS_INT property, CS_VOID *bufp,
                      CS_INT buflen, CS_INT *outlenp)

Parameters

spp

Pointer to internal thread control structure.

action

Symbolic value for CS_GET.

property

Symbolic name for SRV_T_NEGLOGIN.

buffer

Pointer to CS_INT variable. This CS_INT is the bit mask “or” value of all negotiation types. All possible values for SRV_T_NEGLOGIN are:

buflen

Size of CS_INT.

outlen

Unused parameter that should be passed as NULL.