#ifndef DOS_DOSTAGS_H
#define DOS_DOSTAGS_H
/*
**
**	$Filename: dos/dostags.h $
**	$Release: 2.0 release 1 $
**	$Revision: 36.9 $
**	$Date: 90/07/12 $
**
**	Tag definitions for all Dos routines using tags
**
**	(C) Copyright 1989,1990 Commodore-Amiga, Inc.
**	    All Rights Reserved
**
*/

#ifndef UTILITY_TAGITEM_H
#include "utility/tagitem.h"
#endif

/* definitions for the System() call */

enum {	SYS_Dummy = TAG_USER + 32,
	SYS_Input,		/* specifies the input filehandle  */
	SYS_Output,		/* specifies the output filehandle */
	SYS_Asynch,		/* run asynch, close input/output on exit(!) */
	SYS_UserShell,		/* send to user shell instead of boot shell */
	SYS_CustomShell,	/* send to a specific shell (data is name) */
/*	SYS_Error, */
};

/* definitions for the CreateNewProc() call */
/* you MUST specify one of NP_Seglist or NP_Entry.  All else is optional. */

enum {	NP_Dummy = TAG_USER + 1000,
	NP_Seglist,		/* seglist of code to run for the process  */
	NP_FreeSeglist,		/* free seglist on exit - only valid for   */
				/* for NP_Seglist.  Default is TRUE.	   */
	NP_Entry,		/* entry point to run - mutually exclusive */
				/* with NP_Seglist! */
	NP_Input,		/* filehandle - default is Open("NIL:"...) */
	NP_Output,		/* filehandle - default is Open("NIL:"...) */
	NP_CloseInput,		/* close input filehandle on exit	   */
				/* default TRUE				   */
	NP_CloseOutput,		/* close output filehandle on exit	   */
				/* default TRUE				   */
	NP_Error,		/* filehandle - default is Open("NIL:"...) */
	NP_CloseError,		/* close error filehandle on exit	   */
				/* default TRUE				   */
	NP_CurrentDir,		/* lock - default is parent's current dir  */
	NP_StackSize,		/* stacksize for process - default 4000    */
	NP_Name,		/* name for process - default "New Process"*/
	NP_Priority,		/* priority - default same as parent	   */
	NP_ConsoleTask,		/* consoletask - default same as parent    */
	NP_WindowPtr,		/* window ptr - default is same as parent  */
	NP_HomeDir,		/* home directory - default current dir	   */
	NP_CopyVars,		/* boolean to copy local vars-default TRUE */
	NP_Cli,			/* create cli structure - default FALSE    */
	NP_Path,		/* path - default is copy of parents path  */
				/* only valid if a cli process!            */
	NP_CommandName,		/* commandname - valid only for CLI	   */
	NP_Arguments,		/* cstring of arguments - passed with str  */
				/* in a0, length in d0.  (copied and freed */
				/* on exit.  Default is empty string.      */
/* FIX! should this be only for cli's? */
	NP_NotifyOnDeath,	/* notify parent on death - default FALSE  */
	NP_Synchronous,		/* don't return until process finishes -   */
				/* default FALSE.			   */
	NP_ExitCode,		/* code to be called on process exit       */
	NP_ExitData,		/* optional argument for NP_EndCode rtn -  */
				/* default NULL				   */
};

/* tags for AllocDosObject */
enum {	ADO_Dummy = TAG_USER + 2000,
	ADO_FH_Mode,		/* for type DOS_FILEHANDLE only		   */
				/* sets up FH for mode specified.
				   This can make a big difference for buffered
				   files.				   */
	/* The following are for DOS_CLI */
	/* If you do not specify these, dos will use it's preferred values */
	/* which may change from release to release.  The BPTRs to these   */
	/* will be set up correctly for you.  Everything will be zero,	   */
	/* except cli_FailLevel (10) and cli_Background (DOSTRUE).	   */
	/* NOTE: you may also use these 4 tags with CreateNewProc.	   */

	ADO_DirLen,		/* size in bytes for current dir buffer    */
	ADO_CommNameLen,	/* size in bytes for command name buffer   */
	ADO_CommFileLen,	/* size in bytes for command file buffer   */
	ADO_PromptLen,		/* size in bytes for the prompt buffer	   */
};

/* tags for NewLoadSeg */
/* no tags are defined yet for NewLoadSeg */

#endif /* DOS_DOSTAGS_H */
