?? regs.c
字號(hào):
/* regs.c - xdr filters for WDB_REG_READ_DESC and WDB_REG_WRITE_DESC structures *//* Copyright 1988-1994 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01c,10jun95,pad Included rpc/rpc.h01b,04apr95,ms new data types.01a,20jan95,ms written.*//*DESCRIPTIONThis module contains the eXternal Data Representation (XDR) routinefor the WDB_REG_READ_DESC and WDB_REG_READ_DESC structures of the WDB protocol.*//* includes */#include <rpc/rpc.h>#include "wdbP.h"/********************************************************************************* xdr_WDB_REG_READ_DESC - code, decode or free the WDB_REG_READ_DESC structure. ** RETURNS: TRUE if it succeeds, FALSE otherwise.*/BOOL xdr_WDB_REG_READ_DESC ( XDR * xdrs, WDB_REG_READ_DESC * objp ) { if (!xdr_enum (xdrs, (enum_t *)&objp->regSetType)) return (FALSE); if (!xdr_WDB_CTX (xdrs, &objp->context)) return (FALSE); if (!xdr_WDB_MEM_REGION (xdrs, &objp->memRegion)) return (FALSE); return (TRUE); }/********************************************************************************* xdr_WDB_REG_WRITE_DESC - code, decode or free the WDB_REG_WRITE_DESC structure. ** RETURNS: TRUE if it succeeds, FALSE otherwise.*/BOOL xdr_WDB_REG_WRITE_DESC ( XDR * xdrs, WDB_REG_WRITE_DESC * objp ) { if (!xdr_enum (xdrs, (enum_t *)&objp->regSetType)) return (FALSE); if (!xdr_WDB_CTX (xdrs, &objp->context)) return (FALSE); if (!xdr_WDB_MEM_XFER (xdrs, &objp->memXfer)) return (FALSE); return (TRUE); }
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -