libcfe  0.12.1
some useful C-functions
textfunc.h
Go to the documentation of this file.
1 /*
2  textfunc.h - headers for textfunc.h
3 
4  Copyright (C) 2000-2006 Cedric Tefft <cedric@phreaker.net>
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 
20  ***************************************************************************
21 
22  This program is based in part on MP3Info 0.5 by Ricardo Cerqueira <rmc@rccn.net>
23 
24 */
25 
26 #define CTRL_C '\003'
27 #define TEXT_FIELD_LEN 30
28 #define INT_FIELD_LEN 4
29 
30 void CenterText(int line, char *text);
31 char *checkinput(int c, char *string, int length);
32 char *curs_addparam(WINDOW *win, int line, int length, char *buf);
33 void buildtag(char *buf, id3tag *tag);
34 void display_help(void);
35 void display_genres(int alphagenreindex[],char *typegenre[]);
36 unsigned int get_genre (char *genre);
37 void print_header(mp3header *header,off_t filesize);
38 void translate_escapes (char *string);
39 void determine_tasks (char *format_string,int *want_id3,int *scantype, int *fullscan_vbr,int vbr_report);
40 void format_output (char *format_string,mp3info *mp3, int vbr_report);
41 
42 
43 
44 
void determine_tasks(char *format_string, int *want_id3, int *scantype, int *fullscan_vbr, int vbr_report)
void print_header(mp3header *header, off_t filesize)
void display_help(void)
char * checkinput(int c, char *string, int length)
void format_output(char *format_string, mp3info *mp3, int vbr_report)
void buildtag(char *buf, id3tag *tag)
Definition: mp3tech.h:56
void CenterText(int line, char *text)
void display_genres(int alphagenreindex[], char *typegenre[])
int alphagenreindex[MAXGENRE+1]
char * typegenre[MAXGENRE+2]
char * curs_addparam(WINDOW *win, int line, int length, char *buf)
unsigned int get_genre(char *genre)
void translate_escapes(char *string)