lsflib/include/list.h
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:50:39 +0200
changeset 74 829976007e62
parent 9 c3fecc82ade6
permissions -rw-r--r--
getrandom macro fixed the getrandom expanded to the wrong value when dealing with expressions. 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