CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/list.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  name_list

Functions

void AddToList (name_list **list_head, const char *name, void *ptr)
void * LookInList (name_list *list_head, const char *name, XClassHint *class)
void * LookInNameList (name_list *list_head, const char *name)
void * LookInListWin (name_list *list_head, TwmWindow *twin)
bool IsInList (name_list *list_head, TwmWindow *twin)
void * LookPatternInList (name_list *list_head, const char *name, XClassHint *class)
void * LookPatternInNameList (name_list *list_head, const char *name)
bool GetColorFromList (name_list *list_head, char *name, XClassHint *class, Pixel *ptr)
void FreeList (name_list **list)
bool match (const char *pattern, const char *string)

Function Documentation

◆ AddToList()

void AddToList ( name_list ** list_head,
const char * name,
void * ptr )

◆ FreeList()

void FreeList ( name_list ** list)

Definition at line 239 of file list.c.

References name_list::name, and name_list::next.

Referenced by free_OtpPreferences().

◆ GetColorFromList()

bool GetColorFromList ( name_list * list_head,
char * name,
XClassHint * class,
Pixel * ptr )

◆ IsInList()

bool IsInList ( name_list * list_head,
TwmWindow * twin )

Definition at line 140 of file list.c.

References TwmWindow::class, LookInList(), and TwmWindow::name.

Referenced by munge_wmhints().

◆ LookInList()

◆ LookInListWin()

void * LookInListWin ( name_list * list_head,
TwmWindow * twin )

Definition at line 135 of file list.c.

References TwmWindow::class, LookInList(), and TwmWindow::name.

Referenced by AddWindow().

◆ LookInNameList()

void * LookInNameList ( name_list * list_head,
const char * name )

◆ LookPatternInList()

void * LookPatternInList ( name_list * list_head,
const char * name,
XClassHint * class )

Definition at line 145 of file list.c.

References match(), name_list::name, and name_list::next.

Referenced by LookPatternInNameList(), LookupIconNameOrClass(), and RedoIcon().

◆ LookPatternInNameList()

void * LookPatternInNameList ( name_list * list_head,
const char * name )

Definition at line 169 of file list.c.

References LookPatternInList().

Referenced by LookupIconNameOrClass(), and RedoIcon().

◆ match()

bool match ( const char * pattern,
const char * string )