blob: 9b77249dfc3b2603676ea927b6b3643a65d05e9d [file] [log] [blame]
Mark Slee07a3aab2007-03-07 05:45:10 +00001#!/usr/local/bin/thrift -cpp -java -py -php -xsd
2
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
10
11struct SharedStruct {
12 1: i32 key
13 2: string value
14}
15
16service SharedService {
17 SharedStruct getStruct(1: i32 key)
18}