lsflib/include/lsf/list.h
author Markus Brökers <mbroeker@largo.homelinux.org>
Tue, 17 Aug 2010 18:57:57 +0200
changeset 139 cb1d3f4cf18e
parent 120 430dbec0c228
permissions -rw-r--r--
execve returns a value on error and this catches it

/**
 * 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