libspopc.h | libspopc.h | |||
---|---|---|---|---|
skipping to change at line 120 | skipping to change at line 120 | |||
/* returns a pointer to the next line of given string */ | /* returns a pointer to the next line of given string */ | |||
char* retr2msg(char* data); | char* retr2msg(char* data); | |||
/* returns formatted mail from a pop RETR X query */ | /* returns formatted mail from a pop RETR X query */ | |||
/* must only be called on data returned by pop3_retr() */ | /* must only be called on data returned by pop3_retr() */ | |||
void freemsg(char* msg); | void freemsg(char* msg); | |||
/* free the message received by reetr2msg */ | /* free the message received by reetr2msg */ | |||
int* list2array(char* poplist); | int* list2array(char* poplist); | |||
/* WARNING: must not be called after a mail deletion */ | ||||
/* returns an int array of sizes of messages from a LIST pop query */ | /* returns an int array of sizes of messages from a LIST pop query */ | |||
/* array[0] holds id of the array's last element */ | /* array[0] holds id of the array's last element */ | |||
/* must only be called on data received by a pop3_list(sock,0) request */ | /* must only be called on data received by a pop3_list(sock,0) request */ | |||
void freelistarray(int* array); | void freelistarray(int* array); | |||
/* free the message sizes array created by list2array */ | /* free the message sizes array created by list2array */ | |||
int listi2size(char* resp); | int listi2size(char* resp); | |||
/* grep the given size (in bytes) in resp after a pop3_list(sock,ID) reques t */ | /* grep the given size (in bytes) in resp after a pop3_list(sock,ID) reques t */ | |||
/* do not use after a pop3_list(sock,0) ! */ | /* do not use after a pop3_list(sock,0) ! */ | |||
int stat2last(char* resp); | int stat2last(char* resp); | |||
/* returns the number of stored messages on pop server */ | /* returns the number of stored messages on pop server */ | |||
int stat2bytes(char* resp); | int stat2bytes(char* resp); | |||
/* returns the sumsize in bytes of all stored messages on server */ | /* returns the sumsize in bytes of all stored messages on server */ | |||
/* must only be called just after a pop3_stat() request */ | /* must only be called just after a pop3_stat() request */ | |||
char** uidl2array(char* resp); | char** uidl2array(char* resp); | |||
/* WARNING: mus not be called after a mail deletion */ | ||||
/* returns an array of unique strings for each message id */ | /* returns an array of unique strings for each message id */ | |||
/* array[0] gives array's last id */ | /* array[0] gives array's last id */ | |||
/* must only be called just after a pop3_uidl(sock,0) request */ | /* must only be called just after a pop3_uidl(sock,0) request */ | |||
void freeuidlarray(char** arrray); | void freeuidlarray(char** arrray); | |||
/* free the uidl array created by uidl2array */ | /* free the uidl array created by uidl2array */ | |||
char* uidli2sig(char* resp); | char* uidli2sig(char* resp); | |||
/* grep the pop signature of *one* message signature reply*/ | /* grep the pop signature of *one* message signature reply*/ | |||
/* should only be called on data received by a pop3_uidl(sock,ID) request * / | /* should only be called on data received by a pop3_uidl(sock,ID) request * / | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||