lsflib/include/lsf/list.h
author Markus Bröker <mbroeker@largo.dyndns.tv>
Fri, 19 Nov 2010 16:43:20 +0100
changeset 161 36f763c8ab16
parent 120 430dbec0c228
permissions -rw-r--r--
spell checking: 'cannot set the limit' sounds better... committer: Markus Bröker <mbroeker@largo.homelinux.org>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
120
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     1
/**
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     2
 * test/demos/lsflib/include/list.h
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     3
 * Copyright (C) 2008 Markus Broeker
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     4
 */
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     5
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     6
#ifndef __LIST_H__
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     7
#define __LIST_H__
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     8
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     9
typedef struct node {
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    10
    char *data;
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    11
    struct node *next;
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    12
} Node;
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    13
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    14
void set_limit (long);
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    15
Node *addnode (Node *, char *);
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    16
Node *getnode (Node *);
430dbec0c228 step 1) move all headers to include/lsf
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    17
#endif