slapi_is_connection_ssl()

slapi_is_connection_ssl() is used by the server to determine whether the connection between it and a client is through a Secure Socket Layer (SSL).

Syntax
#include "slapi-plugin.h"
int slapi_is_connection_ssl( Slapi_PBlock *pPB,
					int *isSSL);
Parameters
pPB
Address of a Parameter Block.
isSSL
Address of the output parameter. If the connection is through SSL 1 is returned, or 0 is returned if it is not through SSL.
Returns
If successful 0 is returned.