Prosody ADSI library: API: adsi_init

Prototype Definition

int adsi_init(ADSI_MODULE mp, tSMModuleId module)

Parameters

mp
A pointer to an opaque structure used by the library.
module
The Prosody module to prepare.

Description

Prepares a Prosody module for use with ADSI.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody ADSI library API.