.. | .. |
---|
202 | 202 | void nfc_llcp_sock_unlink(struct llcp_sock_list *l, struct sock *s); |
---|
203 | 203 | void nfc_llcp_socket_remote_param_init(struct nfc_llcp_sock *sock); |
---|
204 | 204 | struct nfc_llcp_local *nfc_llcp_find_local(struct nfc_dev *dev); |
---|
205 | | -struct nfc_llcp_local *nfc_llcp_local_get(struct nfc_llcp_local *local); |
---|
206 | 205 | int nfc_llcp_local_put(struct nfc_llcp_local *local); |
---|
207 | 206 | u8 nfc_llcp_get_sdp_ssap(struct nfc_llcp_local *local, |
---|
208 | 207 | struct nfc_llcp_sock *sock); |
---|
.. | .. |
---|
221 | 220 | |
---|
222 | 221 | /* TLV API */ |
---|
223 | 222 | int nfc_llcp_parse_gb_tlv(struct nfc_llcp_local *local, |
---|
224 | | - u8 *tlv_array, u16 tlv_array_len); |
---|
| 223 | + const u8 *tlv_array, u16 tlv_array_len); |
---|
225 | 224 | int nfc_llcp_parse_connection_tlv(struct nfc_llcp_sock *sock, |
---|
226 | | - u8 *tlv_array, u16 tlv_array_len); |
---|
| 225 | + const u8 *tlv_array, u16 tlv_array_len); |
---|
227 | 226 | |
---|
228 | 227 | /* Commands API */ |
---|
229 | 228 | void nfc_llcp_recv(void *data, struct sk_buff *skb, int err); |
---|
230 | | -u8 *nfc_llcp_build_tlv(u8 type, u8 *value, u8 value_length, u8 *tlv_length); |
---|
| 229 | +u8 *nfc_llcp_build_tlv(u8 type, const u8 *value, u8 value_length, u8 *tlv_length); |
---|
231 | 230 | struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdres_tlv(u8 tid, u8 sap); |
---|
232 | | -struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdreq_tlv(u8 tid, char *uri, |
---|
| 231 | +struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdreq_tlv(u8 tid, const char *uri, |
---|
233 | 232 | size_t uri_len); |
---|
234 | 233 | void nfc_llcp_free_sdp_tlv(struct nfc_llcp_sdp_tlv *sdp); |
---|
235 | 234 | void nfc_llcp_free_sdp_tlv_list(struct hlist_head *sdp_head); |
---|