diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-04 00:02:31 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-07 22:43:31 -0500 |
commit | 6898325923f9571fbede3372dc490faa43b3258a (patch) | |
tree | bdfaadcad5862da390747be596d7a9581c414e94 /include/net/bluetooth/l2cap.h | |
parent | 4e34c50bfe5ba87da1622cc7c6ed10712da255ad (diff) |
Bluetooth: move l2cap_sock_recvmsg() to l2cap_sock.c
It causes the move of the declaration of 3 functions to l2cap.h:
l2cap_get_ident(), l2cap_send_cmd(), l2cap_build_conf_req()
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index b5ebf878ca2..336b2af758b 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -431,6 +431,10 @@ extern struct bt_sock_list l2cap_sk_list; | |||
431 | int l2cap_init_sockets(void); | 431 | int l2cap_init_sockets(void); |
432 | void l2cap_cleanup_sockets(void); | 432 | void l2cap_cleanup_sockets(void); |
433 | 433 | ||
434 | u8 l2cap_get_ident(struct l2cap_conn *conn); | ||
435 | void l2cap_send_cmd(struct l2cap_conn *conn, u8 ident, u8 code, u16 len, void *data); | ||
436 | int l2cap_build_conf_req(struct sock *sk, void *data); | ||
437 | |||
434 | void l2cap_sock_set_timer(struct sock *sk, long timeout); | 438 | void l2cap_sock_set_timer(struct sock *sk, long timeout); |
435 | void __l2cap_sock_close(struct sock *sk, int reason); | 439 | void __l2cap_sock_close(struct sock *sk, int reason); |
436 | void l2cap_sock_kill(struct sock *sk); | 440 | void l2cap_sock_kill(struct sock *sk); |
@@ -440,7 +444,6 @@ struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, | |||
440 | int l2cap_do_connect(struct sock *sk); | 444 | int l2cap_do_connect(struct sock *sk); |
441 | 445 | ||
442 | int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len); | 446 | int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len); |
443 | int l2cap_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags); | ||
444 | int l2cap_sock_shutdown(struct socket *sock, int how); | 447 | int l2cap_sock_shutdown(struct socket *sock, int how); |
445 | 448 | ||
446 | 449 | ||