summaryrefslogtreecommitdiff
path: root/service/api.ice
blob: 64edfe778ee7b8eb9d3d9b0910674b8451267865 (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) throws XmlError;
		idempotent optional(0) string feelingLucky(string filename) throws XmlError;
	};
};

#endif