lsflib/include/list.h
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 30 Apr 2009 23:38:48 +0200
changeset 88 91fbc3ea240b
parent 9 c3fecc82ade6
permissions -rw-r--r--
how to use templates We read 10 numbers from stdin and print the nearest values of a query. 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