1 /* -*- C -*- 2 mboxgrep - scan mailbox for messages matching a regular expression 3 Copyright (C) 2000, 2001, 2002, 2003 Daniel Spiljar 4 5 Mboxgrep is free software; you can redistribute it and/or modify it 6 under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 Mboxgrep is distributed in the hope that it will be useful, but 11 WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with mboxgrep; if not, write to the Free Software Foundation, 17 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 19 $Id: misc.h,v 1.5 2003/03/30 23:07:10 dspiljar Exp $ */ 20 21 #ifndef MISC_H 22 #define MISC_H 1 23 24 #include "mboxgrep.h" 25 #include <time.h> 26 27 format_t folder_format (const char *name); 28 lockmethod_t lock_method (const char *name); 29 time_t parse_date(char *datestr); 30 char * parse_return_path(char *rpath); 31 32 #endif /* MISC_H */ 33