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 | __BEGIN_DECLS |
#define | __END_DECLS |
#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) |
| Create a project related report where the PRs are grouped by project version. More...
|
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:
-
Kenneth W. Sodemann (stufflehead@bigfoot.com)
-
Revision:
-
1.3
-
Date:
-
2002/01/16 02:44:25
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. |
|
gint create_project_version_report |
( |
PGconn * |
conn, |
|
|
gchar * |
path, |
|
|
GList * |
prj_pk_list, |
|
|
gboolean |
active_prjs_only, |
|
|
gboolean |
active_vers_only |
|
) |
|
|
|
Create a project related report where the PRs are grouped by project version.
-
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_prjs_only |
If TRUE, only use active projects. If FALSE, include inactive projects. |
active_vers_only |
If TRUE, only use active project versions. If FALSE, include inactive project versions. |
-
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 on Tue Jan 15 20:48:43 2002 for libPRepS by
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001