00001 /****************************************************************************** 00002 * $Id: libero_utils.h,v 1.26 2004/01/18 10:35:45 gareuselesinge Exp $ 00003 * This file is part of liberopops (http://liberopops.sf.net) * 00004 * This file is distributed under the terms of GNU GPL license. * 00005 ******************************************************************************/ 00006 00007 00008 /******************************************************************************/ 00015 /******************************************************************************/ 00016 00017 00018 #ifndef LIBERO_UTILS_H 00019 #define LIBERO_UTILS_H 00020 00021 #include "popstate.h" 00022 #include "popserver.h" 00023 00024 #define LIBERO_OK 0 00025 #define LIBERO_LOGINERROR 1 00026 #define LIBERO_INTERNALERROR 2 00027 #define LIBERO_NETWORKERROR 3 00028 00030 struct libero_domain_t { 00031 char *domainname; 00032 char *website; 00033 char *choice; 00034 }; 00035 00037 struct libero_other_t { 00039 struct libero_domain_t *domain; 00041 char *id; 00043 char *webmailserver; 00045 char *referrer; 00047 struct cookielist_t *cookies; 00049 char last3[4]; 00051 char last4[4]; 00052 }; 00053 00054 extern struct libero_domain_t libero_domain[]; 00055 00057 extern int libero_login(struct popstate_t *state); 00059 extern int libero_list_inbox(struct popstate_t *state); 00061 extern int libero_retr_msg(struct popstate_t *state,int num); 00063 extern int libero_delete(struct popstate_t *state); 00065 extern int libero_retr_msg_thread(struct popstate_t *state, 00066 int num,struct asyncop_t *a); 00067 00068 #endif /* ndef LIBERO_UTILS_H */
1.3.6-20040222