* revert r38213, as it introduces initialization problems
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38263 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -24,17 +24,10 @@ typedef struct {
|
||||
uint8 b[6];
|
||||
} __attribute__((packed)) bdaddr_t;
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
extern const bdaddr_t kBdNullAddress;
|
||||
extern const bdaddr_t kBdLocalAddress;
|
||||
extern const bdaddr_t kBdBroadcastAddress;
|
||||
|
||||
}
|
||||
|
||||
#define BDADDR_NULL (&BPrivate::kBdNullAddress)
|
||||
#define BDADDR_LOCAL (&BPrivate::kBdLocalAddress)
|
||||
#define BDADDR_BROADCAST (&BPrivate::kBdBroadcastAddress)
|
||||
#define BDADDR_NULL (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}})
|
||||
#define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}})
|
||||
#define BDADDR_BROADCAST (&(bdaddr_t) {{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}})
|
||||
#define BDADDR_ANY BDADDR_BROADCAST
|
||||
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ struct bluetooth_core_data_module_info {
|
||||
status_t (*PostEvent)(bluetooth_device* ndev, void* event,
|
||||
size_t size);
|
||||
struct HciConnection* (*AddConnection)(uint16 handle, int type,
|
||||
const bdaddr_t* dst, hci_id hid);
|
||||
bdaddr_t* dst, hci_id hid);
|
||||
|
||||
// status_t (*RemoveConnection)(bdaddr_t destination, hci_id hid);
|
||||
status_t (*RemoveConnection)(uint16 handle, hci_id hid);
|
||||
|
||||
Reference in New Issue
Block a user