pop3: simplify pop3_line() and exit if server hangs up prematurely
[pop3.git] / uidl.h
blob0ec1f7ed431b6483bdbb3c723054db0621855364
1 struct uidl {
2 char *txt;
3 int fd;
4 };
6 struct uidl *uidl_read(char *filename);
7 int uidl_find(struct uidl *uidl, char *id);
8 void uidl_add(struct uidl *uidl, char *id);
9 void uidl_save(struct uidl *uidl);