Commit 631bdce5 631bdce56a4f2d1f64d814eef4019b7cf58f0ab6 by Sergey Poznyakoff

(struct _amd_data. qfetch): New member.

1 parent 40f73369
...@@ -55,7 +55,7 @@ struct _amd_message ...@@ -55,7 +55,7 @@ struct _amd_message
55 size_t header_lines; /* Number of lines in the header part */ 55 size_t header_lines; /* Number of lines in the header part */
56 size_t body_lines; /* Number of lines in the body */ 56 size_t body_lines; /* Number of lines in the body */
57 57
58 mu_message_t message; /* Corresponding mu_message_t */ 58 mu_message_t message; /* Corresponding mu_message_t */
59 struct _amd_data *amd; /* Back pointer. */ 59 struct _amd_data *amd; /* Back pointer. */
60 }; 60 };
61 61
...@@ -68,6 +68,7 @@ struct _amd_data ...@@ -68,6 +68,7 @@ struct _amd_data
68 char *(*msg_file_name) (struct _amd_message *, int deleted); 68 char *(*msg_file_name) (struct _amd_message *, int deleted);
69 int (*scan0) (mu_mailbox_t mailbox, size_t msgno, size_t *pcount, 69 int (*scan0) (mu_mailbox_t mailbox, size_t msgno, size_t *pcount,
70 int do_notify); 70 int do_notify);
71 int (*qfetch) (struct _amd_data *, mu_message_qid_t qid);
71 int (*msg_cmp) (struct _amd_message *, struct _amd_message *); 72 int (*msg_cmp) (struct _amd_message *, struct _amd_message *);
72 int (*message_uid) (mu_message_t msg, size_t *puid); 73 int (*message_uid) (mu_message_t msg, size_t *puid);
73 size_t (*next_uid) (struct _amd_data *mhd); 74 size_t (*next_uid) (struct _amd_data *mhd);
......