Main Page   File List   File Members  

prj_rpts_html.h File Reference

Project related HTML report generation routines. More...

#include <glib.h>

Go to the source code of this file.

Defines

#define __P(protos)    protos

Functions

gint create_project_status_report (PGconn *conn, gchar *path, GList *prj_pk_list, gboolean active_only)
 Create a project related report where the PRs are grouped by status. More...

gint create_project_version_report (PGconn *conn, gchar *path, GList *prj_pk_list, gboolean active_prjs_only, gboolean active_vers_only)


Detailed Description

Project related HTML report generation routines.

These routines generate project related HTML based reports. Each report is created in the specified path. In general, users should specify a different path for each report.

  All of the reports are of the format:

    index.html-+--->projX.html-+--->prA.html
               |               |
               |               +--->prB.html
               |               ...
               |
               +--->projY.html-+--->prC.html
               ...             |
                               +--->prD.html

  Where A, B, C, and D are problem report numbers, and X and Y are project
  numbers.
  

In general, the index.html file contains a list of the projects covered by the report, the projX.html files contain the project information and a list of the problem reports for that project, sorted by the criteria of the report, and the prX.html files contain the problem report details.

Author(s):
Kenneth W. Sodemann (stufflehead@bigfoot.com)
Revision:
1.2
Date:
2001/01/01 03:59:19


Function Documentation

gint create_project_status_report ( PGconn * conn,
gchar * path,
GList * prj_pk_list,
gboolean active_only )
 

Create a project related report where the PRs are grouped by status.

Parameters:
conn   Pointer to the database connection.
path   The path in which to create the report files. This path MUST exist.
prj_pk_list   A list of primary keys of the projects for which to create the report. If this is NULL, all projects will be used.
active_only   If TRUE, only use active projects. If FALSE, include inactive projects.
Return values:
0   Success
-1   There was an error generating one of the report files. Check errno. Check the system log for details on the error.


Generated at Sun Jan 7 09:55:03 2001 for libPRepS by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000