File: list.h

package info (click to toggle)
imapfilter 1%3A2.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 476 kB
  • sloc: ansic: 4,425; makefile: 83
file content (16 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef LIST_H
#define LIST_H


typedef struct list {
	void *data;
	struct list *next, *prev;
} list;


/*	list.h		*/
list *list_append(list *lst, void *data);
list *list_remove(list *lst, void *data);


#endif				/* LIST_H */