wmshutdown: Destroy dialog window before shutting down. This is especially useful...
[dockapps.git] / wmpop3 / wmpop3 / Pop3Client.h
bloba1894d9ccac77f88c3cab2f96ee9c1bf3983e779
1 /* Author : Scott Holden ( scotth@thezone.net )
3 * Pop3 Email Checker
5 * Last Updated : Mar 20, 1999
7 */
10 #ifndef POP3CLIENT
11 #define POP3CLIENT
13 #include <string.h>
14 #include <sys/types.h>
15 #include <sys/socket.h>
16 #include <netinet/in.h>
17 #include <netdb.h>
18 #include <stdio.h>
19 #include <stdlib.h>
20 #include <unistd.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 );
34 #endif