maildircreate.h
上传用户:s81996212
上传日期:2007-01-04
资源大小:722k
文件大小:1k
- #ifndef maildircreate_h
- #define maildircreate_h
- /*
- ** Copyright 1998 - 1999 Double Precision, Inc.
- ** See COPYING for distribution information.
- */
- #if HAVE_CONFIG_H
- #include "config.h"
- #endif
- #ifdef __cplusplus
- extern "C" {
- #endif
- static const char maildircreate_h_rcsid[]="$Id: maildircreate.h,v 1.4 1999/12/06 13:21:05 mrsam Exp $";
- int maildir_try_create(const char *, /* Maildir */
- const char *, /* Unique when creating multiple msgs by one pid */
- unsigned long, /* If >0, we know the size of the message */
- char **, /* On exit, filename in tmp */
- char **); /* On exit, filename in new */
- /* On exit, if the tmp file can be created, return 0, else
- ** return -1. If we return -1 try again.
- */
- int maildir_try_create_hostname(const char *, /* Maildir */
- const char *, /* Unique when creating multiple msgs by one pid */
- unsigned long, /* If >0, we know the size of the message */
- const char *, /* Hostname */
- char **, /* On exit, filename in tmp */
- char **); /* On exit, filename in new */
- #ifdef __cplusplus
- }
- #endif
- #endif