linux/net/x25/x25_proc.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *	X.25 Packet Layer release 002
 *
 *	This is ALPHA test software. This code may break your machine,
 *	randomly fail to work with new releases, misbehave and/or generally
 *	screw up. It might even work.
 *
 *	This code REQUIRES 2.4 with seq_file support
 *
 *	History
 *	2002/10/06	Arnaldo Carvalho de Melo  seq_file support
 */

#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/export.h>
#include <net/net_namespace.h>
#include <net/sock.h>
#include <net/x25.h>

#ifdef CONFIG_PROC_FS

static void *x25_seq_route_start(struct seq_file *seq, loff_t *pos)
	__acquires(x25_route_list_lock)
{}

static void *x25_seq_route_next(struct seq_file *seq, void *v, loff_t *pos)
{}

static void x25_seq_route_stop(struct seq_file *seq, void *v)
	__releases(x25_route_list_lock)
{}

static int x25_seq_route_show(struct seq_file *seq, void *v)
{}

static void *x25_seq_socket_start(struct seq_file *seq, loff_t *pos)
	__acquires(x25_list_lock)
{}

static void *x25_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos)
{}

static void x25_seq_socket_stop(struct seq_file *seq, void *v)
	__releases(x25_list_lock)
{}

static int x25_seq_socket_show(struct seq_file *seq, void *v)
{}

static void *x25_seq_forward_start(struct seq_file *seq, loff_t *pos)
	__acquires(x25_forward_list_lock)
{}

static void *x25_seq_forward_next(struct seq_file *seq, void *v, loff_t *pos)
{}

static void x25_seq_forward_stop(struct seq_file *seq, void *v)
	__releases(x25_forward_list_lock)
{}

static int x25_seq_forward_show(struct seq_file *seq, void *v)
{}

static const struct seq_operations x25_seq_route_ops =;

static const struct seq_operations x25_seq_socket_ops =;

static const struct seq_operations x25_seq_forward_ops =;

int __init x25_proc_init(void)
{}

void __exit x25_proc_exit(void)
{}

#else /* CONFIG_PROC_FS */

int __init x25_proc_init(void)
{
	return 0;
}

void __exit x25_proc_exit(void)
{
}
#endif /* CONFIG_PROC_FS */