summaryrefslogtreecommitdiff
path: root/gprof/search_list.h
blob: 54dfe3590f7a073abd0417df433d1210cf7e1e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef search_list_h
#define search_list_h

typedef struct search_list_elem
  {
    struct search_list_elem *next;
    char path[1];
  }
Search_List_Elem;

typedef struct
  {
    struct search_list_elem *head;
    struct search_list_elem *tail;
  }
Search_List;

extern void search_list_append PARAMS ((Search_List * list, const char *paths));

#endif /* search_list_h */