lsflib/include/lsf/list.h
changeset 120 430dbec0c228
equal deleted inserted replaced
119:305d2ca32936 120:430dbec0c228
       
     1 /**
       
     2  * test/demos/lsflib/include/list.h
       
     3  * Copyright (C) 2008 Markus Broeker
       
     4  */
       
     5 
       
     6 #ifndef __LIST_H__
       
     7 #define __LIST_H__
       
     8 
       
     9 typedef struct node {
       
    10     char *data;
       
    11     struct node *next;
       
    12 } Node;
       
    13 
       
    14 void set_limit (long);
       
    15 Node *addnode (Node *, char *);
       
    16 Node *getnode (Node *);
       
    17 #endif