RetroArch
Classes | Macros
bd_addr.h File Reference
#include <gctypes.h>
Include dependency graph for bd_addr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bd_addr
 

Macros

#define BD_ADDR_LEN   6
 
#define BD_ADDR_ANY   (&(struct bd_addr){{0,0,0,0,0,0}})
 
#define BD_ADDR_LOCAL   (&(struct bd_addr){{0,0,0,0xff,0xff,0xff}})
 
#define BD_ADDR(bdaddr, a, b, c, d, e, f)
 
#define bd_addr_cmp(addr1, addr2)
 
#define bd_addr_set(addr1, addr2)
 

Macro Definition Documentation

◆ BD_ADDR

#define BD_ADDR (   bdaddr,
  a,
  b,
  c,
  d,
  e,
  f 
)
Value:
do{ \
(bdaddr)->addr[0] = a; \
(bdaddr)->addr[1] = b; \
(bdaddr)->addr[2] = c; \
(bdaddr)->addr[3] = d; \
(bdaddr)->addr[4] = e; \
(bdaddr)->addr[5] = f; }while(0)
GLfloat f
Definition: glext.h:8207
const GLubyte * c
Definition: glext.h:9812
GLboolean GLboolean GLboolean b
Definition: glext.h:6844
GLenum const GLvoid * addr
Definition: glext.h:10528
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844

◆ BD_ADDR_ANY

#define BD_ADDR_ANY   (&(struct bd_addr){{0,0,0,0,0,0}})

◆ bd_addr_cmp

#define bd_addr_cmp (   addr1,
  addr2 
)
Value:
(((addr1)->addr[0] == (addr2)->addr[0]) && \
((addr1)->addr[1] == (addr2)->addr[1]) && \
((addr1)->addr[2] == (addr2)->addr[2]) && \
((addr1)->addr[3] == (addr2)->addr[3]) && \
((addr1)->addr[4] == (addr2)->addr[4]) && \
((addr1)->addr[5] == (addr2)->addr[5]))
GLenum const GLvoid * addr
Definition: glext.h:10528

◆ BD_ADDR_LEN

#define BD_ADDR_LEN   6

◆ BD_ADDR_LOCAL

#define BD_ADDR_LOCAL   (&(struct bd_addr){{0,0,0,0xff,0xff,0xff}})

◆ bd_addr_set

#define bd_addr_set (   addr1,
  addr2 
)
Value:
do { \
(addr1)->addr[0] = (addr2)->addr[0]; \
(addr1)->addr[1] = (addr2)->addr[1]; \
(addr1)->addr[2] = (addr2)->addr[2]; \
(addr1)->addr[3] = (addr2)->addr[3]; \
(addr1)->addr[4] = (addr2)->addr[4]; \
(addr1)->addr[5] = (addr2)->addr[5]; }while(0)
GLenum const GLvoid * addr
Definition: glext.h:10528