/* @(#)52       1.3  src/examples/bank/acct_type.idl, examples.src, os2dce21.dss, 960602a.1  6/10/94  18:03:41 */
/*
 * COMPONENT_NAME:  examples.src
 *
 * FUNCTIONS:
 *
 * ORIGINS: 2, 27
 *
 * (C) COPYRIGHT International Business Machines Corp. 1991, 1992, 1994
 * All Rights Reserved
 * Licensed Materials - Property of IBM
 *
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 *
 */
/*
 *	Copyright  1987 by Apollo Computer Inc., Chelmsford, Massachusetts
 *
 *   	DESCRIPTION:
 *      	This contains the structure definition of bank accounts
 *		and the definition of the circular linked list.
 *
 *   	HISTORY:
 *      	5/01/91        	Code Complete           Gerald Cantor
 *	       10/20/91		Added account locking
 *				mutex.			Gerald Cantor
 *		5/08/91		Changed time from long
 *				to utc_t.		Gerald Cantor
 */
[pointer_default(ptr)] interface acct_type
{
	import "utctypes.idl";

	typedef struct {
		[string] char name[80];
		long number;
		long ck_balance;
		utc_t ck_trans_time;
		long sv_balance;
		utc_t sv_trans_time;
		long cd_balance;
		utc_t cd_trans_time;
		long ira_balance;
		utc_t ira_trans_time;
		utc_t create_time;
	} acct_info_t;

	typedef struct acct_t {
		acct_info_t acct_info;
		byte *acct_mutex;
		struct acct_t *next;
		struct acct_t *prev;
	} acct_t;

}
