/************************************************************
* MultiUser - MultiUser Task/File Support System				*
* ---------------------------------------------------------	*
* User Information Management											*
* ---------------------------------------------------------	*
* © Copyright 1993-1994 Geert Uytterhoeven						*
* All Rights Reserved.													*
************************************************************/


#include "multiuser.h"


	/*
	 *		Private User Information Structure
	 *
	 *		This is a sub class of the Public User Information Structure
	 */

struct muPrivUserInfo {
	struct muUserInfo Pub;					/* The public part */
	BOOL Password;								/* TRUE if the User has a password */
	STRPTR Pattern;                     /* Pattern matching temp */
	ULONG Count;								/* last info */
	UWORD Tgid;									/* gid for muKeyType_gidNext */
};


	/*
	 *		Function Prototypes
	 */

extern struct muPrivUserInfo __asm __saveds *muAllocUserInfo(void);
extern void __asm __saveds muFreeUserInfo(register __a0 struct muPrivUserInfo *info);
extern struct muPrivUserInfo __asm __saveds *muGetUserInfo(register __a0 struct muPrivUserInfo *info,
																			  register __d0 ULONG keytype);
extern ULONG __asm muGetRelationshipA(register __d0 struct muExtOwner *user, register __d1 ULONG owner,
												  register __a0 struct TagItem *taglist);
extern struct muExtOwner __asm __saveds *muUserInfo2ExtOwner(register __a0 struct muUserInfo *info);
