libspopc.h   libspopc.h 
/* this is libspopc.h file. /* this is libspopc.h file.
* this is part of the libspopc library sources * this is part of the libspopc library sources
* copyright * copyright
* released under the terms of GNU LGPL * released under the terms of GNU LGPL
* (GNU Lesser General Public Licence). * (GNU Lesser General Public Licence).
* libspopc offers simple API for a pop3 client (MTA). * libspopc offers simple API for a pop3 client (MDA).
* See RFC 1725 for pop3 specifications. * See RFC 1725 for pop3 specifications.
* more information on http://brouits.free.fr/libspopc/ * more information on http://brouits.free.fr/libspopc/
*/ */
#ifndef _LIBSPOPC_H #ifndef _LIBSPOPC_H
#define _LIBSPOPC_H #define _LIBSPOPC_H
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/types.h> #include <sys/types.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <netdb.h> #include <netdb.h>
skipping to change at line 143 skipping to change at line 143
char** uidl2array(char* resp); char** uidl2array(char* resp);
/* returns an array of unique strings for each message id */ /* returns an array of unique strings for each message id */
/* array[0] gives array's last id */ /* array[0] gives array's last id */
/* should only be called just after a pop3_uidl() request */ /* should only be called just after a pop3_uidl() request */
char* uidli2sig(char* resp); char* uidli2sig(char* resp);
/* greps signature from server resp */ /* greps signature from server resp */
/* should only be called after a pop3_uidl(sock,ID) */ /* should only be called after a pop3_uidl(sock,ID) */
/*************************************************** /***************************************************
* high-level objects and methods for a SIMPLE MTA * * high-level objects and methods for a SIMPLE MDA *
***************************************************/ ***************************************************/
typedef enum{AUTHORIZATION,TRANSACTION,UPDATE}popstate; typedef enum{AUTHORIZATION,TRANSACTION,UPDATE}popstate;
/* pop server states definition from RFC 1725*/ /* pop server states definition from RFC 1725*/
typedef struct{ typedef struct{
int sock;/* socket descriptor */ int sock;/* socket descriptor */
struct sockaddr_in* connection; struct sockaddr_in* connection;
struct hostent* server; struct hostent* server;
popstate state;/* pop server state */ popstate state;/* pop server state */
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/