acme Mail: add Search command

Introduces the Search command for mailboxes.
Arguments passed are treated as one space-
separated string, passed on to mailfs' IMAP
search interface.

R=rsc, david.ducolombier
CC=plan9port.codebot
https://codereview.appspot.com/13238044
This commit is contained in:
Akshat Kumar 2013-09-06 16:19:57 -04:00 committed by Russ Cox
parent 951fef52c9
commit 7603066e73
2 changed files with 63 additions and 1 deletions

View file

@ -142,6 +142,7 @@ extern Message* mesglookupfile(Message*, char*, char*);
extern void mesgfreeparts(Message*);
extern int mesgcommand(Message*, char*);
extern char* info(Message*, int, int);
extern char* readfile(char*, char*, int*);
extern char* readbody(char*, char*, int*);
extern void ctlprint(CFid*, char*, ...);