add VERSIONCOMMANDS to manpage.

git-svn: trunk@4923
0.95
Török Edvin 16 years ago
parent 39b84970e1
commit cae26d1239
  1. 4
      ChangeLog
  2. 12
      docs/man/clamd.8.in

@ -1,3 +1,7 @@
Tue Mar 10 19:59:29 EET 2009 (edwin)
------------------------------------
* docs/man/clamd.8.in: add VERSIONCOMMANDS to manpage.
Tue Mar 10 19:50:59 EET 2009 (edwin)
------------------------------------
* clamd/session.c, clamd/session.h, unit_tests/check_clamd.c: new

@ -67,6 +67,18 @@ Clamd requires clients to read all the replies it sent, before sending more comm
\fINote that using non-blocking sockets without the select/poll loop and alternating recv()/send() doesn't comply with clamd's requirements.\fR
If clamd detects that a client has deadlocked, it will close the connection. Note that clamd may close an IDSESSION connection too if you don't follow the protocol's requirements.
.TP
\fBVERSIONCOMMANDS\fR
It is mandatory to prefix this command with either \fBn\fR or \fBz\fR.
It is recommended to use \fBnVERSIONCOMMANDS\fR.
Print program and database versions, followed by "| COMMANDS:" and a
space-delimited list of supported commands.
Clamd <0.95 will recognize this as the VERSION command, and reply only with
their version, without the commands list.
This command can be used as an easy way to check for IDSESSION support for
example.
.LP
.TP
\fBDEPRECATED COMMANDS\fR

Loading…
Cancel
Save