From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 11 05:05:45 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4103016A4CE for ; Sat, 11 Sep 2004 05:05:45 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7193E43D31 for ; Sat, 11 Sep 2004 05:05:42 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id i8B53lSw091587; Fri, 10 Sep 2004 23:03:47 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 10 Sep 2004 23:04:23 -0600 (MDT) Message-Id: <20040910.230423.84359903.imp@bsdimp.com> To: vxp@digital-security.org From: "M. Warner Losh" In-Reply-To: <20040910212926.V2370@digital-security.org> References: <20040910212926.V2370@digital-security.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: help with a module, please.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2004 05:05:45 -0000 In message: <20040910212926.V2370@digital-security.org> vxp 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