1*ce099b40Smartin /* $NetBSD: pmon.h,v 1.2 2008/04/28 20:23:10 martin Exp $ */ 216b9c606Sthorpej 316b9c606Sthorpej /*- 416b9c606Sthorpej * Copyright (c) 2001 The NetBSD Foundation, Inc. 516b9c606Sthorpej * All rights reserved. 616b9c606Sthorpej * 716b9c606Sthorpej * This code is derived from software contributed to The NetBSD Foundation 816b9c606Sthorpej * by Jason R. Thorpe. 916b9c606Sthorpej * 1016b9c606Sthorpej * Redistribution and use in source and binary forms, with or without 1116b9c606Sthorpej * modification, are permitted provided that the following conditions 1216b9c606Sthorpej * are met: 1316b9c606Sthorpej * 1. Redistributions of source code must retain the above copyright 1416b9c606Sthorpej * notice, this list of conditions and the following disclaimer. 1516b9c606Sthorpej * 2. Redistributions in binary form must reproduce the above copyright 1616b9c606Sthorpej * notice, this list of conditions and the following disclaimer in the 1716b9c606Sthorpej * documentation and/or other materials provided with the distribution. 1816b9c606Sthorpej * 1916b9c606Sthorpej * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 2016b9c606Sthorpej * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2116b9c606Sthorpej * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2216b9c606Sthorpej * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 2316b9c606Sthorpej * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2416b9c606Sthorpej * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2516b9c606Sthorpej * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2616b9c606Sthorpej * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2716b9c606Sthorpej * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2816b9c606Sthorpej * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2916b9c606Sthorpej * POSSIBILITY OF SUCH DAMAGE. 3016b9c606Sthorpej */ 3116b9c606Sthorpej 3216b9c606Sthorpej #ifndef _ALGOR_PMON_H_ 3316b9c606Sthorpej #define _ALGOR_PMON_H_ 3416b9c606Sthorpej 3516b9c606Sthorpej #ifdef _KERNEL 3616b9c606Sthorpej void pmon_init(char *[]); 3716b9c606Sthorpej const char *pmon_getenv(const char *); 3816b9c606Sthorpej #endif /* _KERNEL */ 3916b9c606Sthorpej 4016b9c606Sthorpej #endif /* _ALGOR_PMON_H_ */ 41