00001 /****************************************************************************** 00002 * $Id: popstate.h,v 1.3 2004/01/18 10:35:43 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 /******************************************************************************/ 00014 /******************************************************************************/ 00015 00016 00017 #ifndef POPSTATE_H 00018 #define POPSTATE_H 00019 00021 #define DELETE_FLAG 0x1 00022 00027 struct mail_msg_t 00028 { 00030 char flags; 00032 int size; 00034 char *uidl; 00035 }; 00036 00041 struct popstate_t 00042 { 00044 char *password; 00046 char *username; 00048 int num_msgs; 00050 struct mail_msg_t *msg_list; 00052 void *other; 00054 int login_done; 00056 int stat_done; 00057 }; 00058 00060 struct popstate_t *new_popstate_t(void *newp(void)); 00061 00063 void delete_popstate_t(struct popstate_t *p, void deletep(void *)); 00064 00065 void init_msg(struct mail_msg_t* m); 00066 00067 #endif
1.3.6-20040222