comparison src/osdep/unix/unix.c @ 3:2366b362676d draft

imap-2007f
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 30 Oct 2014 00:00:57 +0900
parents 28a55bc1110c
children d741b3ecc917
comparison
equal deleted inserted replaced
2:fc6002700ecd 3:2366b362676d
200 /* prototype stream */ 200 /* prototype stream */
201 MAILSTREAM unixproto = {&unixdriver}; 201 MAILSTREAM unixproto = {&unixdriver};
202 202
203 /* driver parameters */ 203 /* driver parameters */
204 static long unix_fromwidget = T; 204 static long unix_fromwidget = T;
205 char *myMailSuffix =NIL; /* home directory name */
206 205
207 /* UNIX mail validate mailbox 206 /* UNIX mail validate mailbox
208 * Accepts: mailbox name 207 * Accepts: mailbox name
209 * Returns: our driver if name is valid, NIL otherwise 208 * Returns: our driver if name is valid, NIL otherwise
210 */ 209 */
2400 MM_LOG (tmp,ERROR); 2399 MM_LOG (tmp,ERROR);
2401 MM_DISKERROR (NIL,e,T); /* serious problem, must retry */ 2400 MM_DISKERROR (NIL,e,T); /* serious problem, must retry */
2402 } 2401 }
2403 f->filepos += size; /* update file position */ 2402 f->filepos += size; /* update file position */
2404 } 2403 }
2405
2406 /* Return my mail suffix(of qmail or Postfix)
2407 * Returns: my mail address extensional suffix
2408 */
2409
2410 char *mymailsuffix ()
2411 {
2412 return myMailSuffix ? myMailSuffix : "";
2413 }
2414 2404
2415 /* MBOX mail routines */ 2405 /* MBOX mail routines */
2416 2406
2417 2407
2418 /* Driver dispatch used by MAIL */ 2408 /* Driver dispatch used by MAIL */

yatex.org