lsflib/include/list.h
author Markus Bröker <mbroeker@largo.dyndns.tv>
Tue, 09 Jun 2009 12:42:30 +0200
changeset 98 0e8eddac99cb
parent 9 c3fecc82ade6
permissions -rw-r--r--
Install Target added The simple module can be autoinstalled into the proper section 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