* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user