241b048033
at the comment in r5_compatibility.h. * Intentionally broke source compatibility and removed all that outdated Nettle stuff. * Also, I took the liberty of making m_init private and rename it to fInit - again, this will only affect source compatibility. * Rewrote NetEndpoint.h * Fixed quite a few small bugs around the code that I touched, for example in NetAddress, SetTo() never set fInit, and therefore could be wrong. * Some cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18680 a95241bf-73f2-0310-859d-f6bbb57e9c96
16 lines
525 B
C
16 lines
525 B
C
/*
|
|
* Copyright 2006, Haiku, Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef NET_R5_COMPATIBILITY_H
|
|
#define NET_R5_COMPATIBILITY_H
|
|
|
|
// TODO: judging from R5 headers, this is all wrong, though (this has been taken from
|
|
// our old socket header) - we'll need to test this later on!
|
|
// Also, more problematic is that IPPROTO_* constants also don't seem to be compatible, too
|
|
#define R5_SOCK_DGRAM 10
|
|
#define R5_SOCK_STREAM 11
|
|
#define R5_SOCK_RAW 12
|
|
|
|
#endif // NET_R5_COMPATIBILITY_H
|