/*****************************************************************/
/**                                                             **/
/**             (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_STDgetset_invokeID[] = "@(#)STDgetset_id.c	1.14 11/13/92 10:43:37 LLNL ";

/*
	Embedded Language for Remote Operations Services
	ELROS

	AUTHOR:		James A. Guse
			Network Systems Division

	DATE WRITTEN:	7/5/90
*/

/*
	ROUTINE:	Get_invokeID
	Version:	__ROr_STDget_invokeID

PURPOSE:
	This returns the current sending invokeID from the instance record.

IN:
	instance - from which to get the iid.

OUT:
	RETURN - invokeID


CALLED ROUTINES:
	

	
MODIFICATION HISTORY:


*/


#include <elros/instance.h>

long __ROr_STDget_invokeID(instance)

   __RO_Instance_Record *instance;

{
   return(instance->sending_invokeID);
}

long Get_invokeID(instance)
   __RO_Instance_Record *instance;
{
   return(__ROr_STDget_invokeID(instance));
}


/*
	ROUTINE:	Set_invokeID
	Version:	__ROr_STDset_invokeID

PURPOSE:
	This sets the current sending invokeID in the instance record.

IN:
	instance - from which to get the iid.
	invokeid - new invokeid to set.

OUT:


CALLED ROUTINES:
	

	
MODIFICATION HISTORY:


*/


void __ROr_STDset_invokeID(instance,invokeid)

   __RO_Instance_Record *instance;
   long invokeid;

{
   instance->sending_invokeID = invokeid;
}

void Set_invokeID(instance,invokeid)
   __RO_Instance_Record *instance;
   long invokeid;
{
   __ROr_STDset_invokeID(instance,invokeid);
}


