diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:10 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:10 +0000 |
commit | f420965b8e48aff65f0c181cb36cbd9410e88b1b (patch) | |
tree | 2765cce0a55cdbdd1a94e016469bdf8d086728c6 /list.h | |
parent | 632e8a138dd16efe41384a4335ec46530da4a04b (diff) |
merge latest (4.3.99.16) from XFree86 (vendor) branch
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_ */ |