xref: /haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2transactions.h (revision 820dca4df6c7bf955c46e8f6521b9408f50b2900)
1 /*
2  * Copyright 2007 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 
6 #ifndef _H2TRANSACTION_H_
7 #define _H2TRANSACTION_H_
8 
9 #include "h2generic.h"
10 
11 status_t submit_rx_event(bt_usb_dev* bdev);
12 status_t submit_rx_acl(bt_usb_dev* bdev);
13 status_t submit_rx_sco(bt_usb_dev* bdev);
14 
15 status_t submit_tx_command(bt_usb_dev* bdev, snet_buffer* snbuf);
16 status_t submit_tx_acl(bt_usb_dev* bdev, net_buffer* nbuf);
17 status_t submit_tx_sco(bt_usb_dev* bdev);
18 
19 #endif
20