diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
commit | 22e912f7338ee41bd0f84f4330f4e8bc0c7501d9 (patch) | |
tree | bd48cdf361c0881f45d09ce46c478ad8674e87c1 /src/list.h | |
parent | cfa9fa24253b5ef8045172852509be413d7b00ca (diff) |
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'src/list.h')
-rw-r--r-- | src/list.h | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -48,6 +48,7 @@ in this Software without prior written authorization from The Open Group. /** TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE **/ /** OR PERFORMANCE OF THIS SOFTWARE. **/ /*****************************************************************************/ +/* $XFree86: xc/programs/twm/list.h,v 1.5 2001/12/14 20:01:08 dawes Exp $ */ /********************************************************************** @@ -63,13 +64,21 @@ in this Software without prior written authorization from The Open Group. #ifndef _LIST_ #define _LIST_ +#include <X11/Xlib.h> +#include <X11/Xutil.h> +#include <X11/Intrinsic.h> + typedef struct name_list_struct name_list; -extern void AddToList(); -extern char* LookInList(); -extern char* LookInNameList(); -extern int GetColorFromList(); -extern void FreeList(); +extern void AddToList ( name_list **list_head, char *name, char *ptr ); +extern void FreeList ( name_list **list ); + +extern int GetColorFromList ( name_list *list_head, char *name, + XClassHint *class, Pixel *ptr ); +extern char * LookInList ( name_list *list_head, char *name, + XClassHint *class ); +extern char * LookInNameList ( name_list *list_head, char *name ); + #endif /* _LIST_ */ |