version 1.38, 2005/01/14 20:54:48 |
version 1.39, 2005/01/14 20:58:43 |
|
|
#include <libgen.h> |
#include <libgen.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <unistd.h> |
#include <unistd.h> |
#include <signal.h> |
|
#include <string.h> |
#include <string.h> |
#include <sysexits.h> |
#include <sysexits.h> |
#ifdef CVS_ZLIB |
|
#include <zlib.h> |
|
#endif |
|
|
|
#include "buf.h" |
#include "buf.h" |
#include "cvs.h" |
#include "cvs.h" |
|
|
#define CVS_REQF_RESP 0x01 |
#define CVS_REQF_RESP 0x01 |
|
|
|
|
extern int verbosity; |
|
extern int cvs_compress; |
|
extern char *cvs_rsh; |
|
extern int cvs_trace; |
|
extern int cvs_nolog; |
|
extern int cvs_readonly; |
|
extern int cvs_cmdop; |
|
|
|
static int cvs_initlog (void); |
static int cvs_initlog (void); |
|
|
struct cvs_req cvs_requests[] = { |
struct cvs_req cvs_requests[] = { |
|
|
* Build a space-separated list of all the responses that this protocol |
* Build a space-separated list of all the responses that this protocol |
* implementation supports. |
* implementation supports. |
*/ |
*/ |
|
|
char* |
char* |
cvs_resp_getvalid(void) |
cvs_resp_getvalid(void) |
{ |
{ |
|
|
(void)close(fd); |
(void)close(fd); |
return (-1); |
return (-1); |
} |
} |
|
|
} |
} |
|
|
(void)close(fd); |
(void)close(fd); |
|
|
return (0); |
return (0); |
} |
} |
|
|