hcidump: Change includes to use local copy of Bluetooth library

This commit is contained in:
Marcel Holtmann 2011-08-31 00:57:30 -07:00
parent e81819850c
commit dc2bd913f7
23 changed files with 14 additions and 85 deletions

View File

@ -39,19 +39,17 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netdb.h>
#include "parser.h"
#include "sdp.h"
#define SNAP_LEN HCI_MAX_FRAME_SIZE
#define DEFAULT_PORT "10839";
#include "lib/hci.h"
#include "lib/hci_lib.h"
#define SNAP_LEN HCI_MAX_FRAME_SIZE
#define DEFAULT_PORT "10839"
/* Modes */
enum {

View File

@ -31,9 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
#define GATT_PRIM_SVC_UUID 0x2800

View File

@ -31,9 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
#include "sdp.h"

View File

@ -31,9 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
static char *si2str(uint8_t si)

View File

@ -32,9 +32,6 @@
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
/* ctype entries */

View File

@ -31,7 +31,6 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <net/ethernet.h>

View File

@ -31,12 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include "parser.h"
#define BPA_U8(frm) (get_u8(frm))

View File

@ -32,11 +32,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <bluetooth/bluetooth.h>
#include "parser.h"
#define CAPI_U8(frm) (get_u8(frm))

View File

@ -31,9 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
#define TABLE_SIZE 10

View File

@ -31,9 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
#define CSR_U8(frm) (get_u8(frm))

View File

@ -33,15 +33,9 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include "parser.h"
#include "lib/hci.h"
#include "lib/hci_lib.h"
static uint16_t manufacturer = DEFAULT_COMPID;

View File

@ -31,9 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
static char *pid2str(uint16_t pid)

View File

@ -31,9 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
static char *type2str(uint8_t head)

View File

@ -32,16 +32,10 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/l2cap.h>
#include "parser.h"
#include "sdp.h"
#include "lib/hci.h"
#include "lib/l2cap.h"
typedef struct {
uint16_t handle;

View File

@ -30,11 +30,9 @@
#include <ctype.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include "parser.h"
#include "lib/hci.h"
#include "lib/hci_lib.h"
#define LMP_U8(frm) (get_u8(frm))
#define LMP_U16(frm) (btohs(htons(get_u16(frm))))

View File

@ -31,9 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
static char *opcode2str(uint8_t opcode)

View File

@ -33,9 +33,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
#include "rfcomm.h"

View File

@ -27,9 +27,10 @@
#include <time.h>
#include <sys/time.h>
#include <bluetooth/bluetooth.h>
#include <netinet/in.h>
#include "lib/bluetooth.h"
struct frame {
void *data;
uint32_t data_len;
@ -107,7 +108,7 @@ struct parser_t {
extern struct parser_t parser;
void init_parser(unsigned long flags, unsigned long filter,
void init_parser(unsigned long flags, unsigned long filter,
unsigned short defpsm, unsigned short defcompid,
int pppdump_fd, int audio_fd);

View File

@ -30,7 +30,6 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "parser.h"

View File

@ -32,12 +32,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <bluetooth/bluetooth.h>
#include "parser.h"
#include "rfcomm.h"
#include "sdp.h"

View File

@ -33,9 +33,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
#include "sdp.h"

View File

@ -31,9 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "parser.h"
/* SMP command codes */

View File

@ -30,7 +30,6 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <net/ethernet.h>
#include <netinet/in.h>