61 |
|
|
62 |
/* socket.c */ |
/* socket.c */ |
63 |
#ifndef SSL_TLS |
#ifndef SSL_TLS |
64 |
int init_connection(char *serv, unsigned int port); |
int init_connection(char *serv, unsigned short int port); |
65 |
#else |
#else |
66 |
int init_connection(char *serv, unsigned int port, unsigned int protocol); |
int init_connection(char *serv, unsigned short int port, unsigned int protocol); |
67 |
#endif |
#endif |
68 |
int ssl_init(unsigned int protocol); |
int ssl_init(unsigned int protocol); |
69 |
int close_connection(void); |
int close_connection(void); |
121 |
/* misc.c */ |
/* misc.c */ |
122 |
char *strcasestr(const char *haystack, const char *needle); |
char *strcasestr(const char *haystack, const char *needle); |
123 |
char *ultostr(unsigned long int num, int base); |
char *ultostr(unsigned long int num, int base); |
124 |
char *xstrncpy(char *dest, char *src, size_t size); |
char *xstrncpy(char *dest, const char *src, size_t size); |
125 |
|
|
126 |
/* request.c */ |
/* request.c */ |
127 |
int test(void); |
int test(void); |