File: curses_printf.h

package info (click to toggle)
audtty 0.1.9a-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 712 kB
  • ctags: 139
  • sloc: ansic: 1,381; sh: 193; makefile: 53
file content (29 lines) | stat: -rw-r--r-- 1,153 bytes parent folder | download
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
/*
    This file is part of xmms-curses, copyright 2003-2005 Knut Auvor Grythe.

    xmms-curses is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    xmms-curses is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with xmms-curses; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

#ifndef _CURSES_PRINTF_

#define _CURSES_PRINTF_

int waddstrf(WINDOW *win, const char *fmt, ...);
int mvwaddstrf(WINDOW *win, int y, int x, const char *fmt, ...);
int waddnstrf(WINDOW *win, const char *fmt, int n, ...);
int mvwaddnstrf(WINDOW *win, int y, int x, const char *fmt, int n, ...);
char *make_message(const char *fmt, va_list ap);

#endif