dm_im_create Function

public function dm_im_create(im, log_level) result(rc)

Creates IM context. Logging to standard error is disabled by default or if log_level is IM_LL_NONE. Make sure that argument im is not created already.

The function returns the following error codes:

  • E_INVALID if log_level is invalid.
  • E_XMPP if the XMPP context could not be created.

Arguments

Type IntentOptional Attributes Name
type(im_type), intent(out) :: im

IM context type.

integer, intent(in), optional :: log_level

Log level of libstrophe (IM_LL_*).

Return Value integer


Calls

proc~~dm_im_create~~CallsGraph proc~dm_im_create dm_im_create xmpp_ctx_new xmpp_ctx_new proc~dm_im_create->xmpp_ctx_new xmpp_get_default_logger xmpp_get_default_logger proc~dm_im_create->xmpp_get_default_logger