/*****************************************************************************/ /* upd.h */ /*****************************************************************************/ #ifndef UPD_H_LOADED #define UPD_H_LOADED 1 #include "wasd.h" /**************/ /* structures */ /**************/ typedef struct UpdTreeStruct UPD_TREE; struct UpdTreeStruct { UPD_TREE *PrevTreeNodePtr, *NextTreeNodePtr; int /* */ FileNameLength; char /* */ FileName [ODS_MAX_FILE_NAME_LENGTH+1]; /* "on-disk structure" supporting both ODS-2 and ODS-5 */ ODS_STRUCT SearchOds; }; typedef struct UpdTaskStruct UPD_TASK; struct UpdTaskStruct { BOOL /* editing a server configuration file */ ConfigurationEdit, /* upper-case, directories indicated [], etc. */ FormatTreeLikeVms, /* edit file record format is FIX/UDF (don't add newlines) */ RecordFormatFixed, /* */ RuleCheckAvailable, /* the request is being rundown before the task has completed */ RequestRundown, /* generated tree is for "Update" facility */ UpdateTree; int /* numeric columns */ Cols, /* for counting files in tree listings, etc. */ FileCount, /* */ NavigateSize, /* path info dir part */ PathInfoDirLength, /* numeric rows */ Rows, /* count of how many characters before beginning "|---", etc. */ TreeIndent, /* directory nesting level */ TreeLevel; unsigned long /* when creating files and directories */ ProtectionMask; char /* MUST be 512 bytes (one block) for file copy purposes */ CopyBuffer [512], /* columns by rows, for edit file