Christopher Piro | efd5eec | 2007-10-02 01:33:37 +0000 | [diff] [blame^] | 1 | %%% Copyright (c) 2007- Facebook |
| 2 | %%% Distributed under the Thrift Software License |
| 3 | %%% |
| 4 | %%% See accompanying file LICENSE or visit the Thrift site at: |
| 5 | %%% http://developers.facebook.com/thrift/ |
| 6 | |
| 7 | %% TType |
| 8 | -define(tType_STOP, 0). |
| 9 | -define(tType_VOID, 1). |
| 10 | -define(tType_BOOL, 2). |
| 11 | -define(tType_BYTE, 3). |
| 12 | -define(tType_DOUBLE, 4). |
| 13 | -define(tType_I16, 6). |
| 14 | -define(tType_I32, 8). |
| 15 | -define(tType_I64, 10). |
| 16 | -define(tType_STRING, 11). |
| 17 | -define(tType_STRUCT, 12). |
| 18 | -define(tType_MAP, 13). |
| 19 | -define(tType_SET, 14). |
| 20 | -define(tType_LIST, 15). |
| 21 | |
| 22 | % TMessageType |
| 23 | -define(tMessageType_CALL, 1). |
| 24 | -define(tMessageType_REPLY, 2). |
| 25 | -define(tMessageType_EXCEPTION, 3). |