summaryrefslogtreecommitdiffstats
path: root/.hgtags
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@gmail.com>2016-05-12 12:41:25 -0700
committerDamien Riegel <damien.riegel@gmail.com>2016-05-12 12:41:25 -0700
commitd22efaae6e4ec48aad0da1324278a567b5b3326a (patch)
tree0713fd46bb54780c753d34e228e0523cd10036c2 /.hgtags
parent740c8600dbb82a03f99370dd293a026ec5d56492 (diff)
Start decoupling mailbox operations.
Introduce a dedicated structure for mailbox operations: struct mx_ops. Move the open and close operations into that structure. Assign this structure to the context in mx_open_mailbox. This is currently based on the "magic" for the mailbox type, but may be refactored in the future. Add a stub mbox_close_mailbox function. This function does nothing, the main purpose is to introduce a mx_ops structure for mbox, so its usage is similar to mh/imap/pop. We reuse the name that was made available by the previous commmit. Note that the actual closing of the descriptor is done in mx.c. To be more consistent with other mailboxes, introduce functions mh_open_mailbox and maildir_open_mailbox, and create a dedicated structure for mmdf.
Diffstat (limited to '.hgtags')
0 files changed, 0 insertions, 0 deletions