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

#include <models.ice>

module MirrorSearch {
	exception XmlError {
		string msg;
	};

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

#endif