lsflib/include/lsf/list.h
author Markus Bröker<broeker.markus@googlemail.com>
Sun, 10 Feb 2019 13:17:01 +0100
changeset 173 374a86886bc5
parent 120 430dbec0c228
permissions -rw-r--r--
LAST-DIGIT-BUG: INCREMENT before LF

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