file as.info-5 was initially added on branch binutils-2_10-branch.
[binutils.git] / gprof / search_list.h
blob6f5acae934f1325d3cd22482e3de0b14a60e56dc
1 #ifndef search_list_h
2 #define search_list_h
4 /* Non-Posix systems use semi-colon as directory separator in lists,
5 since colon is part of drive letter spec. */
6 #if defined (__MSDOS__) || defined (_WIN32)
7 #define PATH_SEP_CHAR ';'
8 #else
9 #define PATH_SEP_CHAR ':'
10 #endif
12 typedef struct search_list_elem
14 struct search_list_elem *next;
15 char path[1];
17 Search_List_Elem;
19 typedef struct
21 struct search_list_elem *head;
22 struct search_list_elem *tail;
24 Search_List;
26 extern void search_list_append PARAMS ((Search_List * list, const char *paths));
28 #endif /* search_list_h */