File: serverscreens.h

package info (click to toggle)
lcdproc 0.5.9-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 5,064 kB
  • sloc: ansic: 59,645; sh: 1,740; perl: 681; makefile: 417
file content (32 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (4)
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
/** \file server/serverscreens.h
 * Interface for the serverscreen implementation.
 */

/* This file is part of LCDd, the lcdproc server.
 *
 * This file is released under the GNU General Public License.
 * Refer to the COPYING file distributed with this package.
 *
 * Copyright (c) 1999, William Ferrell, Selene Scriven
 */

#ifndef SRVSTATS_H
#define SRVSTATS_H

#include "screen.h"

/* server screen rotation states */
#define SERVERSCREEN_OFF	0	/**< Show server screen in rotation. */
#define SERVERSCREEN_ON		1	/**< Show server sreen only when there is no other screen. */
#define SERVERSCREEN_BLANK	2	/**< Don't rotate, and only show a blank screen. */

extern Screen *server_screen;

extern int rotate_server_screen;

int server_screen_init(void);
int server_screen_shutdown(void);
int update_server_screen(void);
int goodbye_screen(void);

#endif