00001 #ifndef __PRJ_RPTS_HTML_H 00002 #define __PRJ_RPTS_HTML_H 00003 /*------------------------------------------------------------------------- 00004 * Copyright (c) 2000 Kenneth W. Sodemann (stufflehead@bigfoot.com) 00005 *------------------------------------------------------------------------- 00006 * prj_rpts_html 00007 * 00008 * Synopsis: 00009 * Routines used to create HTML based project reports. 00010 * 00011 * $Id: prj_rpts_html.h,v 1.2 2001/01/01 03:59:19 stuffle Exp $ 00012 * 00013 * This program is free software; you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation; either version 2 of the License, or 00016 * (at your option) any later version. 00017 * 00018 * This program is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program; if not, write to 00025 * Free Software Foundation, Inc. 00026 * 59 Temple Place, Suite 330 00027 * Boston, MA 02111-1307 USA 00028 * 00029 *------------------------------------------------------------------------- 00030 */ 00064 #include <glib.h> 00065 00066 /* 00067 * __BEGIN_DECLS should be used at the beginning of your declarations, 00068 * so that C++ compilers don't mangle their names. Use __END_DECLS at 00069 * the end of C declarations. 00070 */ 00071 #undef __BEGIN_DECLS 00072 #undef __END_DECLS 00073 #ifdef __cplusplus 00074 # define __BEGIN_DECLS extern "C" { 00075 # define __END_DECLS } 00076 #else 00077 # define __BEGIN_DECLS /* empty */ 00078 # define __END_DECLS /* empty */ 00079 #endif 00080 00081 /* 00082 * __P is a macro used to wrap function prototypes, so that compilers 00083 * that don't understand ANSI C prototypes still work, and ANSI C 00084 * compilers can issue warnings about type mismatches. 00085 */ 00086 #undef __P 00087 #if defined (__STDC__) || defined (_AIX) \ 00088 || (defined (__mips) && defined (_SYSTYPE_SVR4)) \ 00089 || defined(WIN32) || defined(__cplusplus) 00090 # define __P(protos) protos 00091 #else 00092 # define __P(protos) () 00093 #endif 00094 00095 __BEGIN_DECLS 00124 gint create_project_status_report __P((PGconn *conn, 00125 gchar *path, 00126 GList *prj_pk_list, 00127 gboolean active_only)); 00128 00129 00158 gint create_project_version_report __P((PGconn *conn, 00159 gchar *path, 00160 GList *prj_pk_list, 00161 gboolean active_prjs_only, 00162 gboolean active_vers_only)); 00163 __END_DECLS 00164 #endif