~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to list.h

  • Committer: Richard Levitte
  • Author(s): Claude Lecommandeur
  • Date: 2003-02-02 16:55:20 UTC
  • Revision ID: richard@levitte.org-20030202165520-hyrp5rd7ljx1bhr8
Tags: ctwm-1.1
CTWM version 1.1

Monotone-Revision: b3c7582e14387de7b1a24f0c48c00e8c1f9fbe52

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*****************************************************************************/
 
2
/**       Copyright 1988 by Evans & Sutherland Computer Corporation,        **/
 
3
/**                          Salt Lake City, Utah                           **/
 
4
/**  Portions Copyright 1989 by the Massachusetts Institute of Technology   **/
 
5
/**                        Cambridge, Massachusetts                         **/
 
6
/**                                                                         **/
 
7
/**                           All Rights Reserved                           **/
 
8
/**                                                                         **/
 
9
/**    Permission to use, copy, modify, and distribute this software and    **/
 
10
/**    its documentation  for  any  purpose  and  without  fee is hereby    **/
 
11
/**    granted, provided that the above copyright notice appear  in  all    **/
 
12
/**    copies and that both  that  copyright  notice  and  this  permis-    **/
 
13
/**    sion  notice appear in supporting  documentation,  and  that  the    **/
 
14
/**    names of Evans & Sutherland and M.I.T. not be used in advertising    **/
 
15
/**    in publicity pertaining to distribution of the  software  without    **/
 
16
/**    specific, written prior permission.                                  **/
 
17
/**                                                                         **/
 
18
/**    EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD    **/
 
19
/**    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-    **/
 
20
/**    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR    **/
 
21
/**    M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-    **/
 
22
/**    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA    **/
 
23
/**    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER    **/
 
24
/**    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE    **/
 
25
/**    OR PERFORMANCE OF THIS SOFTWARE.                                     **/
 
26
/*****************************************************************************/
 
27
 
 
28
 
 
29
/**********************************************************************
 
30
 *
 
31
 * $XConsortium: list.h,v 1.12 90/09/14 14:54:42 converse Exp $
 
32
 *
 
33
 * TWM list handling external definitions
 
34
 *
 
35
 * 11-Apr-88 Tom LaStrange        Initial Version.
 
36
 *
 
37
 **********************************************************************/
 
38
 
 
39
#ifndef _LIST_
 
40
#define _LIST_
 
41
 
 
42
typedef struct name_list_struct name_list;
 
43
 
 
44
struct name_list_struct
 
45
{
 
46
    name_list *next;            /* pointer to the next name */
 
47
    char *name;                 /* the name of the window */
 
48
    char *ptr;                  /* list dependent data */
 
49
};
 
50
 
 
51
extern void     AddToList();
 
52
extern char*    LookInList();
 
53
extern char*    LookInNameList();
 
54
extern int      GetColorFromList();
 
55
extern void     FreeList();
 
56
 
 
57
#endif /* _LIST_ */
 
58