Make processor use a service definition and handler to determine types


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666376 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/alterl/src/test_service.erl b/lib/alterl/src/test_service.erl
new file mode 100644
index 0000000..b7f00d9
--- /dev/null
+++ b/lib/alterl/src/test_service.erl
@@ -0,0 +1,10 @@
+-module(test_service).
+%
+% Test service definition
+
+-export([function_info/2]).
+
+function_info(add, params_type) ->
+    {struct, [{1, i32},
+              {2, i32}]};
+function_info(add, reply_type) -> i32.