moved all FTPSEC commands from cmd to rcmd to avoid resetting
`restart_point'. see my start complain about this grammar :-) git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5874 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -136,43 +136,6 @@ cmd
|
|||||||
user($3);
|
user($3);
|
||||||
free($3);
|
free($3);
|
||||||
}
|
}
|
||||||
| AUTH SP STRING CRLF
|
|
||||||
{
|
|
||||||
auth($3);
|
|
||||||
free($3);
|
|
||||||
}
|
|
||||||
| ADAT SP STRING CRLF
|
|
||||||
{
|
|
||||||
adat($3);
|
|
||||||
free($3);
|
|
||||||
}
|
|
||||||
| PBSZ SP NUMBER CRLF
|
|
||||||
{
|
|
||||||
pbsz($3);
|
|
||||||
}
|
|
||||||
| PROT SP STRING CRLF
|
|
||||||
{
|
|
||||||
prot($3);
|
|
||||||
}
|
|
||||||
| CCC CRLF
|
|
||||||
{
|
|
||||||
ccc();
|
|
||||||
}
|
|
||||||
| MIC SP STRING CRLF
|
|
||||||
{
|
|
||||||
mec($3, prot_safe);
|
|
||||||
free($3);
|
|
||||||
}
|
|
||||||
| CONF SP STRING CRLF
|
|
||||||
{
|
|
||||||
mec($3, prot_confidential);
|
|
||||||
free($3);
|
|
||||||
}
|
|
||||||
| ENC SP STRING CRLF
|
|
||||||
{
|
|
||||||
mec($3, prot_private);
|
|
||||||
free($3);
|
|
||||||
}
|
|
||||||
| PASS SP password CRLF
|
| PASS SP password CRLF
|
||||||
{
|
{
|
||||||
pass($3);
|
pass($3);
|
||||||
@@ -674,6 +637,43 @@ rcmd
|
|||||||
(long)restart_point,
|
(long)restart_point,
|
||||||
"Send STORE or RETRIEVE to initiate transfer.");
|
"Send STORE or RETRIEVE to initiate transfer.");
|
||||||
}
|
}
|
||||||
|
| AUTH SP STRING CRLF
|
||||||
|
{
|
||||||
|
auth($3);
|
||||||
|
free($3);
|
||||||
|
}
|
||||||
|
| ADAT SP STRING CRLF
|
||||||
|
{
|
||||||
|
adat($3);
|
||||||
|
free($3);
|
||||||
|
}
|
||||||
|
| PBSZ SP NUMBER CRLF
|
||||||
|
{
|
||||||
|
pbsz($3);
|
||||||
|
}
|
||||||
|
| PROT SP STRING CRLF
|
||||||
|
{
|
||||||
|
prot($3);
|
||||||
|
}
|
||||||
|
| CCC CRLF
|
||||||
|
{
|
||||||
|
ccc();
|
||||||
|
}
|
||||||
|
| MIC SP STRING CRLF
|
||||||
|
{
|
||||||
|
mec($3, prot_safe);
|
||||||
|
free($3);
|
||||||
|
}
|
||||||
|
| CONF SP STRING CRLF
|
||||||
|
{
|
||||||
|
mec($3, prot_confidential);
|
||||||
|
free($3);
|
||||||
|
}
|
||||||
|
| ENC SP STRING CRLF
|
||||||
|
{
|
||||||
|
mec($3, prot_private);
|
||||||
|
free($3);
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
username
|
username
|
||||||
|
Reference in New Issue
Block a user