r1497@opsdev009 (orig r78879): mcslee | 2008-01-21 20:04:30 -0800
[amiethrift.git] / tutorial / shared.thrift
blob1ecfb0a56082c54ddb9354be17f418b6cbf6ebba
1 #!/usr/local/bin/thrift -cpp -java -py -php -xsd -perl
3 /**
4  * This Thrift file can be included by other Thrift files that want to share
5  * these definitions.
6  */
8 cpp_namespace shared
9 java_package shared
10 perl_package shared
12 struct SharedStruct {
13   1: i32 key
14   2: string value
17 service SharedService {
18   SharedStruct getStruct(1: i32 key)