linux/drivers/connector/cn_queue.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *	cn_queue.c
 *
 * 2004+ Copyright (c) Evgeniy Polyakov <[email protected]>
 * All rights reserved.
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/list.h>
#include <linux/workqueue.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/skbuff.h>
#include <linux/suspend.h>
#include <linux/connector.h>
#include <linux/delay.h>

static struct cn_callback_entry *
cn_queue_alloc_callback_entry(struct cn_queue_dev *dev, const char *name,
			      const struct cb_id *id,
			      void (*callback)(struct cn_msg *,
					       struct netlink_skb_parms *))
{}

void cn_queue_release_callback(struct cn_callback_entry *cbq)
{}

int cn_cb_equal(const struct cb_id *i1, const struct cb_id *i2)
{}

int cn_queue_add_callback(struct cn_queue_dev *dev, const char *name,
			  const struct cb_id *id,
			  void (*callback)(struct cn_msg *,
					   struct netlink_skb_parms *))
{}

void cn_queue_del_callback(struct cn_queue_dev *dev, const struct cb_id *id)
{}

struct cn_queue_dev *cn_queue_alloc_dev(const char *name, struct sock *nls)
{}

void cn_queue_free_dev(struct cn_queue_dev *dev)
{}