#ifndef _LISTA_H_ #define _LISTA_H_ /* Typdeklarationer */ struct Node { void *data; struct Node *next; }; typedef struct Node Node; typedef struct { Node *head; } List; /* prototyper */ List* createList(void); void* search(List *l, void *key, int compare(void *d1, void *d2)); void insert(List *l, Node *p, void *d); void delete(List *l, Node *p2); void skrivLista(List *l, void skriv(void *d)); #endif