summaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:58 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:58 +0000
commit4b339f0a4311b4db171584bc6671292a9052665a (patch)
treebd48cdf361c0881f45d09ce46c478ad8674e87c1 /src/list.h
parentcfa9fa24253b5ef8045172852509be413d7b00ca (diff)
Diffstat (limited to 'src/list.h')
-rw-r--r--src/list.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/list.h b/src/list.h
index 8b4cce3..123397c 100644
--- a/src/list.h
+++ b/src/list.h
@@ -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_ */