diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:02 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:02 +0000 |
commit | 324cfb1744c2c3cc253dd0f63c2252206eb72249 (patch) | |
tree | 2765cce0a55cdbdd1a94e016469bdf8d086728c6 /list.h | |
parent | 632e8a138dd16efe41384a4335ec46530da4a04b (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'list.h')
-rw-r--r-- | list.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -19,15 +19,23 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* $XFree86: xc/programs/mkfontscale/list.h,v 1.1 2002/06/05 19:46:04 dawes Exp $ */ +/* $XFree86: xc/programs/mkfontscale/list.h,v 1.3 2003/07/08 15:39:49 tsi Exp $ */ + +#ifndef _MKS_LIST_H_ +#define _MKS_LIST_H_ 1 + +char *dsprintf(char *f, ...); typedef struct _List { char *value; struct _List *next; } ListRec, *ListPtr; +int listMember(char *elt, ListPtr list); ListPtr listCons(char *car, ListPtr cdr); +ListPtr listAdjoin(char *car, ListPtr cdr); ListPtr listConsF(ListPtr cdr, char *f, ...); +ListPtr listAdjoinF(ListPtr cdr, char *f, ...); int listLength(ListPtr list); ListPtr appendList(ListPtr first, ListPtr second); ListPtr makeList(char **a, int n, ListPtr old, int begin); @@ -35,3 +43,4 @@ ListPtr reverseList(ListPtr old); void destroyList(ListPtr old); void deepDestroyList(ListPtr old); +#endif /* _MKS_LIST_H_ */ |