ie: export IE allocation functions
Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
f6ca647b59
commit
1583ff8d96
|
@ -46,6 +46,9 @@ struct dect_ie_common {
|
|||
|
||||
#define dect_ie_container(res, ie) container_of(ie, typeof(*res), common)
|
||||
|
||||
extern struct dect_ie_common *dect_ie_alloc(const struct dect_handle *dh, size_t size);
|
||||
extern void dect_ie_destroy(const struct dect_handle *dh, struct dect_ie_common *ie);
|
||||
|
||||
static inline struct dect_ie_common *__dect_ie_init(struct dect_ie_common *ie)
|
||||
{
|
||||
ie->refcnt = 1;
|
||||
|
|
|
@ -400,10 +400,6 @@ struct dect_msg_common {
|
|||
struct dect_ie_common *ie[0];
|
||||
};
|
||||
|
||||
extern struct dect_ie_common *dect_ie_alloc(const struct dect_handle *dh,
|
||||
unsigned int size);
|
||||
extern void dect_ie_destroy(const struct dect_handle *dh, struct dect_ie_common *ie);
|
||||
|
||||
extern void *dect_ie_collection_alloc(const struct dect_handle *dh, unsigned int size);
|
||||
|
||||
struct dect_msg_buf;
|
||||
|
|
Reference in New Issue