File: error.h

package info (click to toggle)
sex 0.19.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 572 kB
  • ctags: 779
  • sloc: ansic: 6,273; sh: 179; makefile: 116
file content (22 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * File:	error.h
 * Purpose:	Declarations for error reporting functions.
 * Author:	Lars Wirzenius
 * Version:	"@(#)SeX:$Id$"
 * Description:	This file declares the functions error and next_error,
 *		which are used by most parts of SeX to report errors.
 *		error adds an error message to a queue.  next_error
 *		returns and removes the first error from the queue.
 *		next_error is used by the window display logic to pop up
 *		an error window, if there have been any errors.
 */
 
 
#ifndef error_h
#define error_h

struct win;
void error(struct win *, const char *, ...);
char *next_error(struct win *);

#endif