1#include <compat/dcerpc.idl.include>
2
3[ uuid(5ab2e9b4-3d48-11d2-9ea4-80c5140aaa77),
4  version(1.0),
5  pointer_default(ptr)
6]
7
8interface echo {
9
10  /*
11   * TYPES:
12   *
13   * Input and output data types
14   * string_t is a portable C string type, that is a varying array
15   * of characters terminated by a null.
16   *
17   * the structure type 'args' demonstrates how to compose a
18   * commonly used datatype, a variable length array of strings.
19   *
20   */
21
22  typedef [ptr, string] char * string_t;
23
24  typedef struct {
25   		  [range(0,1000)] unsigned32 argc;
26		  [size_is(argc)] string_t argv[];
27	          } args;
28
29   /*
30    * FUNCTIONS:
31    *
32    * Method ReverseIt()
33    *
34    *      Reverse the order of letters in words
35    #
36    *      INPUT Arguments:
37    * 		 An array of strings
38    *      OUTPUT:
39    *            An array of strings and application error
40    *            status information.
41    *
42    */
43
44  boolean ReverseIt(
45	[in] handle_t            	h,
46	[in] args *             	in_text,
47	[out] args ** 	  	      	out_text,
48	[out, ref] error_status_t *	status
49	);
50
51}
52