|
clibdocker
0.1.0-alpha.0
A Docker API for C
|
#include <docker_result.h>
Data Fields | |
| d_err_t | error_code |
| time_t | start_time |
| time_t | end_time |
| char * | url |
| URL for the docker API call. | |
| char * | method |
| char * | request_json_str |
| Request JSON data. | |
| char * | response_json_str |
| Response JSON data (might be NULL) | |
| long | http_error_code |
| Response HTTP error code. | |
| char * | message |
Internal struct docker_result_t typedef to docker_result
| time_t docker_result_t::end_time |
End time of the operation this is useful for rough calculation of time taken
Referenced by docker_result_get_end_time().
| d_err_t docker_result_t::error_code |
Error code of the operation, see enum d_err_t for values
Referenced by docker_result_get_error_code(), docker_simple_error_handler_log(), docker_simple_error_handler_print(), and is_ok().
| char* docker_result_t::message |
Message from docker API call (might be NULL)
Referenced by docker_result_get_message(), docker_simple_error_handler_log(), docker_simple_error_handler_print(), and free_docker_result().
| char* docker_result_t::method |
HTTP method for the docker API call.
Referenced by docker_result_get_method().
| time_t docker_result_t::start_time |
Start time of the operation this is useful for rough calculation of time taken
Referenced by docker_result_get_start_time().