version 1.3, 2004/07/14 05:16:04 |
version 1.4, 2004/07/25 18:50:30 |
|
|
|
|
static int cvs_resp_validreq (int, char *); |
static int cvs_resp_validreq (int, char *); |
static int cvs_resp_cksum (int, char *); |
static int cvs_resp_cksum (int, char *); |
|
static int cvs_resp_modtime (int, char *); |
static int cvs_resp_m (int, char *); |
static int cvs_resp_m (int, char *); |
static int cvs_resp_ok (int, char *); |
static int cvs_resp_ok (int, char *); |
static int cvs_resp_error (int, char *); |
static int cvs_resp_error (int, char *); |
|
|
{ CVS_RESP_NEWENTRY, "New-entry", cvs_resp_newentry }, |
{ CVS_RESP_NEWENTRY, "New-entry", cvs_resp_newentry }, |
{ CVS_RESP_CHECKEDIN, "Checked-in", cvs_resp_newentry }, |
{ CVS_RESP_CHECKEDIN, "Checked-in", cvs_resp_newentry }, |
{ CVS_RESP_MODE, "Mode", cvs_resp_mode }, |
{ CVS_RESP_MODE, "Mode", cvs_resp_mode }, |
|
{ CVS_RESP_MODTIME, "Mod-time", cvs_resp_modtime }, |
}; |
}; |
|
|
|
|
|
|
/* |
/* |
* cvs_resp_m() |
* cvs_resp_m() |
* |
* |
* Handler for the `M', `F' and `E' responses. |
* Handler for the `M', 'MT', `F' and `E' responses. |
*/ |
*/ |
|
|
static int |
static int |
|
|
stream = stderr; |
stream = stderr; |
break; |
break; |
case CVS_RESP_MT: |
case CVS_RESP_MT: |
|
break; |
case CVS_RESP_MBINARY: |
case CVS_RESP_MBINARY: |
cvs_log(LP_WARN, "MT and Mbinary not supported in client yet"); |
cvs_log(LP_WARN, "MT and Mbinary not supported in client yet"); |
break; |
break; |
|
|
return (-1); |
return (-1); |
} |
} |
|
|
|
return (0); |
|
} |
|
|
|
|
|
/* |
|
* cvs_resp_modtime() |
|
* |
|
* Handler for the `Mod-time' file update modifying response. The timestamp |
|
* given is used to set the last modification time on the next file that |
|
* will be received. |
|
*/ |
|
|
|
static int |
|
cvs_resp_modtime(int type, char *line) |
|
{ |
return (0); |
return (0); |
} |
} |
|
|