2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2010-02-03 07:34:59 +00:00
|
|
|
|
|
|
|
typedef struct entry_struct
|
|
|
|
{
|
|
|
|
char *buf;
|
|
|
|
char *name;
|
|
|
|
char *path;
|
|
|
|
size_t ImageBase;
|
2010-03-15 17:03:37 +00:00
|
|
|
size_t RelBase;
|
|
|
|
size_t Size;
|
2010-02-03 07:34:59 +00:00
|
|
|
struct entry_struct *pnext;
|
2010-03-15 17:03:37 +00:00
|
|
|
} LIST_MEMBER, *PLIST_MEMBER;
|
2010-02-03 07:34:59 +00:00
|
|
|
|
|
|
|
typedef struct list_struct
|
|
|
|
{
|
|
|
|
PLIST_MEMBER phead;
|
|
|
|
PLIST_MEMBER ptail;
|
2010-03-15 17:03:37 +00:00
|
|
|
} LIST, *PLIST;
|
2010-02-03 07:34:59 +00:00
|
|
|
|
|
|
|
PLIST_MEMBER entry_lookup(PLIST list, char *name);
|
|
|
|
PLIST_MEMBER entry_delete(PLIST_MEMBER pentry);
|
|
|
|
PLIST_MEMBER entry_insert(PLIST list, PLIST_MEMBER pentry);
|
|
|
|
PLIST_MEMBER cache_entry_create(char *Line);
|
|
|
|
PLIST_MEMBER sources_entry_create(PLIST list, char *path, char *prefix);
|
2010-02-10 12:10:23 +00:00
|
|
|
void list_clear(PLIST list);
|
2010-02-03 07:34:59 +00:00
|
|
|
|
2010-02-10 12:10:23 +00:00
|
|
|
/* EOF */
|