1 /* Author : Scott Holden ( scotth@thezone.net )
5 * Last Updated : Mar 20, 1999
14 #include <sys/types.h>
15 #include <sys/socket.h>
16 #include <netinet/in.h>
23 typedef struct pop3_struct
*Pop3
;
25 Pop3
pop3Create(void);
26 int pop3MakeConnection( Pop3 pc
, char *serverName
, int port
);
27 int pop3IsConnected(Pop3 pc
);
28 int pop3Login(Pop3 pc
, char *name
, char *pass
);
29 int pop3Quit(Pop3 pc
);
30 int pop3CheckMail(Pop3 pc
);
31 int pop3GetTotalNumberOfMessages( Pop3 pc
);
32 int pop3GetNumberOfUnreadMessages( Pop3 pc
);