00001 #ifndef __SENDMSG_H
00002 #define __SENDMSG_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00048 #include <postgres.h>
00049
00050
00051
00052
00053
00054
00055 #undef __BEGIN_DECLS
00056 #undef __END_DECLS
00057 #ifdef __cplusplus
00058 # define __BEGIN_DECLS extern "C" {
00059 # define __END_DECLS }
00060 #else
00061 # define __BEGIN_DECLS
00062 # define __END_DECLS
00063 #endif
00064
00065
00066
00067
00068
00069
00070 #undef __P
00071 #if defined (__STDC__) || defined (_AIX) \
00072 || (defined (__mips) && defined (_SYSTYPE_SVR4)) \
00073 || defined(WIN32) || defined(__cplusplus)
00074 # define __P(protos) protos
00075 #else
00076 # define __P(protos) ()
00077 #endif
00078
00079 __BEGIN_DECLS
00111 int4 send_new_pr_msg __P((const text *email_list,
00112 const text *project,
00113 const text *pr_title,
00114 const text *descr,
00115 const text *severity,
00116 const text *problem_type,
00117 const text *submitter));
00118
00153 int4 send_assign_msg __P((const text *email_list,
00154 const text *pr_title,
00155 const text *descr,
00156 const text *fix_descr,
00157 const text *status,
00158 const text *severity,
00159 const text *responsible,
00160 const text *submitter));
00161
00196 int4 send_update_msg __P((const text *email_list,
00197 const text *pr_title,
00198 const text *descr,
00199 const text *fix_descr,
00200 const text *status,
00201 const text *severity,
00202 const text *responsible,
00203 const text *submitter));
00204 __END_DECLS
00205
00206 #endif