add_attr() function
* Function add_attr * Description This function allocates space for an attribute from the DB * and copies the data into it. * Returns pointer to next byte in data stream
![]()
static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec,![]()
static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec,![]()
p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0);![]()
p = add_attr (p, p_db, p_rec, ATTR_ID_PROTOCOL_DESC_LIST, p_attr, (UINT8)(nest_level + 1));![]()
p = add_attr (p, p_db, p_rec, 0, p_attr, (UINT8)(nest_level + 1));
add_attr() is called by 2 functions and calls 5 functions:
![]()
add_attr()
add_attr() reads 14 variables and writes 10 variables:
![]()
add_attr()