Merge 1.8.0~pre4 packaging into master
[pkg-k5-afs_openafs.git] / src / budb / error_macros.h
blob71c35c36ec5316c482a2a97d47243ee17503fda3
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
10 #define ERROR(evalue) do { \
11 code = evalue; \
12 goto error_exit; \
13 } while (0)
15 #define ABORT(evalue) do { \
16 code = evalue; \
17 goto abort_exit; \
18 } while (0)
20 #define BUDB_EXIT(evalue) do { \
21 osi_audit(BUDB_ExitEvent, evalue, AUD_END); \
22 exit(evalue); \
23 } while (0)