blob: c8afecdb6fca5fc713ee766e7125bd67af264f9c [file] [log] [blame]
Mark Slee07a3aab2007-03-07 05:45:10 +00001/**
2 * This Thrift file can be included by other Thrift files that want to share
3 * these definitions.
4 */
5
David Reiss9a08dc62008-02-27 01:55:17 +00006namespace cpp shared
David Reiss771f8c72008-02-27 01:55:25 +00007namespace java shared
David Reiss07ef3a92008-03-27 21:42:39 +00008namespace perl shared
Mark Slee07a3aab2007-03-07 05:45:10 +00009
10struct SharedStruct {
11 1: i32 key
12 2: string value
13}
14
15service SharedService {
16 SharedStruct getStruct(1: i32 key)
17}