summaryrefslogtreecommitdiff
path: root/service/models.ice
blob: 971e7b921e5b92e983a4a5aab2aacf3800ff2a96 (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
26
#ifndef MIRRORSEARCH_MODELS
#define MIRRORSEARCH_MODELS

module MirrorSearch {
	class SearchService {
		["slicer:db:pkey"]
		int id;
		string name;
		string baseurl;
		string listxpath;
		string urlxpath;
		int parserflags;
	};
	class SearchHit {
		["slicer:db:pkey"]
		int id;
		int serviceid;
		string url;
	};

	sequence<SearchService> SearchServices;
	sequence<SearchHit> SearchHits;
};

#endif