/* Copyright (c) 1993 Xerox Corporation. All rights reserved. */ /* $Id$ $Date$ * */ /* Chauser, October 28, 1993 3:39 pm PDT */ #ifndef __PCR_DbgNubMarshall_h # define __PCR_DbgNubMarshall_h 1 #include #include /* A DbgNubProc Foo is declared like PCR_ERes Foo(int argc, void **args); Foo is invoked as a result of a message from the other side. The calling procedure and Foo must agree on the number and types of arguments. Foo returns results by calling the marshalling procedures (below) and returning the appropriate PCR_ERes value. */ /* * Marshalling procs. * If one of these returns a value other than PCR_DbgNubProtocol_Res_okay, * the invoking CirioNubProc should return that same value. */ extern PCR_ERes PCR_DbgNubMarshall_PutCard32(unsigned long n); extern PCR_ERes PCR_DbgNubMarshall_PutInt32(long n); extern PCR_ERes PCR_DbgNubMarshall_PutString(char *s); extern PCR_ERes PCR_DbgNubMarshall_PutBlock8(char *b, int nBytes); extern PCR_ERes PCR_DbgNubMarshall_PutBlock16(short *b, int nBytes); extern PCR_ERes PCR_DbgNubMarshall_PutBlock32(long *b, int nBytes); #endif /* __PCR_DbgNubMarshall_h */