5 /* mail_command_server 3
7 /* single-command server
9 /* #include <mail_proto.h>
11 /* int mail_command_server(stream, type, name, ...)
16 /* This module implements the server interface for single-command
17 /* requests: a clients sends a single command and expects a single
18 /* completion status code.
23 /* .IP "type, name, ..."
24 /* Attribute list as defined in attr_scan(3).
26 /* Fatal: out of memory.
29 /* mail_command_client(3) client interface
30 /* mail_proto(3h), client-server protocol
31 #include <mail_proto.h>
35 /* The Secure Mailer license must be distributed with this software.
38 /* IBM T.J. Watson Research
40 /* Yorktown Heights, NY 10598, USA
46 #include <stdlib.h> /* 44BSD stdarg.h uses abort() */
50 /* Utility library. */
56 #include "mail_proto.h"
58 /* mail_command_server - read single-command request */
60 int mail_command_server(VSTREAM
*stream
,...)
66 count
= attr_vscan(stream
, ATTR_FLAG_MISSING
, ap
);