Prosody generic: API: sm_get_modules

This function is only in Prosody before the V6 API.

Prototype Definition

int sm_get_modules(void)

Description

Returns number of Prosody modules present in system and known to driver.

Returns

Count of modules (greater than or equal to zero) if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody generic API.