* Moved the TCPConnection class into its own file.

* Added some missing result checks, mostly for allocations.
* Fixed a wrong precendence with the ?: operator
* Some minor cleanup.
* Renamed sBufferModule to gBufferModule - the header expects it to be a global,
  so it should be named like one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19178 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-11-02 17:27:13 +00:00
parent 262fc9994c
commit c35b04de31
14 changed files with 1100 additions and 983 deletions
+2 -2
View File
@@ -9,11 +9,11 @@
#include <net_buffer.h>
extern net_buffer_module_info *sBufferModule;
extern net_buffer_module_info *gBufferModule;
class NetBufferModuleGetter {
public:
static net_buffer_module_info *Get() { return sBufferModule; }
static net_buffer_module_info *Get() { return gBufferModule; }
};
//! A class to retrieve and remove a header from a buffer