summaryrefslogtreecommitdiff
path: root/service/api.ice
diff options
context:
space:
mode:
Diffstat (limited to 'service/api.ice')
-rw-r--r--service/api.ice9
1 files changed, 7 insertions, 2 deletions
diff --git a/service/api.ice b/service/api.ice
index 994fa28..a8c50e9 100644
--- a/service/api.ice
+++ b/service/api.ice
@@ -9,10 +9,15 @@ module MirrorSearch {
string msg;
};
+ ["cpp:ice_print"]
+ exception CurlError {
+ string msg;
+ };
+
interface Search {
idempotent SearchServices getServices();
- idempotent SearchHits getMatches(string filename) throws XmlError;
- idempotent optional(0) string feelingLucky(string filename) throws XmlError;
+ idempotent SearchHits getMatches(string filename) throws XmlError, CurlError;
+ idempotent optional(0) string feelingLucky(string filename) throws XmlError, CurlError;
};
};