Home | History | Annotate | Download | only in server
      1 /* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
      2  * Use of this source code is governed by a BSD-style license that can be
      3  * found in the LICENSE file.
      4  */
      5 
      6 #ifndef CRAS_HFP_IODEV_H_
      7 #define CRAS_HFP_IODEV_H_
      8 
      9 #include "cras_bt_device.h"
     10 #include "cras_hfp_info.h"
     11 #include "cras_types.h"
     12 
     13 struct hfp_slc_handle;
     14 
     15 /*
     16  * Creates an hfp iodev.
     17  */
     18 struct cras_iodev *hfp_iodev_create(
     19 		enum CRAS_STREAM_DIRECTION dir,
     20 		struct cras_bt_device *device,
     21 		struct hfp_slc_handle *slc,
     22 		enum cras_bt_device_profile profile,
     23 		struct hfp_info *info);
     24 
     25 void hfp_iodev_destroy(struct cras_iodev *iodev);
     26 
     27 #endif /* CRAS_HFP_IODEV_H_ */
     28