|
CTWM
|
#include "ctwm.h"#include <stdio.h>#include <stdlib.h>#include "ctwm_shutdown.h"#include "screen.h"#include "list.h"#include "util.h"#include "parse.h"Go to the source code of this file.
Macros | |
| #define | ABORT 2 |
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) |
| int | regex_match (const char *p, const char *t) |
| int | regex_match_after_star (const char *p, const char *t) |
| int | match (const char *p, const char *t) |
| #define ABORT 2 |
Definition at line 304 of file list.c.
Referenced by regex_match(), and regex_match_after_star().
| void AddToList | ( | name_list ** | list_head, |
| const char * | name, | ||
| void * | ptr ) |
Definition at line 63 of file list.c.
References DoShutdown(), name_list::name, name_list::next, name_list::ptr, and ptr.
Referenced by AddToClientsList(), CreateIconWindow(), do_squeeze_entry(), and GetImage().
| 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().
| bool GetColorFromList | ( | name_list * | list_head, |
| char * | name, | ||
| XClassHint * | class, | ||
| Pixel * | ptr ) |
Definition at line 194 of file list.c.
References GetColor(), match(), name_list::name, name_list::next, name_list::ptr, ptr, and Scr.
Referenced by AddIconManager(), apply_window_name(), CreateIconManagers(), CreateIconWindow(), and WMapAddWindowToWorkspace().
Definition at line 140 of file list.c.
References TwmWindow::class, LookInList(), and TwmWindow::name.
Referenced by munge_wmhints().
| void * LookInList | ( | name_list * | list_head, |
| const char * | name, | ||
| XClassHint * | class ) |
Definition at line 101 of file list.c.
References match(), name_list::name, name_list::next, and name_list::ptr.
Referenced by AddIconManager(), ApplyPreferences(), AutoPopupMaybe(), CreateIconManagers(), CreateIconWindow(), DeIconify(), findWindowBox(), HandleExpose(), HandleMapRequest(), IsInList(), LookInListWin(), LookInNameList(), LookupIconNameOrClass(), PaintAllDecoration(), PlaceIcon(), PlaceWindowInRegion(), PopUpMenu(), RedoIconName(), SetupOccupation(), WmgrRedoOccupation(), and WriteWinConfigEntry().
Definition at line 135 of file list.c.
References TwmWindow::class, LookInList(), and TwmWindow::name.
Referenced by AddWindow().
| void * LookInNameList | ( | name_list * | list_head, |
| const char * | name ) |
Definition at line 130 of file list.c.
References LookInList().
Referenced by CreateIconWindow(), GetImage(), LookupIconNameOrClass(), mwm_has_border(), mwm_sets_title(), RedoIcon(), and RedoIconName().
| 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().
| void * LookPatternInNameList | ( | name_list * | list_head, |
| const char * | name ) |
Definition at line 169 of file list.c.
References LookPatternInList().
Referenced by LookupIconNameOrClass(), and RedoIcon().
| int match | ( | const char * | p, |
| const char * | t ) |
Definition at line 433 of file list.c.
References regex_match().
Referenced by f_warpto_impl(), GetColorFromList(), LookInList(), LookPatternInList(), and WMgrAddToCurrentWorkSpaceAndWarp().
| int regex_match | ( | const char * | p, |
| const char * | t ) |
Definition at line 306 of file list.c.
References ABORT, and regex_match_after_star().
Referenced by match(), and regex_match_after_star().
| int regex_match_after_star | ( | const char * | p, |
| const char * | t ) |
Definition at line 399 of file list.c.
References ABORT, and regex_match().
Referenced by regex_match().