xref: /netbsd-src/external/bsd/top/dist/message.h (revision 213e7ef10b646bf1aa9d15d47768bae62394cb55)
110dd2532Schristos /*
210dd2532Schristos  * Copyright (c) 1984 through 2008, William LeFebvre
310dd2532Schristos  * All rights reserved.
410dd2532Schristos  *
510dd2532Schristos  * Redistribution and use in source and binary forms, with or without
610dd2532Schristos  * modification, are permitted provided that the following conditions are met:
710dd2532Schristos  *
810dd2532Schristos  *     * Redistributions of source code must retain the above copyright
910dd2532Schristos  * notice, this list of conditions and the following disclaimer.
1010dd2532Schristos  *
1110dd2532Schristos  *     * Redistributions in binary form must reproduce the above
1210dd2532Schristos  * copyright notice, this list of conditions and the following disclaimer
1310dd2532Schristos  * in the documentation and/or other materials provided with the
1410dd2532Schristos  * distribution.
1510dd2532Schristos  *
1610dd2532Schristos  *     * Neither the name of William LeFebvre nor the names of other
1710dd2532Schristos  * contributors may be used to endorse or promote products derived from
1810dd2532Schristos  * this software without specific prior written permission.
1910dd2532Schristos  *
2010dd2532Schristos  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2110dd2532Schristos  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2210dd2532Schristos  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2310dd2532Schristos  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2410dd2532Schristos  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2510dd2532Schristos  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2610dd2532Schristos  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2710dd2532Schristos  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2810dd2532Schristos  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2910dd2532Schristos  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3010dd2532Schristos  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3110dd2532Schristos  */
3210dd2532Schristos 
3310dd2532Schristos /* interface declaration for display messages */
3410dd2532Schristos /* This is a small subset of the interface from display.c that
3510dd2532Schristos    just contains the calls for displaying messages.  Do not include
3610dd2532Schristos    this and display.h at the same time. */
3710dd2532Schristos 
3810dd2532Schristos #ifndef _MESSAGE_H
3910dd2532Schristos #define _MESSAGE_H
4010dd2532Schristos 
41*213e7ef1Schristos void error_message(const char *msgfmt, ...);
42*213e7ef1Schristos void clear_message(void);
4310dd2532Schristos 
4410dd2532Schristos #endif /* _MESSAGE_H_ */
45