You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
668 B

#ifndef POP_H
#define POP_H
#include <e.h>
#include "e_mod_main.h"
typedef struct _PopClient PopClient;
typedef enum
{
POP_STATE_DISCONNECTED,
POP_STATE_CONNECTED,
POP_STATE_SERVER_READY,
POP_STATE_USER_OK,
POP_STATE_PASS_OK,
POP_STATE_STATUS_OK
} PopState;
struct _PopClient
{
void *data;
PopState state;
Config_Box *config;
Ecore_Con_Server *server;
Ecore_Event_Handler *add_handler;
Ecore_Event_Handler *del_handler;
Ecore_Event_Handler *data_handler;
};
void _mail_pop_check_mail(void *data);
void _mail_pop_add_mailbox(void *data);
void _mail_pop_del_mailbox(void *data);
void _mail_pop_shutdown();
#endif