Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/wip/mboxfs/mbox.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.



/* Mailbox interface */
int mbox_open(Mailbox *b);
int mbox_fetch(Mailbox *b);
int mbox_delete(Message *m);
void initbox(Mailbox *b);

/* Message interface  */
vlong mbox_bcc(Message* m,char **buff);
vlong mbox_cc(Message* m,char **buff);
vlong mbox_date(Message *m,char **buff);
vlong mbox_digest(Message *m,char **buff);
vlong mbox_from(Message *m,char **buff);
vlong mbox_inreplyto(Message *m,char **buff);
vlong mbox_replyto(Message *m,char **buff);
vlong mbox_sender(Message *m,char **buff);
vlong mbox_subject(Message *m,char **buff);
vlong mbox_to(Message *m,char **buff);
vlong mbox_header(Message *m ,char **buff);
vlong mbox_lines(Message *m,char **buff);
vlong mbox_messageid(Message *m,char **buff);
vlong mbox_disposition(Message *,char **buff);
vlong mbox_filename(Message*,char **buff);
vlong mbox_info(Message*,char **buff);
vlong mbox_mimeheader(Message*,char **buff);
vlong mbox_type(Message *m,char **buff);
vlong mbox_unixdate(Message *m,char **buff);
vlong mbox_unixheader(Message *m,char **buff);
vlong mbox_raw(Message *m,char **buff, vlong offset, vlong len);
vlong mbox_rawbody(Message *m,char **buff, vlong offset, vlong len);
vlong mbox_body(Message *m,char **buff, vlong offset, vlong len);
vlong mbox_rawheader(Message *m,char **buff, vlong offset, vlong len);
vlong mbox_rawunix(Message *m,char **buff, vlong offset, vlong len);


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].