lsflib/include/lsf/list.h
author Markus Bröker<broeker.markus@googlemail.com>
Sat, 21 Oct 2017 13:45:05 +0200
changeset 171 c6e0af68825a
parent 120 430dbec0c228
permissions -rw-r--r--
Entrypoint and RET fixed
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