/*
* Copyright 1995, 1998 Perforce Software.
*
* This file is part of WebKeeper, a perforce client apache module.
*
* License is hereby granted to use this software and distribute it
* freely, as long as this copyright notice is retained and modifications
* are clearly marked.
*
* ALL WARRANTIES ARE HEREBY DISCLAIMED.
*
* $Id: //guest/matt_attaway/webkeeper/mod_webkeep.h#4 $
*/
/*
* webkeep.h - glue mod_webkeep.c to the Perforce api via webkeep.cc
*
* This header file is for inclusion by mod_webkeep.c when building
* webkeeper into an Apache web server.
*/
typedef struct _WebKeepPrinter WebKeepPrinter;
typedef struct _WebKeepConnect WebKeepConnect;
/*
* WebKeepConnect - pointers to configuration data stored by Apache
*/
struct _WebKeepConnect {
char *port; /* WebKeepPort - default $P4PORT, perforce:1666 */
char *user; /* WebKeepUser - default $P4USER, $USERNAME */
char *pass; /* WebKeepPasswd - no default */
char *client; /* WebKeepClient - default $P4CLIENT, hostname */
int sync; /* WebKeepSync - Should client be sync'ed */
} ;
/*
* WebKeepPrinter - callbacks to Apache code
*/
struct _WebKeepPrinter {
int status;
void *closure;
void (*data)(WebKeepPrinter *,int isBinary);
void (*text)(WebKeepPrinter *,const char *,int);
void (*error)(WebKeepPrinter *,const char *);
} ;
# ifdef CPLUSPLUS
extern "C" {
# endif
void webKeepPrint( WebKeepConnect *p4, char *path, WebKeepPrinter *printer );
void webKeepSync( WebKeepConnect *p4, char *path, WebKeepPrinter *printer );
int webKeepFileExists( WebKeepConnect *p4, char *path );
int webKeepDirExists( WebKeepConnect *p4, char *path );
# ifdef CPLUSPLUS
}
# endif
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #4 | 6346 | Matt Attaway | Rollback accidental submit | ||
| #3 | 6345 | Matt Attaway | Add example client generation trigger | ||
| #2 | 5910 | Matt Attaway |
Another step towards conversion. Everything compiles on Windows now. Incremental checkin. |
||
| #1 | 5894 | Matt Attaway | Branch Webkeeper code for Apache 2.x compatability project | ||
| //guest/perforce_software/webkeeper/mod_webkeep.h | |||||
| #2 | 805 | Stephen Vance |
Integrated changes from guest depot. Includes APACI build, static and DSO build, Apache 1.3 API, WebKeepSync, WebKeepDirectoryIndex. Also updated index page to reflect new functionality. |
||
| #1 | 46 | Perforce maintenance | Add WebKeeper source. | ||