2 * Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
4 * Author: Simon Josefsson
6 * This file is part of GNUTLS.
8 * GNUTLS is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
13 * GNUTLS is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with GNUTLS; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
28 # include <gnutls/gnutls.h>
31 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
32 # define __attribute__(Spec) /* empty */
37 extern int error_count
;
38 extern int break_on_error
;
40 extern const char *pkcs3
;
42 extern void fail (const char *format
, ...)
43 __attribute__ ((format (printf
, 1, 2)));
44 extern void success (const char *format
, ...)
45 __attribute__ ((format (printf
, 1, 2)));
47 extern void escapeprint (const char *str
, size_t len
);
48 extern void hexprint (const char *str
, size_t len
);
49 extern void binprint (const char *str
, size_t len
);
51 /* This must be implemented elsewhere. */
52 extern void doit (void);