home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / uucp / Uucp.framework / uuconf.subproj / tportc.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-09  |  15.4 KB  |  506 lines

  1. /* tportc.c
  2.    Handle a Taylor UUCP port command.
  3.  
  4.    Copyright (C) 1992, 1993 Ian Lance Taylor
  5.  
  6.    This file is part of the Taylor UUCP uuconf library.
  7.  
  8.    This library is free software; you can redistribute it and/or
  9.    modify it under the terms of the GNU Library General Public License
  10.    as published by the Free Software Foundation; either version 2 of
  11.    the License, or (at your option) any later version.
  12.  
  13.    This library is distributed in the hope that it will be useful, but
  14.    WITHOUT ANY WARRANTY; without even the implied warranty of
  15.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.    Library General Public License for more details.
  17.  
  18.    You should have received a copy of the GNU Library General Public
  19.    License along with this library; if not, write to the Free Software
  20.    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  21.  
  22.    The author of the program may be contacted at ian@airs.com or
  23.    c/o Cygnus Support, 48 Grove Street, Somerville, MA 02144.
  24.    */
  25.  
  26. #include "uucnfi.h"
  27.  
  28. #if USE_RCS_ID
  29. const char _uuconf_tportc_rcsid[] = "$Id: tportc.c,v 1.14 1995/06/21 19:24:52 ian Rel $";
  30. #endif
  31.  
  32. #include <errno.h>
  33.  
  34. static int ipproto_param P((pointer pglobal, int argc, char **argv,
  35.                 pointer pvar, pointer pinfo));
  36. static int ipbaud_range P((pointer pglobal, int argc, char **argv,
  37.                pointer pvar, pointer pinfo));
  38. static int ipdialer P((pointer pglobal, int argc, char **argv, pointer pvar,
  39.                pointer pinfo));
  40. static int ipcunknown P((pointer pglobal, int argc, char **argv,
  41.              pointer pvar, pointer pinfo));
  42.  
  43. /* The string names of the port types.  This array corresponds to the
  44.    uuconf_porttype enumeration.  */
  45.  
  46. static const char * const azPtype_names[] =
  47. {
  48.   NULL,
  49.   "stdin",
  50.   "modem",
  51.   "direct",
  52.   "tcp",
  53.   "tli",
  54.   "pipe"
  55. };
  56.  
  57. #define CPORT_TYPES (sizeof azPtype_names / sizeof azPtype_names[0])
  58.  
  59. /* The command table for generic port commands.  The "port" and "type"
  60.    commands are handled specially.  */
  61. static const struct cmdtab_offset asPort_cmds[] =
  62. {
  63.   { "protocol", UUCONF_CMDTABTYPE_STRING,
  64.       offsetof (struct uuconf_port, uuconf_zprotocols), NULL },
  65.   { "protocol-parameter", UUCONF_CMDTABTYPE_FN | 0,
  66.       offsetof (struct uuconf_port, uuconf_qproto_params), ipproto_param },
  67.   { "seven-bit", UUCONF_CMDTABTYPE_FN | 2,
  68.       offsetof (struct uuconf_port, uuconf_ireliable), _uuconf_iseven_bit },
  69.   { "reliable", UUCONF_CMDTABTYPE_FN | 2,
  70.       offsetof (struct uuconf_port, uuconf_ireliable), _uuconf_ireliable },
  71.   { "half-duplex", UUCONF_CMDTABTYPE_FN | 2,
  72.       offsetof (struct uuconf_port, uuconf_ireliable),
  73.       _uuconf_ihalf_duplex },
  74.   { "lockname", UUCONF_CMDTABTYPE_STRING,
  75.       offsetof (struct uuconf_port, uuconf_zlockname), NULL },
  76.   { NULL, 0, 0, NULL }
  77. };
  78.  
  79. #define CPORT_CMDS (sizeof asPort_cmds / sizeof asPort_cmds[0])
  80.  
  81. /* The stdin port command table.  */
  82. static const struct cmdtab_offset asPstdin_cmds[] =
  83. {
  84.   { NULL, 0, 0, NULL }
  85. };
  86.  
  87. #define CSTDIN_CMDS (sizeof asPstdin_cmds / sizeof asPstdin_cmds[0])
  88.  
  89. /* The modem port command table.  */
  90. static const struct cmdtab_offset asPmodem_cmds[] =
  91. {
  92.   { "device", UUCONF_CMDTABTYPE_STRING,
  93.       offsetof (struct uuconf_port, uuconf_u.uuconf_smodem.uuconf_zdevice),
  94.       NULL },
  95.   { "baud", UUCONF_CMDTABTYPE_LONG,
  96.       offsetof (struct uuconf_port, uuconf_u.uuconf_smodem.uuconf_ibaud),
  97.       NULL },
  98.   { "speed", UUCONF_CMDTABTYPE_LONG,
  99.       offsetof (struct uuconf_port, uuconf_u.uuconf_smodem.uuconf_ibaud),
  100.       NULL },
  101.   { "baud-range", UUCONF_CMDTABTYPE_FN | 3,
  102.       offsetof (struct uuconf_port, uuconf_u.uuconf_smodem), ipbaud_range },
  103.   { "speed-range", UUCONF_CMDTABTYPE_FN | 3,
  104.       offsetof (struct uuconf_port, uuconf_u.uuconf_smodem), ipbaud_range },
  105.   { "carrier", UUCONF_CMDTABTYPE_BOOLEAN,
  106.       offsetof (struct uuconf_port, uuconf_u.uuconf_smodem.uuconf_fcarrier),
  107.       NULL },
  108.   { "hardflow", UUCONF_CMDTABTYPE_BOOLEAN,
  109.       offsetof (struct uuconf_port, uuconf_u.uuconf_smodem.uuconf_fhardflow),
  110.       NULL },
  111.   { "dial-device", UUCONF_CMDTABTYPE_STRING,
  112.       offsetof (struct uuconf_port,
  113.         uuconf_u.uuconf_smodem.uuconf_zdial_device),
  114.       NULL },
  115.   { "dialer", UUCONF_CMDTABTYPE_FN | 0,
  116.       offsetof (struct uuconf_port, uuconf_u.uuconf_smodem), ipdialer },
  117.   { "dialer-sequence", UUCONF_CMDTABTYPE_FULLSTRING,
  118.       offsetof (struct uuconf_port, uuconf_u.uuconf_smodem.uuconf_pzdialer),
  119.       NULL },
  120.   { NULL, 0, 0, NULL }
  121. };
  122.  
  123. #define CMODEM_CMDS (sizeof asPmodem_cmds / sizeof asPmodem_cmds[0])
  124.  
  125. /* The direct port command table.  */
  126. static const struct cmdtab_offset asPdirect_cmds[] =
  127. {
  128.   { "device", UUCONF_CMDTABTYPE_STRING,
  129.       offsetof (struct uuconf_port, uuconf_u.uuconf_sdirect.uuconf_zdevice),
  130.       NULL },
  131.   { "baud", UUCONF_CMDTABTYPE_LONG,
  132.       offsetof (struct uuconf_port, uuconf_u.uuconf_sdirect.uuconf_ibaud),
  133.       NULL },
  134.   { "speed", UUCONF_CMDTABTYPE_LONG,
  135.       offsetof (struct uuconf_port, uuconf_u.uuconf_sdirect.uuconf_ibaud),
  136.       NULL },
  137.   { "carrier", UUCONF_CMDTABTYPE_BOOLEAN,
  138.       offsetof (struct uuconf_port, uuconf_u.uuconf_sdirect.uuconf_fcarrier),
  139.       NULL },
  140.   { "hardflow", UUCONF_CMDTABTYPE_BOOLEAN,
  141.       offsetof (struct uuconf_port, uuconf_u.uuconf_sdirect.uuconf_fhardflow),
  142.       NULL },
  143.   { NULL, 0, 0, NULL }
  144. };
  145.  
  146. #define CDIRECT_CMDS (sizeof asPdirect_cmds / sizeof asPdirect_cmds[0])
  147.  
  148. /* The TCP port command table.  */
  149. static const struct cmdtab_offset asPtcp_cmds[] =
  150. {
  151.   { "service", UUCONF_CMDTABTYPE_STRING,
  152.       offsetof (struct uuconf_port, uuconf_u.uuconf_stcp.uuconf_zport),
  153.       NULL },
  154.   { "dialer-sequence", UUCONF_CMDTABTYPE_FULLSTRING,
  155.       offsetof (struct uuconf_port, uuconf_u.uuconf_stcp.uuconf_pzdialer),
  156.       NULL },
  157.   { NULL, 0, 0, NULL }
  158. };
  159.  
  160. #define CTCP_CMDS (sizeof asPtcp_cmds / sizeof asPtcp_cmds[0])
  161.  
  162. /* The TLI port command table.  */
  163. static const struct cmdtab_offset asPtli_cmds[] =
  164. {
  165.   { "device", UUCONF_CMDTABTYPE_STRING,
  166.       offsetof (struct uuconf_port, uuconf_u.uuconf_stli.uuconf_zdevice),
  167.       NULL },
  168.   { "stream", UUCONF_CMDTABTYPE_BOOLEAN,
  169.       offsetof (struct uuconf_port, uuconf_u.uuconf_stli.uuconf_fstream),
  170.       NULL },
  171.   { "push", UUCONF_CMDTABTYPE_FULLSTRING,
  172.       offsetof (struct uuconf_port, uuconf_u.uuconf_stli.uuconf_pzpush),
  173.       NULL },
  174.   { "dialer-sequence", UUCONF_CMDTABTYPE_FULLSTRING,
  175.       offsetof (struct uuconf_port, uuconf_u.uuconf_stli.uuconf_pzdialer),
  176.       NULL },
  177.   { "server-address", UUCONF_CMDTABTYPE_STRING,
  178.       offsetof (struct uuconf_port, uuconf_u.uuconf_stli.uuconf_zservaddr),
  179.       NULL },
  180.   { NULL, 0, 0, NULL }
  181. };
  182.  
  183. #define CTLI_CMDS (sizeof asPtli_cmds / sizeof asPtli_cmds[0])
  184.  
  185. /* The pipe port command table.  */
  186. static const struct cmdtab_offset asPpipe_cmds[] =
  187. {
  188.   { "command", UUCONF_CMDTABTYPE_FULLSTRING,
  189.       offsetof (struct uuconf_port, uuconf_u.uuconf_spipe.uuconf_pzcmd),
  190.       NULL },
  191.   { NULL, 0, 0, NULL}
  192. };
  193.  
  194. #define CPIPE_CMDS (sizeof asPpipe_cmds / sizeof asPpipe_cmds[0])
  195.  
  196. #undef max
  197. #define max(i1, i2) ((i1) > (i2) ? (i1) : (i2))
  198. #define CCMDS \
  199.   max (max (max (CPORT_CMDS, CSTDIN_CMDS), CMODEM_CMDS), \
  200.        max (max (CDIRECT_CMDS, CTCP_CMDS), max (CTLI_CMDS, CPIPE_CMDS)))
  201.  
  202. /* Handle a command passed to a port from a Taylor UUCP configuration
  203.    file.  This can be called when reading either the port file or the
  204.    sys file.  The return value may have UUCONF_CMDTABRET_KEEP set, but
  205.    not UUCONF_CMDTABRET_EXIT.  It assigns values to the elements of
  206.    qport.  The first time this is called, qport->uuconf_zname and
  207.    qport->uuconf_palloc should be set and qport->uuconf_ttype should
  208.    be UUCONF_PORTTYPE_UNKNOWN.  */
  209.  
  210. int
  211. _uuconf_iport_cmd (qglobal, argc, argv, qport)
  212.      struct sglobal *qglobal;
  213.      int argc;
  214.      char **argv;
  215.      struct uuconf_port *qport;
  216. {
  217.   boolean fgottype;
  218.   const struct cmdtab_offset *qcmds;
  219.   size_t ccmds;
  220.   struct uuconf_cmdtab as[CCMDS];
  221.   int i;
  222.   int iret;
  223.  
  224.   fgottype = strcasecmp (argv[0], "type") == 0;
  225.  
  226.   if (fgottype || qport->uuconf_ttype == UUCONF_PORTTYPE_UNKNOWN)
  227.     {
  228.       enum uuconf_porttype ttype;
  229.  
  230.       /* We either just got a "type" command, or this is an
  231.      uninitialized port.  If the first command to a port is not
  232.      "type", it is assumed to be a modem port.  This
  233.      implementation will actually permit "type" at any point, but
  234.      will effectively discard any type specific information that
  235.      appears before the "type" command.  This supports defaults,
  236.      in that the default may be of a specific type while future
  237.      ports in the same file may be of other types.  */
  238.       if (! fgottype)
  239.     ttype = UUCONF_PORTTYPE_MODEM;
  240.       else
  241.     {
  242.       if (argc != 2)
  243.         return UUCONF_SYNTAX_ERROR;
  244.  
  245.       for (i = 0; i < CPORT_TYPES; i++)
  246.         if (azPtype_names[i] != NULL
  247.         && strcasecmp (argv[1], azPtype_names[i]) == 0)
  248.           break;
  249.  
  250.       if (i >= CPORT_TYPES)
  251.         return UUCONF_SYNTAX_ERROR;
  252.       
  253.       ttype = (enum uuconf_porttype) i;
  254.     }
  255.  
  256.       qport->uuconf_ttype = ttype;
  257.  
  258.       switch (ttype)
  259.     {
  260.     default:
  261.     case UUCONF_PORTTYPE_STDIN:
  262.       break;
  263.     case UUCONF_PORTTYPE_MODEM:
  264.       qport->uuconf_u.uuconf_smodem.uuconf_zdevice = NULL;
  265.       qport->uuconf_u.uuconf_smodem.uuconf_zdial_device = NULL;
  266.       qport->uuconf_u.uuconf_smodem.uuconf_ibaud = 0L;
  267.       qport->uuconf_u.uuconf_smodem.uuconf_ilowbaud = 0L;
  268.       qport->uuconf_u.uuconf_smodem.uuconf_ihighbaud = 0L;
  269.       qport->uuconf_u.uuconf_smodem.uuconf_fcarrier = TRUE;
  270.       qport->uuconf_u.uuconf_smodem.uuconf_fhardflow = TRUE;
  271.       qport->uuconf_u.uuconf_smodem.uuconf_pzdialer = NULL;
  272.       qport->uuconf_u.uuconf_smodem.uuconf_qdialer = NULL;
  273.       break;
  274.     case UUCONF_PORTTYPE_DIRECT:
  275.       qport->uuconf_u.uuconf_sdirect.uuconf_zdevice = NULL;
  276.       qport->uuconf_u.uuconf_sdirect.uuconf_ibaud = -1;
  277.       qport->uuconf_u.uuconf_sdirect.uuconf_fcarrier = FALSE;
  278.       qport->uuconf_u.uuconf_sdirect.uuconf_fhardflow = TRUE;
  279.       break;
  280.     case UUCONF_PORTTYPE_TCP:
  281.       qport->uuconf_u.uuconf_stcp.uuconf_zport = (char *) "uucp";
  282.       qport->uuconf_u.uuconf_stcp.uuconf_pzdialer = NULL;
  283.       qport->uuconf_ireliable = (UUCONF_RELIABLE_SPECIFIED
  284.                      | UUCONF_RELIABLE_ENDTOEND
  285.                      | UUCONF_RELIABLE_RELIABLE
  286.                      | UUCONF_RELIABLE_EIGHT
  287.                      | UUCONF_RELIABLE_FULLDUPLEX);
  288.       break;
  289.     case UUCONF_PORTTYPE_TLI:
  290.       qport->uuconf_u.uuconf_stli.uuconf_zdevice = NULL;
  291.       qport->uuconf_u.uuconf_stli.uuconf_fstream = FALSE;
  292.       qport->uuconf_u.uuconf_stli.uuconf_pzpush = NULL;
  293.       qport->uuconf_u.uuconf_stli.uuconf_pzdialer = NULL;
  294.       qport->uuconf_u.uuconf_stli.uuconf_zservaddr = NULL;
  295.       qport->uuconf_ireliable = (UUCONF_RELIABLE_SPECIFIED
  296.                      | UUCONF_RELIABLE_ENDTOEND
  297.                      | UUCONF_RELIABLE_RELIABLE
  298.                      | UUCONF_RELIABLE_EIGHT
  299.                      | UUCONF_RELIABLE_FULLDUPLEX);
  300.       break;
  301.     case UUCONF_PORTTYPE_PIPE:
  302.       qport->uuconf_u.uuconf_spipe.uuconf_pzcmd = NULL;
  303.       break;
  304.     }
  305.  
  306.       if (fgottype)
  307.     return UUCONF_CMDTABRET_CONTINUE;
  308.     }
  309.  
  310.   /* See if this command is one of the generic ones.  */
  311.   qcmds = asPort_cmds;
  312.   ccmds = CPORT_CMDS;
  313.  
  314.   for (i = 0; i < CPORT_CMDS - 1; i++)
  315.     if (strcasecmp (argv[0], asPort_cmds[i].zcmd) == 0)
  316.       break;
  317.  
  318.   if (i >= CPORT_CMDS - 1)
  319.     {
  320.       /* It's not a generic command, so we must check the type
  321.      specific commands.  */
  322.       switch (qport->uuconf_ttype)
  323.     {
  324.     case UUCONF_PORTTYPE_STDIN:
  325.       qcmds = asPstdin_cmds;
  326.       ccmds = CSTDIN_CMDS;
  327.       break;
  328.     case UUCONF_PORTTYPE_MODEM:
  329.       qcmds = asPmodem_cmds;
  330.       ccmds = CMODEM_CMDS;
  331.       break;
  332.     case UUCONF_PORTTYPE_DIRECT:
  333.       qcmds = asPdirect_cmds;
  334.       ccmds = CDIRECT_CMDS;
  335.       break;
  336.     case UUCONF_PORTTYPE_TCP:
  337.       qcmds = asPtcp_cmds;
  338.       ccmds = CTCP_CMDS;
  339.       break;
  340.     case UUCONF_PORTTYPE_TLI:
  341.       qcmds = asPtli_cmds;
  342.       ccmds = CTLI_CMDS;
  343.       break;
  344.     case UUCONF_PORTTYPE_PIPE:
  345.       qcmds = asPpipe_cmds;
  346.       ccmds = CPIPE_CMDS;
  347.       break;
  348.     default:
  349.       return UUCONF_SYNTAX_ERROR;
  350.     }
  351.     }
  352.  
  353.   /* Copy the command table onto the stack and modify it to point to
  354.      qport.  */
  355.   _uuconf_ucmdtab_base (qcmds, ccmds, (char *) qport, as);
  356.  
  357.   iret = uuconf_cmd_args ((pointer) qglobal, argc, argv, as,
  358.               (pointer) qport, ipcunknown, 0,
  359.               qport->uuconf_palloc);
  360.  
  361.   return iret &~ UUCONF_CMDTABRET_EXIT;
  362. }
  363.  
  364. /* Handle the "protocol-parameter" command.  */
  365.  
  366. static int
  367. ipproto_param (pglobal, argc, argv, pvar, pinfo)
  368.      pointer pglobal;
  369.      int argc;
  370.      char **argv;
  371.      pointer pvar;
  372.      pointer pinfo;
  373. {
  374.   struct sglobal *qglobal = (struct sglobal *) pglobal;
  375.   struct uuconf_proto_param **pqparam = (struct uuconf_proto_param **) pvar;
  376.   struct uuconf_port *qport = (struct uuconf_port *) pinfo;
  377.  
  378.   return _uuconf_iadd_proto_param (qglobal, argc - 1, argv + 1, pqparam,
  379.                    qport->uuconf_palloc);
  380. }
  381.  
  382. /* Handle the "baud-range" command.  */
  383.  
  384. /*ARGSUSED*/
  385. static int
  386. ipbaud_range (pglobal, argc, argv, pvar, pinfo)
  387.      pointer pglobal;
  388.      int argc;
  389.      char **argv;
  390.      pointer pvar;
  391.      pointer pinfo;
  392. {
  393.   struct sglobal *qglobal = (struct sglobal *) pglobal;
  394.   struct uuconf_modem_port *qmodem = (struct uuconf_modem_port *) pvar;
  395.   int iret;
  396.  
  397.   iret = _uuconf_iint (qglobal, argv[1],
  398.                (pointer) &qmodem->uuconf_ilowbaud, FALSE);
  399.   if ((iret &~ UUCONF_CMDTABRET_KEEP) != UUCONF_SUCCESS)
  400.     return iret;
  401.  
  402.   iret |= _uuconf_iint (qglobal, argv[2],
  403.             (pointer) &qmodem->uuconf_ihighbaud, FALSE);
  404.  
  405.   return iret;
  406. }
  407.  
  408. /* Handle the "dialer" command.  If there is one argument, this names
  409.    a dialer.  Otherwise, the remaining arguments form a command
  410.    describing the dialer.  */
  411.  
  412. static int
  413. ipdialer (pglobal, argc, argv, pvar, pinfo)
  414.      pointer pglobal;
  415.      int argc;
  416.      char **argv;
  417.      pointer pvar;
  418.      pointer pinfo;
  419. {
  420.   struct sglobal *qglobal = (struct sglobal *) pglobal;
  421.   struct uuconf_modem_port *qmodem = (struct uuconf_modem_port *) pvar;
  422.   struct uuconf_port *qport = (struct uuconf_port *) pinfo;
  423.   int iret;
  424.  
  425.   if (argc < 2)
  426.     return UUCONF_SYNTAX_ERROR | UUCONF_CMDTABRET_EXIT;
  427.  
  428.   if (argc > 2)
  429.     {
  430.       if (qmodem->uuconf_qdialer == NULL)
  431.     {
  432.       struct uuconf_dialer *qnew;
  433.       size_t clen;
  434.  
  435.       qnew = ((struct uuconf_dialer *)
  436.           uuconf_malloc (qport->uuconf_palloc,
  437.                   sizeof (struct uuconf_dialer)));
  438.       if (qnew == NULL)
  439.         {
  440.           qglobal->ierrno = errno;
  441.           return (UUCONF_MALLOC_FAILED
  442.               | UUCONF_ERROR_ERRNO
  443.               | UUCONF_CMDTABRET_EXIT);
  444.         }
  445.  
  446.       _uuconf_uclear_dialer (qnew);
  447.  
  448.       if (qport->uuconf_zname == NULL)
  449.         qnew->uuconf_zname = (char *) "default port file dialer";
  450.       else
  451.         {
  452.           clen = strlen (qport->uuconf_zname);
  453.           qnew->uuconf_zname =
  454.         (char *) uuconf_malloc (qport->uuconf_palloc,
  455.                     clen + sizeof " dialer");
  456.           if (qnew->uuconf_zname == NULL)
  457.         {
  458.           qglobal->ierrno = errno;
  459.           return (UUCONF_MALLOC_FAILED
  460.               | UUCONF_ERROR_ERRNO
  461.               | UUCONF_CMDTABRET_EXIT);
  462.         }
  463.  
  464.           memcpy ((pointer) qnew->uuconf_zname,
  465.               (pointer) qport->uuconf_zname, clen);
  466.           memcpy ((pointer) (qnew->uuconf_zname + clen),
  467.               (pointer) " dialer", sizeof " dialer");
  468.         }
  469.  
  470.       qnew->uuconf_palloc = qport->uuconf_palloc;
  471.  
  472.       qmodem->uuconf_qdialer = qnew;
  473.     }
  474.  
  475.       iret = _uuconf_idialer_cmd (qglobal, argc - 1, argv + 1,
  476.                   qmodem->uuconf_qdialer);
  477.       if ((iret &~ UUCONF_CMDTABRET_KEEP) != UUCONF_SUCCESS)
  478.     iret |= UUCONF_CMDTABRET_EXIT;
  479.       return iret;
  480.     }
  481.   else
  482.     {
  483.       qmodem->uuconf_pzdialer = NULL;
  484.       iret = _uuconf_iadd_string (qglobal, argv[1], TRUE, FALSE,
  485.                   &qmodem->uuconf_pzdialer,
  486.                   qport->uuconf_palloc);
  487.       if (iret != UUCONF_SUCCESS)
  488.     iret |= UUCONF_CMDTABRET_EXIT;
  489.       return iret;
  490.     }
  491. }
  492.  
  493. /* Give an error for an unknown port command.  */
  494.  
  495. /*ARGSUSED*/
  496. static int
  497. ipcunknown (pglobal, argc, argv, pvar, pinfo)
  498.      pointer pglobal;
  499.      int argc;
  500.      char **argv;
  501.      pointer pvar;
  502.      pointer pinfo;
  503. {
  504.   return UUCONF_SYNTAX_ERROR | UUCONF_CMDTABRET_EXIT;
  505. }
  506.