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