summaryrefslogtreecommitdiff
path: root/tools/aidl/search_path.h
blob: de10d9b8445bdf746a64b244f5424b38da32960e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef AIDL_SEARCH_PATH_H_
#define AIDL_SEARCH_PATH_H_

#include <stdio.h>

#if __cplusplus
#include <vector>
#include <string>

using std::string;
using std::vector;

extern "C" {
#endif

// returns a FILE* and the char* for the file that it found
// given is the class name we're looking for
char* find_import_file(const char* given);

#if __cplusplus
}; // extern "C"
void set_import_paths(const vector<string>& importPaths);
#endif

#endif // AIDL_SEARCH_PATH_H_