File: ui.h

package info (click to toggle)
md5deep 3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,220 kB
  • ctags: 667
  • sloc: ansic: 7,134; sh: 3,195; makefile: 105
file content (32 lines) | stat: -rw-r--r-- 893 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
30
31
32

/* $Id: ui.h 49 2008-03-05 02:31:38Z jessekornblum $ */

/* User Interface Functions */

// Display an ordinary message with newline added
void print_status(char *fmt, ...);

// Display an error message if not in silent mode
void print_error(state *s, char *fmt, ...);

// Display an error message if not in silent mode with a Unicode filename
void print_error_unicode(state *s, TCHAR *fn, char *fmt, ...);

// Display an error message, if not in silent mode,  
// and exit with EXIT_FAILURE
void fatal_error(state *s, char *fmt, ...);

// Display an error message, ask user to contact the developer, 
// and exit with EXIT_FAILURE
void internal_error(char *fmt, ... );

// Display a filename, possibly including Unicode characters
void display_filename(FILE *out, TCHAR *fn);

void print_debug(char *fmt, ...);

void make_newline(state *s);

void try_msg(void);

int display_hash(state *s);