File: screen.h

package info (click to toggle)
netdiag 1.2-1
  • links: PTS
  • area: main
  • in suites: buster, sid
  • size: 3,268 kB
  • sloc: ansic: 23,895; sh: 5,544; makefile: 328; awk: 130
file content (32 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 *	Copyright (c) 2004 Rinet Corp., Novosibirsk, Russia
 *
 * Redistribution and use in source forms, with and without modification,
 * are permitted provided that this entire comment appears intact.
 *
 * THIS SOURCE CODE IS PROVIDED ``AS IS'' WITHOUT ANY WARRANTIES OF ANY KIND.
 */

#ifndef	_SCREEN_H_
#define	_SCREEN_H_

#define DEFAULT_COLUMNS		80      /* mandatory */
#define DEFAULT_LINES		24
#define	MINPAGESIZE		20

#ifndef	ACS_HLINE
#define	ACS_HLINE	'-'
#endif

int screen_open(int resize);
void screen_close(void);
void screen_status(const char *fmt, ...);
void screen_update(void);
void screen_clear(void);
void screen_dock_cursor(int y, int x);

extern int use_colors;
extern int prompt_mode;
extern double line_factor;

#endif	/* !_SCREEN_H_ */