blob: 1ecfb0a56082c54ddb9354be17f418b6cbf6ebba [file] [log] [blame]
Mark Slee738ad312007-05-16 02:40:12 +00001#!/usr/local/bin/thrift -cpp -java -py -php -xsd -perl
Mark Slee07a3aab2007-03-07 05:45:10 +00002
3/**
4 * This Thrift file can be included by other Thrift files that want to share
5 * these definitions.
6 */
7
8cpp_namespace shared
9java_package shared
Mark Slee27ed6ec2007-08-16 01:26:31 +000010perl_package shared
Mark Slee07a3aab2007-03-07 05:45:10 +000011
12struct SharedStruct {
13 1: i32 key
14 2: string value
15}
16
17service SharedService {
18 SharedStruct getStruct(1: i32 key)
19}