/* begincopyright Copyright (c) 1988 Xerox Corporation. All rights reserved. Use and copying of this software and preparation of derivative works based upon this software are permitted. Any distribution of this software or derivative works must comply with all applicable United States export control laws. This software is made available AS IS, and Xerox Corporation makes no warranty about the software, its performance or its conformity to any specification. Any person obtaining a copy of this software is requested to send their name and post office or electronic mail address to: PCR Coordinator Xerox PARC 3333 Coyote Hill Rd. Palo Alto, CA 94304 endcopyright */ /* * RDTRuntime.h * * Runtime support for remote debug tool. * * Demers, February 16, 1990 9:19:50 am PST */ #ifndef _RDT_RUNTIME_ #define _RDT_RUNTIME_ #include #include #include /* * Messages */ extern void RDT_Msg(/* char *fmt, int x1, x2, x3, x4, x5 */); extern void RDT_DBMsg(/* char *fmt, int x1, x2, x3, x4, x5 */); /* * Marshalling stuff */ /* * Send data with type info */ extern CirioNubRetCode RDT_PutRetCode(/* CirioNubRetCode c */); extern CirioNubRetCode RDT_PutProcID(/* unsigned id */); extern CirioNubRetCode RDT_PutCard32(/* unsigned n */); extern CirioNubRetCode RDT_PutInt32(/* int n */); extern CirioNubRetCode RDT_PutString(/* char *s */); extern CirioNubRetCode RDT_PutBlock8(/* char *b, int len */); extern CirioNubRetCode RDT_PutBlock16(/* short *b, int len */); extern CirioNubRetCode RDT_PutBlock32(/* long *b, int len */); extern CirioNubRetCode RDT_SendCall(/* unsigned procID */); extern CirioNubRetCode RDT_ReadReply(/* unsigned *buffer, unsigned bufferBytes, unsigned *argcPtr */); extern CirioNubRetCode RDT_Connect(/* char *hostName, unsigned defaultPort */); extern CirioNubRetCode RDT_Disconnect(/* bool doAbort */); #endif /* _RDT_RUNTIME_ */