233 |
int analyze_response(char *buf); |
int analyze_response(char *buf); |
234 |
|
|
235 |
/* socket.c */ |
/* socket.c */ |
236 |
#ifndef SSL_TLS |
int init_connection(char *serv, unsigned short int port, |
237 |
int init_connection(char *serv, unsigned short int port); |
unsigned int protocol); |
|
#else |
|
|
int init_connection(char *serv, unsigned short int port, unsigned int protocol); |
|
|
#endif |
|
238 |
int ssl_init(unsigned int protocol); |
int ssl_init(unsigned int protocol); |
239 |
int close_connection(void); |
int close_connection(void); |
240 |
int socket_read(char *buf); |
int socket_read(char *buf); |