rex.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* rex_xdr - remote execution external data representations
*
* Copyright (c) 1985 Sun Microsystems, Inc.
*/
#ident "%Z%%M% %I% %E% SMI"
/* XXX - Bad, Bad, Bad.... Fix this. This isn't allowed in the base */
#define BSD_COMP
#include <stdio.h>
#include <stropts.h>
#include "rex.h"
/*
* xdr_rex_start - process the command start structure
*/
{
return
}
char ***argvp;
{
register char **ap;
int i, count;
/*
* find the number of args to encode or free
*/
count++;
/* XDR the count */
return (FALSE);
/*
* now deal with the strings
*/
for (i = 0; i <= count; i++) /* Note: <=, not < */
argv[i] = 0;
}
return (FALSE);
}
return (TRUE);
}
/*
* xdr_rex_result - process the result of a start or wait operation
*/
struct rex_result *result;
{
return
}
/*
* xdr_rex_ttymode - process the tty mode information
*/
struct rex_ttymode *mode;
{
}
return
}
/*
* xdr_rex_ttysize - process the tty size information
*/
{
return
}