2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
[deliverable/binutils-gdb.git] / gprof / search_list.h
CommitLineData
252b5132
RH
1#ifndef search_list_h
2#define search_list_h
3
5af11cab
AM
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
11
252b5132
RH
12typedef struct search_list_elem
13 {
14 struct search_list_elem *next;
15 char path[1];
16 }
17Search_List_Elem;
18
19typedef struct
20 {
21 struct search_list_elem *head;
22 struct search_list_elem *tail;
23 }
24Search_List;
25
26extern void search_list_append PARAMS ((Search_List * list, const char *paths));
27
28#endif /* search_list_h */
This page took 0.061665 seconds and 4 git commands to generate.