A Summary of Commands

mkheader

It prompts the operator to enter header files that are needed to make the files covered in the third section compile. They should be named in the order of dependence. For example, if information in the header file b.h is needed by the header file a.h, header file b.h must be entered first and then header file a.h.

Full pathnames must be given. The file mesg.h and the structure mbhdr are common to all scripts and are entered automatically.

The header files can be stored in a batch file. The batch file could contain the following header files:

#include “/att/msgipc/dbcom.h” #include “/att/include/shmemtab.h” #include “/att/msgipc/tsm stop.h” #include “/att/msgipc/cdata.h”

This last prompt is used for allocating the space for each structure. It prompts the operator to enter each header file name and its structure names. For each header file, the operator enters the word "all" (if all structures are needed) or specific structure names.

Mkheader recursively allocates memory and produces application-name def.h defines for structure members which are themselves structures (except for struct mbhdr).

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 535