lsflib/include/list.h
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:49:13 +0200
changeset 55 2a20d0184041
parent 9 c3fecc82ade6
permissions -rw-r--r--
Console aborts with return code -1 on error committer: Markus Bröker <mbroeker@largo.homelinux.org>

/**
 * test/demos/lsflib/include/list.h
 * Copyright (C) 2008 Markus Broeker
 */

#ifndef __LIST_H__
#define __LIST_H__

typedef struct node {
    char *data;
    struct node *next;
} Node;

void set_limit (long);
Node *addnode (Node *, char *);
Node *getnode (Node *);
#endif