OpenSS7
SS7 for the
Common Man

© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved.
Last modified:

Home Overview Status News Documentation Resources About
   
 Overview
 Status
 News
 Documentation
 Resources
 About

   
Home Index Prev Next More Download Info FAQ Mail   Home -> Resources -> Browse Source -> strss7/drivers/str/echo_module.c


File /code/strss7/drivers/str/echo_module.c



#ident "@(#) $RCSfile: echo_module.c,v $ $Name:  $($Revision: 0.8.2.3 $) $Date: 2003/04/14 12:13:37 $"

static char const ident[] =
    "$RCSfile: echo_module.c,v $ $Name:  $($Revision: 0.8.2.3 $) $Date: 2003/04/14 12:13:37 $";

#include <linux/config.h>
#include <linux/version.h>
#ifdef MODVERSIONS
#include <linux/modversions.h>
#endif
#include <linux/module.h>

#include <sys/stream.h>
#include <sys/stropts.h>
#include <sys/cmn_err.h>

#define ECHO_DESCRIP	"ECHO STREAMS++ TEST DRIVER."
#define ECHO_COPYRIGHT	"Copyright (c) 1997-2002 OpenSS7 Corporation.  All Rights Reserved."
#define ECHO_DEVICE	"Part of the OpenSS7 Stack for LiS STREAMS."
#define ECHO_CONTACT	"Brian Bidulock <bidulock@openss7.org>"
#define ECHO_LICENSE	"GPL"
#define ECHO_BANNER	ECHO_DESCRIP	"\n" \
			ECHO_COPYRIGHT	"\n" \
			ECHO_DEVICE	"\n" \
			ECHO_CONTACT	"\n"

MODULE_AUTHOR(ECHO_CONTACT);
MODULE_DESCRIPTION(ECHO_DESCRIP);
MODULE_SUPPORTED_DEVICE(ECHO_DEVICE);
#ifdef MODULE_LICENSE
MODULE_LICENSE(ECHO_LICENSE);
#endif

extern void echo_init(void);
extern void echo_term(void);

int init_module(void)
{
	printk(KERN_INFO ECHO_BANNER);	/* console splash */
	echo_init();
	return (0);
};

void cleanup_module(void)
{
	echo_term();
	return;
};


Home Index Prev Next More Download Info FAQ Mail   Home -> Resources -> Browse Source -> strss7/drivers/str/echo_module.c

OpenSS7
SS7 for the
Common Man
Home Overview Status News Documentation Resources About

© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved.
Last modified: