Changeset View
Changeset View
Standalone View
Standalone View
lib/libfetch/common.h
| Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | struct fetchconn { | ||||
| char *buf; /* buffer */ | char *buf; /* buffer */ | ||||
| size_t bufsize; /* buffer size */ | size_t bufsize; /* buffer size */ | ||||
| size_t buflen; /* length of buffer contents */ | size_t buflen; /* length of buffer contents */ | ||||
| int err; /* last protocol reply code */ | int err; /* last protocol reply code */ | ||||
| #ifdef WITH_SSL | #ifdef WITH_SSL | ||||
| SSL *ssl; /* SSL handle */ | SSL *ssl; /* SSL handle */ | ||||
| SSL_CTX *ssl_ctx; /* SSL context */ | SSL_CTX *ssl_ctx; /* SSL context */ | ||||
| X509 *ssl_cert; /* server certificate */ | X509 *ssl_cert; /* server certificate */ | ||||
| const SSL_METHOD *ssl_meth; /* SSL method */ | |||||
| #endif | #endif | ||||
| int ref; /* reference count */ | int ref; /* reference count */ | ||||
| }; | }; | ||||
| /* Structure used for error message lists */ | /* Structure used for error message lists */ | ||||
| struct fetcherr { | struct fetcherr { | ||||
| const int num; | const int num; | ||||
| const int cat; | const int cat; | ||||
| ▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines | |||||