Back to index

courier  0.68.2
autoresponse.h
Go to the documentation of this file.
00001 #ifndef       maildir_autoresponse_h
00002 #define       maildir_autoresponse_h
00003 
00004 /*
00005 ** Copyright 2001-2003 Double Precision, Inc.
00006 ** See COPYING for distribution information.
00007 */
00008 
00009 
00010 #include      "config.h"
00011 #include      <stdio.h>
00012 
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017        /* Return a list of available autoresponses, NULL if error */
00018 
00019 extern char **maildir_autoresponse_list(const char *);
00020 extern void maildir_autoresponse_list_free(char **);
00021 
00022        /* Validate the autoresponse name */
00023 
00024 extern int maildir_autoresponse_validate(const char *, const char *);
00025 
00026        /* Delete/Create/Open autoresponse text */
00027 
00028 extern void maildir_autoresponse_delete(const char *, const char *);
00029 extern FILE *maildir_autoresponse_create(const char *, const char *);
00030 extern int maildir_autoresponse_create_finish(const char *, const char *, FILE *);
00031 
00032 extern FILE *maildir_autoresponse_open(const char *, const char *);
00033 
00034 #ifdef __cplusplus
00035 }
00036 #endif
00037 
00038 #endif