/*****************************************************************/
/**                                                             **/
/**             (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_sendP_nul[] = "@(#)sendP_nul.c	1.9 10/20/92 06:01:35  LLNL ";

/*
	Embedded Language for Remote Operations Services
	ELROS

	AUTHOR:		James A. Guse
			Network Systems Division

	DATE WRITTEN:	10/17/90

	ROUTINE:	__ROr_BERsendP_Null

PURPOSE:
	Send a null value.  This amounts to sending a length octet of 0.

IN:
        instance-
           receive_state used to receive the data.
 

OUT:
        instance -
           receive_state and error are updated.
 

CALLED ROUTINES:
	__ROr_encP_length
	
MODIFICATION HISTORY:


*/

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


int __ROr_BERsendP_Null( instance, value, valuelength,
                    maxlength, maxlength2 )
    __RO_Instance_Record	*instance;
    void			*value;
    unsigned long		*valuelength;
    unsigned long		*maxlength;
    unsigned long		*maxlength2;
 
{
   unsigned long zero = 0;

   __ROr_encP_length(instance,&zero);
   return(SUCCESS);
}

