CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/list.h
Go to the documentation of this file.
1/*
2 * TWM list handling external definitions
3 *
4 *
5 * Copyright 1988 by Evans & Sutherland Computer Corporation,
6 * Salt Lake City, Utah
7 * Portions Copyright 1989 by the Massachusetts Institute of Technology
8 * Cambridge, Massachusetts
9 *
10 * $XConsortium: list.h,v 1.12 90/09/14 14:54:42 converse Exp $
11 *
12 * 11-Apr-88 Tom LaStrange Initial Version.
13 *
14 * Copyright 1992 Claude Lecommandeur.
15 */
16
17#ifndef _CTWM_LIST_H
18#define _CTWM_LIST_H
19
20struct name_list {
21 name_list *next; /* pointer to the next name */
22 char *name; /* the name of the window */
23 void *ptr; /* list dependent data */
24};
25
26void AddToList(name_list **list_head, const char *name, void *ptr);
27void *LookInList(name_list *list_head, const char *name,
28 XClassHint *class);
29void *LookInNameList(name_list *list_head, const char *name);
32void *LookPatternInList(name_list *list_head, const char *name,
33 XClassHint *class);
34void *LookPatternInNameList(name_list *list_head, const char *name);
35bool GetColorFromList(name_list *list_head, char *name,
36 XClassHint *class, Pixel *ptr);
37void FreeList(name_list **list);
38
39bool match(const char *pattern, const char *string);
40
41#endif /* _CTWM_LIST_H */
42
static int PlaceX
Definition add_window.c:82
bool GetColorFromList(name_list *list_head, char *name, XClassHint *class, Pixel *ptr)
Definition list.c:194
void * LookInNameList(name_list *list_head, const char *name)
Definition list.c:130
bool IsInList(name_list *list_head, TwmWindow *twin)
Definition list.c:140
void * LookInListWin(name_list *list_head, TwmWindow *twin)
Definition list.c:135
void FreeList(name_list **list)
Definition list.c:239
void * LookPatternInList(name_list *list_head, const char *name, XClassHint *class)
Definition list.c:145
void AddToList(name_list **list_head, const char *name, void *ptr)
Definition list.c:63
void * LookInList(name_list *list_head, const char *name, XClassHint *class)
Definition list.c:101
bool match(const char *pattern, const char *string)
Definition list.c:433
void * LookPatternInNameList(name_list *list_head, const char *name)
Definition list.c:169
static int ptr
Definition parse.c:74
Info and control for every X Window we take over.
name_list * next
Definition list.h:21
void * ptr
Definition list.h:23
char * name
Definition list.h:22