Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.02 KB

common.h

File metadata and controls

38 lines (28 loc) · 1.02 KB
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
common: anything can happen here... frame reading, output, messages
copyright ?-2006 by the mpg123 project - free software under the terms of the LGPL 2.1
see COPYING and AUTHORS files in distribution or http://mpg123.org
initially written by Michael Hipp
*/
#ifndef _MPG123_COMMON_H_
#define _MPG123_COMMON_H_
#include "mpg123app.h"
#include "out123.h"
extern int stopped;
extern int paused;
Aug 27, 2019
Aug 27, 2019
18
19
20
/* Return non-zero if full terminal fun is desired/possible. */
int term_have_fun(int fd);
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Return width of terminal associated with given descriptor,
-1 when there is none. */
int term_width(int fd);
void print_header(mpg123_handle *);
void print_header_compact(mpg123_handle *);
void print_stat(mpg123_handle *fr, long offset, out123_handle *ao, int draw_bar);
void print_buf(const char* prefix, out123_handle *ao);
void clear_stat();
/* for control_generic */
extern const char* remote_header_help;
void print_remote_header(mpg123_handle *mh);
void generic_sendmsg (const char *fmt, ...);
extern const char* rva_name[3];
#endif