void pop_apop_timestamp (POP_DATA *, char *);
/* pop_lib.c */
-#define pop_query(A,B,C) pop_query_d(A,B,C,NULL)
int pop_parse_path (const char *, ACCOUNT *);
int pop_connect (POP_DATA *);
pop_query_status pop_open_connection (POP_DATA *);
-pop_query_status pop_query_d (POP_DATA *, char *, size_t, const char *);
+pop_query_status pop_query (POP_DATA *, char *, size_t);
pop_query_status pop_fetch_data (POP_DATA *, const char *, progress_t*,
int (*funct) (char *, void *), void *);
pop_query_status pop_reconnect (CONTEXT *);
if (ret == PQ_OK) {
snprintf (buf, sizeof (buf), "PASS %s\r\n", pop_data->conn->account.pass);
- ret = pop_query_d (pop_data, buf, sizeof (buf), NULL);
+ ret = pop_query (pop_data, buf, sizeof (buf));
}
switch (ret) {
* -1 - conection lost,
* -2 - invalid command or execution error.
*/
-pop_query_status pop_query_d (POP_DATA * pop_data, char *buf, size_t buflen, const char *msg)
+pop_query_status pop_query (POP_DATA * pop_data, char *buf, size_t buflen)
{
char *c;