/[mcrypt]/shash/src/errors.c
ViewVC logotype

Contents of /shash/src/errors.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Wed Oct 4 22:45:00 2000 UTC (23 years, 6 months ago) by nmav
Branch: shash, MAIN
CVS Tags: start, shash_0_2_6, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Included shash into the cvs

1 #include <defines.h>
2
3 extern int quiet;
4
5 void err_quit(char *errmsg)
6 {
7 fprintf(stderr, errmsg);
8 exit(-1);
9 }
10
11 void err_warn(char *errmsg)
12 {
13
14 if (quiet < 1) {
15 fprintf(stderr, errmsg);
16 }
17
18 }
19
20 void err_crit(char *errmsg)
21 {
22 if (quiet <= 2) {
23 fprintf(stderr, errmsg);
24 }
25 }

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26