libspopc.h | libspopc.h | |||
---|---|---|---|---|
skipping to change at line 196 | skipping to change at line 196 | |||
/* prepares, connect and get lists of messages stored on pop server */ | /* prepares, connect and get lists of messages stored on pop server */ | |||
/* you must give a valid servername, user and pass */ | /* you must give a valid servername, user and pass */ | |||
/* returns an error message if a problem occurs, else NULL */ | /* returns an error message if a problem occurs, else NULL */ | |||
char* popgethead(popsession* session, int id); | char* popgethead(popsession* session, int id); | |||
/* returns the header of a message (id from 1 to popnum()) or NULL if bad i d */ | /* returns the header of a message (id from 1 to popnum()) or NULL if bad i d */ | |||
char* popgetmsg(popsession* session, int id); | char* popgetmsg(popsession* session, int id); | |||
/* returns a message (id from 1 to popnum()) or NULL if bad id */ | /* returns a message (id from 1 to popnum()) or NULL if bad id */ | |||
int popdelmsg(popsession* session, int id); | ||||
/* deletes message 'id' on pop server */ | ||||
/* returns -1 if server error, 0 else */ | ||||
int popcancel(popsession* session); | ||||
/* cancels all previous deletion pn pop server */ | ||||
/* returns -1 if server error, 0 else */ | ||||
void popend(popsession* session); | void popend(popsession* session); | |||
/* quit and destroys pop session */ | /* quit and destroys pop session */ | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added | |||