/*****************************************************************/
/**                                                             **/
/**             (C) Copyright 1992 the Regents of the           **/
/**        University of California.  All Rights Reserved.      **/
/**                                                             **/
/**        This work was produced under the sponsorship of      **/
/**         the U.S. Department of Energy.  The Government      **/
/**                retains certain rights therein.              **/
/**                                                             **/
/**                         Written by                          **/
/**         Distributed Programming Environments Project        **/
/**           Computer Software and Networking Division,        **/
/**                   Livermore Computer Center,                **/
/**            Lawrence Livermore National Laboratory           **/
/**                                                             **/
/*****************************************************************/

static char sccsid_getP_nul[] = "@(#)getP_nul.c	1.9 10/20/92 05:51:38  LLNL ";

/*
	Embedded Language for Remote Operations Services
	ELROS

	AUTHOR:		James A. Guse
			Network Systems Division

	DATE WRITTEN:	10/17/90

	ROUTINE:	__ROr_getP_Null

PURPOSE:
	Get a null value.  Since there are never any contents octets, this
	means to verify that length=0.

IN:
        instance-
           receive_state used to receive the data.
	value - should always be NULL
        valuelength - number of bytes in the value variable
        encodedlength - number of encoded bytes to be received.
        maxlength - maximum number of decoded bytes that may be placed in
                        value.
 

OUT:
        instance -
           receive_state and error are updated.
 

CALLED ROUTINES:

	
MODIFICATION HISTORY:


*/

#include <elros/instance.h>
#include <elros/enc_dcd.h>
#include <elros/typetags.h>


int __ROr_BERgetP_Null( instance, value, valuelength, encodedlength,
                    maxlength, maxlength2 )
    __RO_Instance_Record	*instance;
    void			*value;
    unsigned long		*valuelength;
    unsigned long		*encodedlength;
    unsigned long		*maxlength;
    unsigned long		*maxlength2;
 
{
   if (*encodedlength != 0)
      __RO_RETURN_RUNTIME(instance,__ROx_DCD_NULLNOTNULL);
   return(SUCCESS);
}

