blob: ff4754000cf88ce2c9bb7f0b01660e348715a75b [file] [log] [blame]
Andrei Emeltchenko9740e492012-05-29 13:59:02 +03001/*
2 Copyright (c) 2010,2011 Code Aurora Forum. All rights reserved.
3 Copyright (c) 2011,2012 Intel Corp.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License version 2 and
7 only version 2 as published by the Free Software Foundation.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13*/
14
15#ifndef __A2MP_H
16#define __A2MP_H
17
18struct amp_mgr {
19 struct l2cap_conn *l2cap_conn;
20 struct l2cap_chan *a2mp_chan;
21 struct kref kref;
22 __u8 ident;
23 __u8 handle;
24 unsigned long flags;
25};
26
27void amp_mgr_get(struct amp_mgr *mgr);
28int amp_mgr_put(struct amp_mgr *mgr);
29
30#endif /* __A2MP_H */