Main Page   File List   File Members  

change_log.h File Reference

Project ChangeLog related routines. More...

Go to the source code of this file.

Defines

#define __BEGIN_DECLS
#define __END_DECLS
#define __P(protos)   protos

Functions

gint create_change_log (PGconn *conn, gchar *file_path, gint prj_num)
 Create the ChangeLog file for a given project. More...


Detailed Description

Project ChangeLog related routines.

These routines are used to generate project ChangeLog files. In actuallity, the files are probably best used as templates for the real ChangeLog file.

Author:
Kenneth W. Sodemann (stuffle@charter.net)
Revision:
1.2
Date:
2002/01/30 00:40:02


Function Documentation

gint create_change_log PGconn *    conn,
gchar *    file_path,
gint    prj_num
 

Create the ChangeLog file for a given project.

Parameters:
conn  Pointer to the database connection.
file_path  The name of the ChangeLog file to create, including full path and file name. The directories in the path to the file must exist. If the file itself exists, it will be overwritten.
prj_num  Primary key of the project to create the ChangeLog for.
Return values:
0  Success
-1  There was an error generating the ChangeLog. Check errno. Check the system log for details on the error.
-2  Some kind of SQL error. Usually this is an internal error that needs to be reported to the library maintainer. However, it could also occur in cases where the database is not available for some reason. Change the system log for details.


Generated on Sun Oct 20 18:15:09 2002 for libPRepS by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002