dockapps/wmpop3/wmpop3/Pop3Client.h
Doug Torrance 6f3fc403dc wmpop3: Add version 0.5.6a to repository.
From
ftp://ftp.utl.pt/linuxberg/files/x11/dock/WMPop3-0.5.6a.tar.gz
2016-12-03 11:00:56 +00:00

35 lines
681 B
C

/* Author : Scott Holden ( scotth@thezone.net )
*
* Pop3 Email Checker
*
* Last Updated : Mar 20, 1999
*
*/
#ifndef POP3CLIENT
#define POP3CLIENT
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
typedef struct pop3_struct *Pop3;
Pop3 pop3Create(void);
int pop3MakeConnection( Pop3 pc, char *serverName, int port);
int pop3IsConnected(Pop3 pc);
int pop3Login(Pop3 pc, char *name, char *pass);
int pop3Quit(Pop3 pc);
int pop3CheckMail(Pop3 pc);
int pop3GetTotalNumberOfMessages( Pop3 pc );
int pop3GetNumberOfUnreadMessages( Pop3 pc );
#endif