|
libivon 0.1.0
Voice-over-IP library
|
Result of a connect() call. More...
#include <ivon_client_types.h>
Public Attributes | |
| int | success |
| Non-zero on success. | |
| int | is_connection_error |
| Non-zero if the error is a connection error. | |
| uint8_t | negotiation_code |
| ivon_negotiation_error_code_t value | |
| uint8_t | connection_code |
| const char * | message |
| Human-readable error message (static lifetime, do not free). | |
| char | detail [256] |
| Detailed error information. | |
Result of a connect() call.
If success is non-zero the connection is established. Otherwise inspect is_connection_error, negotiation_code / connection_code and the message/detail fields.
| uint8_t ivon_connect_result::connection_code |
ivon_connection_error_code_t value
| char ivon_connect_result::detail[256] |
Detailed error information.
Copied into a caller-provided buffer via ivon_connect_result_detail(). This field is for internal use; consumers should use the accessor.
| int ivon_connect_result::is_connection_error |
Non-zero if the error is a connection error.
| const char* ivon_connect_result::message |
Human-readable error message (static lifetime, do not free).
| uint8_t ivon_connect_result::negotiation_code |
ivon_negotiation_error_code_t value
| int ivon_connect_result::success |
Non-zero on success.