summaryrefslogtreecommitdiff
path: root/contrib/thrift_dump.cpp
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/'Roger Meier2012-04-131-5/+5
| | | | | | | | | | | | | | To ensure there are no include path collisions the C and C++ header include paths should include 'thrift' as the root leaf. This will prevent having to place /usr/include/thrift into the compilers include header search path, which might otherwise result in the compiler accidentally picking up headers that it shouldn't. e.g. #include <foo/bar.h> should be #include <thrift/foo/bar.h> Change-Id: I48f2b0f549bda0fc81e85506ac857adc800b98a1 git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325674 13f79535-47bb-0310-9956-ffa450edef68
* Flush output at the end of thrift_dumpDavid Reiss2009-04-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@762043 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-387. Add license headers to a bunch of filesDavid Reiss2009-03-301-5/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
* contrib: Update thrift_dump to use the new namespaceDavid Reiss2009-03-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760182 13f79535-47bb-0310-9956-ffa450edef68
* Memory-based transport rewrite.David Reiss2008-05-011-1/+1
| | | | | | | | | | | | | | | | | | | The old implementations of the memory-based transports (TBufferedTransport, TFramedTransport, and TMemoryBuffer) shared very little code and all worked a bit differently. This change unifies them all as subclasses of a single base (TBufferBase) which handles the fast-path operations (when requests can be satisfied by the buffer) with inline methods (that will eventually be made nonvirtual in the template branch) and calls out to pure-virutal methods to handle full/empty buffers. All of the buffer-management is now done in terms of "base and bound" pointers rather than "pos" integers. These classes were moved to TBufferTransports.{h,cpp}. The .h is included in TTransportUtils for backwards compatibility. Also added a "TShortReadTransport" to assist testing transports. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665676 13f79535-47bb-0310-9956-ffa450edef68
* Add thrift_dump.cpp to contrib.David Reiss2008-04-081-0/+77
thrift_dump is a simple program for converting data from TBinaryProtocol to TDebugProtocol. Throw it in contrib because it is pretty primitve. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665645 13f79535-47bb-0310-9956-ffa450edef68