亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sdp_lib.h

?? Bluezan implementation of the Bluetooth&#8482 wireless standards specifications for Linux. The code
?? H
?? 第 1 頁 / 共 2 頁
字號:
 *      service record handles (uint16_t) */int sdp_service_search_req(sdp_session_t *session, const sdp_list_t *search_list, uint16_t max_rec_num, sdp_list_t **rsp_list);/* *  a service attribute request.  *  *  INPUT : *  *    uint32_t handle *      The handle of the service for which the attribute(s) are *      requested *  *    sdp_attrreq_type_t reqtype *      Attribute identifiers are 16 bit unsigned integers specified *      in one of 2 ways described below : *      SDP_ATTR_REQ_INDIVIDUAL - 16bit individual identifiers *         They are the actual attribute identifiers in ascending order *  *      SDP_ATTR_REQ_RANGE - 32bit identifier range *         The high-order 16bits is the start of range *         the low-order 16bits are the end of range *         0x0000 to 0xFFFF gets all attributes *  *    sdp_list_t *attrid_list *      Singly linked list containing attribute identifiers desired. *      Every element is either a uint16_t(attrSpec = SDP_ATTR_REQ_INDIVIDUAL)   *      or a uint32_t(attrSpec=SDP_ATTR_REQ_RANGE) *  *  OUTPUT : *    int return value *      0  *        The request completed successfully. This does not *        mean the requested services were found *      -1 *        The request completed unsuccessfully due to a timeout */typedef enum {	/*	 *  Attributes are specified as individual elements	 */	SDP_ATTR_REQ_INDIVIDUAL = 1,	/*	 *  Attributes are specified as a range	 */	SDP_ATTR_REQ_RANGE} sdp_attrreq_type_t;sdp_record_t *sdp_service_attr_req(sdp_session_t *session, uint32_t handle, sdp_attrreq_type_t reqtype, const sdp_list_t *attrid_list);/* *  This is a service search request combined with the service *  attribute request. First a service class match is done and *  for matching service, requested attributes are extracted *  *  INPUT : *  *    sdp_list_t *search_list *      Singly linked list containing elements of the search *      pattern. Each entry in the list is a UUID(DataTypeSDP_UUID16) *      of the service to be searched *  *    AttributeSpecification attrSpec *      Attribute identifiers are 16 bit unsigned integers specified *      in one of 2 ways described below : *      SDP_ATTR_REQ_INDIVIDUAL - 16bit individual identifiers *         They are the actual attribute identifiers in ascending order *  *      SDP_ATTR_REQ_RANGE - 32bit identifier range *         The high-order 16bits is the start of range *         the low-order 16bits are the end of range *         0x0000 to 0xFFFF gets all attributes *  *    sdp_list_t *attrid_list *      Singly linked list containing attribute identifiers desired. *      Every element is either a uint16_t(attrSpec = SDP_ATTR_REQ_INDIVIDUAL)   *      or a uint32_t(attrSpec=SDP_ATTR_REQ_RANGE) *  *  OUTPUT : *    int return value *      0  *        The request completed successfully. This does not *        mean the requested services were found *      -1 *        The request completed unsuccessfully due to a timeout *  *    sdp_list_t *rsp_list *      This variable is set on a successful return to point to *      service(s) found. Each element of this list is of type *      sdp_record_t *. */int sdp_service_search_attr_req(sdp_session_t *session, const sdp_list_t *search_list, sdp_attrreq_type_t reqtype, const sdp_list_t *attrid_list, sdp_list_t **rsp_list);/* * Allocate/free a service record and its attributes */sdp_record_t *sdp_record_alloc(void);void sdp_record_free(sdp_record_t *rec);/* * Register a service record.  *  * Note: It is the responsbility of the Service Provider to create the  * record first and set its attributes using setXXX() methods. *  * The service provider must then call sdp_record_register() to make  * the service record visible to SDP clients.  This function returns 0 * on success or -1 on failure (and sets errno). */int sdp_record_register(sdp_session_t *sess, sdp_record_t *rec, uint8_t flags);/* * Unregister a service record. */int sdp_record_unregister(sdp_session_t *sess, sdp_record_t *rec);/* * Update an existing service record.  (Calling this function * before a previous call to sdp_record_register() will result * in an error.) */int sdp_record_update(sdp_session_t *sess, const sdp_record_t *rec);void sdp_record_print(const sdp_record_t *rec);/* * UUID functions */uuid_t *sdp_uuid16_create(uuid_t *uuid, uint16_t data);uuid_t *sdp_uuid32_create(uuid_t *uuid, uint32_t data);uuid_t *sdp_uuid128_create(uuid_t *uuid, const void *data);int sdp_uuid16_cmp(const void *p1, const void *p2);int sdp_uuid128_cmp(const void *p1, const void *p2);uuid_t *sdp_uuid_to_uuid128(uuid_t *uuid);void sdp_uuid16_to_uuid128(uuid_t *uuid128, uuid_t *uuid16);int sdp_uuid128_to_uuid(uuid_t *uuid);int sdp_uuid_to_proto(uuid_t *uuid);int sdp_uuid_extract(const char *buffer, uuid_t *uuid, int *scanned);void sdp_uuid_print(const uuid_t *uuid);#define MAX_LEN_UUID_STR 37#define MAX_LEN_PROTOCOL_UUID_STR 8#define MAX_LEN_SERVICECLASS_UUID_STR 28#define MAX_LEN_PROFILEDESCRIPTOR_UUID_STR 28int sdp_uuid2strn(const uuid_t *uuid, char *str, size_t n);int sdp_proto_uuid2strn(const uuid_t *uuid, char *str, size_t n);int sdp_svclass_uuid2strn(const uuid_t *uuid, char *str, size_t n);int sdp_profile_uuid2strn(const uuid_t *uuid, char *str, size_t n);/* * In all the sdp_get_XXX(handle, XXX *xxx) functions below,  * the XXX * is set to point to the value, should it exist * and 0 is returned. If the value does not exist, -1 is * returned and errno set to ENODATA. * * In all the methods below, the memory management rules are * simple. Don't free anything! The pointer returned, in the * case of constructed types, is a pointer to the contents  * of the sdp_record_t. *//* * Get the access protocols from the service record */int sdp_get_access_protos(const sdp_record_t *rec, sdp_list_t **protos);/* * Get the additional access protocols from the service record */int sdp_get_add_access_protos(const sdp_record_t *rec, sdp_list_t **pap);/* * Extract the list of browse groups to which the service belongs. * When set, seqp contains elements of GroupID (uint16_t)  */static inline int sdp_get_browse_groups(const sdp_record_t *rec, sdp_list_t **seqp){	return sdp_get_uuidseq_attr(rec, SDP_ATTR_BROWSE_GRP_LIST, seqp);}/* * Extract language attribute meta-data of the service record.  * For each language in the service record, LangSeq has a struct of type * sdp_lang_attr_t.  */int sdp_get_lang_attr(const sdp_record_t *rec, sdp_list_t **langSeq);/* * Extract the Bluetooth profile descriptor sequence from a record. * Each element in the list is of type sdp_profile_desc_t * which contains the UUID of the profile and its version number * (encoded as major and minor in the high-order 8bits * and low-order 8bits respectively of the uint16_t) */int sdp_get_profile_descs(const sdp_record_t *rec, sdp_list_t **profDesc);/* * Extract SDP server version numbers  *  * Note: that this is an attribute of the SDP server only and * contains a list of uint16_t each of which represent the * major and minor SDP version numbers supported by this server */int sdp_get_server_ver(const sdp_record_t *rec, sdp_list_t **pVnumList);int sdp_get_service_id(const sdp_record_t *rec, uuid_t *uuid);int sdp_get_group_id(const sdp_record_t *rec, uuid_t *uuid);int sdp_get_record_state(const sdp_record_t *rec, uint32_t *svcRecState);int sdp_get_service_avail(const sdp_record_t *rec, uint8_t *svcAvail);int sdp_get_service_ttl(const sdp_record_t *rec, uint32_t *svcTTLInfo);int sdp_get_database_state(const sdp_record_t *rec, uint32_t *svcDBState);static inline int sdp_get_service_name(const sdp_record_t *rec, char *str, int len){	return sdp_get_string_attr(rec, SDP_ATTR_SVCNAME_PRIMARY, str, len);}static inline int sdp_get_service_desc(const sdp_record_t *rec, char *str, int len){	return sdp_get_string_attr(rec, SDP_ATTR_SVCDESC_PRIMARY, str, len);}static inline int sdp_get_provider_name(const sdp_record_t *rec, char *str, int len){	return sdp_get_string_attr(rec, SDP_ATTR_PROVNAME_PRIMARY, str, len);}static inline int sdp_get_doc_url(const sdp_record_t *rec, char *str, int len){	return sdp_get_string_attr(rec, SDP_ATTR_DOC_URL, str, len);}static inline int sdp_get_clnt_exec_url(const sdp_record_t *rec, char *str, int len){	return sdp_get_string_attr(rec, SDP_ATTR_CLNT_EXEC_URL, str, len);}static inline int sdp_get_icon_url(const sdp_record_t *rec, char *str, int len){	return sdp_get_string_attr(rec, SDP_ATTR_ICON_URL, str, len);}/* * Generate unique transaction identifiers */static inline uint16_t sdp_gen_tid(sdp_session_t *session){	return session->tid++;}sdp_record_t *sdp_extract_pdu(const char *pdata, int *scanned);sdp_data_t *sdp_extract_string(char *, int *);void sdp_data_print(sdp_data_t *data);void sdp_print_service_attr(sdp_list_t *alist);int sdp_attrid_comp_func(const void *key1, const void *key2);void sdp_set_seq_len(char *ptr, int length);void sdp_set_attrid(sdp_buf_t *pdu, uint16_t id);void sdp_append_to_pdu(sdp_buf_t *dst, sdp_data_t *d);void sdp_append_to_buf(sdp_buf_t *dst, char *data, int len);int sdp_gen_pdu(sdp_buf_t *pdu, sdp_data_t *data);int sdp_gen_record_pdu(const sdp_record_t *rec, sdp_buf_t *pdu);int sdp_extract_seqtype(const char *buf, uint8_t *dtdp, int *seqlen);sdp_data_t *sdp_extract_attr(const char *pdata, int *extractedLength, sdp_record_t *rec);void sdp_pattern_add_uuid(sdp_record_t *rec, uuid_t *uuid);void sdp_pattern_add_uuidseq(sdp_record_t *rec, sdp_list_t *seq);int sdp_send_req_w4_rsp(sdp_session_t *session, char *req, char *rsp, int reqsize, int *rspsize);typedef struct {	uint8_t length;	unsigned char data[16];} __attribute__ ((packed)) sdp_cstate_t;#ifdef __cplusplus}#endif#endif /* __SDP_LIB_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美午夜精品久久久久久超碰| 国产精品久久国产精麻豆99网站| 欧美日韩精品欧美日韩精品一| 91麻豆123| 一本到三区不卡视频| 色综合天天综合网天天看片| 色香蕉久久蜜桃| 欧美亚洲自拍偷拍| 欧美日韩国产综合视频在线观看| 欧美日本韩国一区二区三区视频| 欧美无砖专区一中文字| 欧美日韩电影在线播放| 欧美一区二区在线播放| 欧美大片拔萝卜| 久久久久久久久一| 国产精品超碰97尤物18| 亚洲一区二区视频在线观看| 亚洲成人av福利| 欧美无人高清视频在线观看| 欧美三级在线播放| 日韩限制级电影在线观看| 久久中文字幕电影| 国产精品欧美精品| 亚洲大片精品永久免费| 久久不见久久见中文字幕免费| 国产高清在线观看免费不卡| 99久久久久免费精品国产| 欧美日韩综合色| 精品国产乱码久久久久久1区2区| 国产日韩精品视频一区| 最新日韩av在线| 午夜在线成人av| 国产一区二区日韩精品| 91亚洲精华国产精华精华液| 欧美日韩国产片| 久久久久久久久久久久电影 | 欧美在线观看视频一区二区| 欧美男男青年gay1069videost | 亚洲在线一区二区三区| 美女视频黄免费的久久| 国产91精品在线观看| 欧美影院一区二区三区| 久久这里只有精品6| 亚洲一区二区三区四区在线免费观看| 蜜臀av国产精品久久久久| 99热在这里有精品免费| 欧美一区二区三区四区五区 | 亚洲国产精品二十页| 一区二区三区高清不卡| 国产一区二区免费看| 欧美日韩久久久| 欧美经典一区二区| 日韩高清一区二区| voyeur盗摄精品| 日韩欧美在线影院| 亚洲乱码日产精品bd| 国内成人自拍视频| 欧美中文字幕一二三区视频| 国产欧美日韩另类一区| 日本不卡一区二区| 在线观看视频一区二区| 国产精品久线观看视频| 黑人巨大精品欧美黑白配亚洲| 欧美三电影在线| 亚洲视频在线一区二区| 国产精品夜夜爽| 日韩欧美卡一卡二| 午夜视频一区在线观看| 91在线小视频| 国产视频一区不卡| 美女视频黄a大片欧美| 在线看不卡av| 亚洲丝袜精品丝袜在线| 成人性生交大合| 久久久久久久久久电影| 免费成人在线网站| 成人欧美一区二区三区| 成人午夜碰碰视频| 精品国产成人在线影院| 三级久久三级久久久| 欧美视频在线一区| 亚洲三级在线观看| 99久久99久久精品免费观看| 久久九九全国免费| 国产综合一区二区| 日韩精品资源二区在线| 日韩成人免费在线| 欧美久久婷婷综合色| 亚洲狠狠爱一区二区三区| 99re热视频这里只精品| 国产精品久久久久久久久免费樱桃 | 美腿丝袜亚洲一区| 欧美一区二区性放荡片| 日韩在线观看一区二区| 欧美日韩视频在线第一区| 亚洲一区二区三区四区五区中文| 色8久久人人97超碰香蕉987| 日韩毛片在线免费观看| 99国产精品视频免费观看| 国产精品国产三级国产有无不卡 | 国产亚洲欧洲一区高清在线观看| 久久电影国产免费久久电影 | 久久99精品久久久久婷婷| 精品国产精品网麻豆系列| 精彩视频一区二区三区| 国产亚洲短视频| 成人中文字幕电影| 亚洲欧美一区二区久久| 在线视频欧美精品| 午夜电影久久久| 欧美一级视频精品观看| 精品在线播放免费| 久久精品视频在线免费观看 | 日韩免费电影网站| 精品中文字幕一区二区小辣椒| www成人在线观看| 成人黄色av网站在线| 亚洲视频香蕉人妖| 欧美午夜精品一区二区蜜桃| 视频一区在线播放| 精品成人a区在线观看| 韩国视频一区二区| 欧美国产一区二区| 色成年激情久久综合| 丝袜亚洲另类丝袜在线| 日韩三区在线观看| 国产乱一区二区| 亚洲色图在线播放| 欧美猛男男办公室激情| 国内外成人在线视频| 国产精品毛片a∨一区二区三区| 一本一道久久a久久精品| 三级一区在线视频先锋| 国产婷婷色一区二区三区在线| 成人av动漫网站| 亚洲超丰满肉感bbw| 欧美精品久久一区| 国内精品伊人久久久久影院对白| 国产精品水嫩水嫩| 欧美久久久一区| 国产精品亚洲午夜一区二区三区 | 精品国产亚洲一区二区三区在线观看| 国产精选一区二区三区| 亚洲与欧洲av电影| 26uuu色噜噜精品一区| 91丨porny丨户外露出| 免费一级欧美片在线观看| 国产拍欧美日韩视频二区| 欧美丝袜丝nylons| 风流少妇一区二区| 无码av免费一区二区三区试看| 久久九九99视频| 欧美三级一区二区| 成人黄色av电影| 久久精品国产亚洲a| 一区二区三区四区蜜桃| 久久色在线观看| 678五月天丁香亚洲综合网| 成人激情小说网站| 久久精品99久久久| 亚洲综合男人的天堂| 久久久激情视频| 6080日韩午夜伦伦午夜伦| av午夜精品一区二区三区| 精品一区二区综合| 亚洲精品一卡二卡| 欧美精品一区二区三区在线| 欧美主播一区二区三区美女| 成人av综合一区| 韩国三级电影一区二区| 视频在线在亚洲| 亚洲亚洲精品在线观看| 中文字幕日本不卡| 久久久99免费| 91精品国产一区二区三区| 色噜噜狠狠一区二区三区果冻| 国产精品一区在线观看乱码| 日韩制服丝袜先锋影音| 亚洲精品第1页| 日韩理论片在线| 亚洲国产经典视频| 久久久不卡网国产精品二区| 日韩三级伦理片妻子的秘密按摩| 欧美调教femdomvk| 色婷婷国产精品| 99久久免费国产| caoporm超碰国产精品| 成人综合在线网站| 国产一区二区三区日韩| 久久不见久久见免费视频1| 日本成人中文字幕在线视频| 调教+趴+乳夹+国产+精品| 亚洲高清一区二区三区| 亚洲成人免费在线观看| 亚洲线精品一区二区三区八戒| 一区二区三区欧美日韩| 伊人一区二区三区| 亚洲午夜激情网站| 亚洲一区二区三区视频在线播放 | av激情综合网|