⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 account.h

📁 这是一个简单的模拟银行存取款的例子,目的是了解如何开发RPC服务程序.代码在LINUX下测试运行通过
💻 H
字号:
/* * Please do not edit this file. * It was generated using rpcgen. */#ifndef _ACCOUNT_H_RPCGEN#define _ACCOUNT_H_RPCGEN#include <rpc/rpc.h>#ifdef __cplusplusextern "C" {#endif#define ACCOUNT 0x20010929#define ACCOUNT_VER 1#if defined(__STDC__) || defined(__cplusplus)#define deposit 2extern  int * deposit_1(int *, CLIENT *);extern  int * deposit_1_svc(int *, struct svc_req *);#define withdraw 1extern  int * withdraw_1(int *, CLIENT *);extern  int * withdraw_1_svc(int *, struct svc_req *);extern int account_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);#else /* K&R C */#define deposit 2extern  int * deposit_1();extern  int * deposit_1_svc();#define withdraw 1extern  int * withdraw_1();extern  int * withdraw_1_svc();extern int account_1_freeresult ();#endif /* K&R C */#ifdef __cplusplus}#endif#endif /* !_ACCOUNT_H_RPCGEN */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -