Home | History | Annotate | Download | only in tools

Lines Matching defs:attrib

111 	struct attrib_def	*attrib;	/* Description of the attribute */
355 if (context->attrib && context->attrib->num == SERVICE_ATTR) {
441 if (context && context->attrib && context->attrib->members &&
442 context->member_index < context->attrib->member_max) {
443 member_name = context->attrib->members[context->member_index].name;
551 context.attrib = attrDef;
755 static int set_attrib(sdp_session_t *sess, uint32_t handle, uint16_t attrib, char *value)
779 printf("Adding attrib 0x%X uuid16 0x%X to record 0x%X\n",
780 attrib, value_int, handle);
782 sdp_attr_add_new(rec, attrib, SDP_UUID16, &value_uuid.value.uuid16);
787 printf("Adding attrib 0x%X int 0x%X to record 0x%X\n",
788 attrib, value_int, handle);
790 sdp_attr_add_new(rec, attrib, SDP_UINT32, &value_int);
793 printf("Adding attrib 0x%X string \"%s\" to record 0x%X\n",
794 attrib, value, handle);
797 sdp_attr_add_new(rec, attrib, SDP_TEXT_STR8, value);
824 uint16_t attrib;
845 attrib = strtoul(argv[1], NULL, 16);
852 status = set_attrib(sess, handle, attrib, argv[2]);
862 static int set_attribseq(sdp_session_t *session, uint32_t handle, uint16_t attrib, int argc, char **argv)
921 /* Add this sequence to the attrib list */
924 sdp_attr_replace(rec, attrib, pSequenceHolder);
963 uint16_t attrib;
984 attrib = strtoul(argv[1], NULL, 16);
994 status = set_attribseq(sess, handle, attrib, argc, argv);