of what is happening, as well as which a step out of step_count has been
reached (which might be displayed as a progress bar).
"""
of what is happening, as well as which a step out of step_count has been
reached (which might be displayed as a progress bar).
"""
if connection_cbs.has_key("connect-progress"):
(<object> connection_cbs["connect-progress"])(<char *> text, step, step_count)
if connection_cbs.has_key("connect-progress"):
(<object> connection_cbs["connect-progress"])(<char *> text, step, step_count)
if connection_cbs.has_key("disconnected"):
(<object> connection_cbs["disconnected"])("disconnected: TODO")
if connection_cbs.has_key("disconnected"):
(<object> connection_cbs["disconnected"])("disconnected: TODO")
implements this as a no-op; purple_connection_notice(), which uses this
operation, is not used by any of the protocols shipped with libpurple.)
"""
implements this as a no-op; purple_connection_notice(), which uses this
operation, is not used by any of the protocols shipped with libpurple.)
"""
if connection_cbs.has_key("report-disconnect"):
(<object> connection_cbs["report-disconnect"])(<char *> text)
if connection_cbs.has_key("report-disconnect"):
(<object> connection_cbs["report-disconnect"])(<char *> text)
is active. On Linux, this uses Network Manager if available; on Windows,
it uses Win32's network change notification infrastructure.
"""
is active. On Linux, this uses Network Manager if available; on Windows,
it uses Win32's network change notification infrastructure.
"""
if connection_cbs.has_key("network-disconnected"):
(<object> connection_cbs["network-disconnected"])()
cdef void report_disconnect_reason(connection.PurpleConnection *gc, \
if connection_cbs.has_key("network-disconnected"):
(<object> connection_cbs["network-disconnected"])()
cdef void report_disconnect_reason(connection.PurpleConnection *gc, \
"""
Called when an error causes a connection to be disconnected. Called
before disconnected. This op is intended to replace report_disconnect.
"""
Called when an error causes a connection to be disconnected. Called
before disconnected. This op is intended to replace report_disconnect.
15: 'Certificate error (other)',
16: 'Other error' }[reason]
15: 'Certificate error (other)',
16: 'Other error' }[reason]
if connection_cbs.has_key("report-disconnect-reason"):
(<object> connection_cbs["report-disconnect-reason"])(reason_string, <char *> text)
if connection_cbs.has_key("report-disconnect-reason"):
(<object> connection_cbs["report-disconnect-reason"])(reason_string, <char *> text)