/**** * * Copyright (c) 1988 by Sun Microsystems, Inc. * @(#)sh_LIST.h 5.4 88/08/13 Copyright 1988 Sun Micro * * LIST class * Object represents a dynamically extendable list of data. * This "class" is designed to be used to support another * class - not by itself. (There is no Create_List function). * ****/ #ifndef _CLASS_LIST typedef struct class_LIST { #include "sh_LIST.ah" } *LIST; #define Init_List sh_Init_List #define Extend_List sh_Extend_List #define Destroy_List(L) { \ Destroy_Obj((L)->lst_data); \ (L)->lst_cur = 0; \ (L)->lst_end = 0; \ (L)->lst_data = NULL; } extern int *Init_List(); extern int *Extend_List(); #define _CLASS_LIST #endif