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.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(im_type), | intent(out) | :: | im |
IM context type. |
||
integer, | intent(in), | optional | :: | log_level |
Log level of libstrophe ( |