summaryrefslogtreecommitdiff
path: root/service/api.ice
blob: 994fa28c29d38ddba6d888e968d8fb1561f1215b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef MIRRORSEARCH_API
#define MIRRORSEARCH_API

#include <models.ice>

module MirrorSearch {
	["cpp:ice_print"]
	exception XmlError {
		string msg;
	};

	interface Search {
		idempotent SearchServices getServices();
		idempotent SearchHits getMatches(string filename) throws XmlError;
		idempotent optional(0) string feelingLucky(string filename) throws XmlError;
	};
};

#endif