blob: 4dc53f9241119db0cb24382e96270cfa2f998443 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* $Id$
*
*/
/*
* $Log: /pjproject-0.3/pjlib/src/pjlib-test/main_mod.c $
*
* 2 10/29/05 11:51a Bennylp
* Version 0.3-pre2.
*
* 1 10/05/05 5:12p Bennylp
* Created.
*
*/
#include "test.h"
#include <linux/module.h>
#include <linux/kernel.h>
int init_module(void)
{
printk(KERN_INFO "PJLIB test module loaded. Starting tests...\n");
test_main();
/* Prevent module from loading. We've finished test anyway.. */
return 1;
}
void cleanup_module(void)
{
printk(KERN_INFO "PJLIB test module unloading...\n");
}
MODULE_LICENSE("GPL");
|