atm_dce_interface.idl

来自「linux thread programe」· IDL 代码 · 共 57 行

IDL
57
字号
/******************************************************** * An example source module to accompany... * * "Using POSIX Threads: Programming with Pthreads" *     by Brad nichols, Dick Buttlar, Jackie Farrell *     O'Reilly & Associates, Inc. * ******************************************************** * atm_if.idl -- * * Defines an RPC interface to the ATM DCE example. */[uuid(6f01ac60-119b-11cf-a6d7-08002bbaabb0),version(1.0)]interface atm{	void open_account(		[in]	handle_t	handle,		[out]	long		*id,		[out]	long		*passwd,	        [out]   long		*success,		[out]   char		estring[20]);			void deposit(		[in]	handle_t	handle,		[in]	long		*id,		[in]	long		*password,		[in]	long 		*amt,			[out]   long            *success,		[out]   char		estring[20]);	void withdraw(		[in]	handle_t	handle,		[in]	long		*id,		[in]	long		*password,		[in]	long 		*amt,		[out]	long		*success,		[out]   char		estring[20]);	void balance(		[in]	handle_t	handle,		[in]	long		*id,		[in]	long		*password,		[out]   long            *success,		[out]	long		*cur_balance,		[out]   char		estring[20]);	void shutdown_server(		[in]	handle_t	handle,		[in]	long		*spassword,		[out]	long		*success,		[out]	char		estring[20]);}

⌨️ 快捷键说明

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