session.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
Go to the source code of this file.
Defines |
| #define | socklen_t int |
Functions |
| char * | pop3_connect (int sock, struct sockaddr_in *connection) |
| void | pop3_disconnect (int sock) |
| int | pop3_prepare (const char *servername, const int port, struct sockaddr_in *connection, struct hostent *server) |
Define Documentation
Function Documentation
| char* pop3_connect |
( |
int |
sock, |
|
|
struct sockaddr_in * |
connection | |
|
) |
| | |
| void pop3_disconnect |
( |
int |
sock |
) |
|
| int pop3_prepare |
( |
const char * |
servername, |
|
|
const int |
port, |
|
|
struct sockaddr_in * |
connection, |
|
|
struct hostent * |
server | |
|
) |
| | |