Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2004 23:04:23 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        vxp@digital-security.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: help with a module, please..
Message-ID:  <20040910.230423.84359903.imp@bsdimp.com>
In-Reply-To: <20040910212926.V2370@digital-security.org>
References:  <20040910212926.V2370@digital-security.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20040910212926.V2370@digital-security.org>
            vxp <vxp@digital-security.org> writes:
: static int
: load_handler(module_t mod, int what, void *arg)
: {
: 	variable declarations here..
: 
:         case MOD_LOAD:
: 		blah blah blah
:                 break;
:         case MOD_UNLOAD:
: 		blah blah blah
: 		break;
:         default:
:                 err = EINVAL;
		  err = EOPNOTSUPP;
:                 break;

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040910.230423.84359903.imp>