Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / sdk / tools / log2lines / list.h
1 #pragma once
2
3 typedef struct entry_struct
4 {
5 char *buf;
6 char *name;
7 char *path;
8 size_t ImageBase;
9 size_t RelBase;
10 size_t Size;
11 struct entry_struct *pnext;
12 } LIST_MEMBER, *PLIST_MEMBER;
13
14 typedef struct list_struct
15 {
16 PLIST_MEMBER phead;
17 PLIST_MEMBER ptail;
18 } LIST, *PLIST;
19
20 PLIST_MEMBER entry_lookup(PLIST list, char *name);
21 PLIST_MEMBER entry_delete(PLIST_MEMBER pentry);
22 PLIST_MEMBER entry_insert(PLIST list, PLIST_MEMBER pentry);
23 PLIST_MEMBER cache_entry_create(char *Line);
24 PLIST_MEMBER sources_entry_create(PLIST list, char *path, char *prefix);
25 void list_clear(PLIST list);
26
27 /* EOF */