438 ipsecutil_exit(SERVICE_BADCONF, my_fmri, debugfile, \
439 dgettext(TEXT_DOMAIN, x), y)
440 #define EXIT_BADCONFIG3(x, y, z) \
441 ipsecutil_exit(SERVICE_BADCONF, my_fmri, debugfile, \
442 dgettext(TEXT_DOMAIN, x), y, z)
443 #define EXIT_MAINTAIN(x) \
444 ipsecutil_exit(SERVICE_MAINTAIN, my_fmri, debugfile, \
445 dgettext(TEXT_DOMAIN, x))
446 #define EXIT_MAINTAIN2(x, y) \
447 ipsecutil_exit(SERVICE_MAINTAIN, my_fmri, debugfile, \
448 dgettext(TEXT_DOMAIN, x), y)
449 #define EXIT_DEGRADE(x) \
450 ipsecutil_exit(SERVICE_DEGRADE, my_fmri, debugfile, \
451 dgettext(TEXT_DOMAIN, x))
452 #define EXIT_BADPERM(x) \
453 ipsecutil_exit(SERVICE_BADPERM, my_fmri, debugfile, \
454 dgettext(TEXT_DOMAIN, x))
455 #define EXIT_BADPERM2(x, y) \
456 ipsecutil_exit(SERVICE_BADPERM, my_fmri, debugfile, \
457 dgettext(TEXT_DOMAIN, x), y)
458 #define EXIT_FATAL(x) \
459 ipsecutil_exit(SERVICE_FATAL, my_fmri, debugfile, \
460 dgettext(TEXT_DOMAIN, x))
461 #define EXIT_FATAL2(x, y) \
462 ipsecutil_exit(SERVICE_FATAL, my_fmri, debugfile, \
463 dgettext(TEXT_DOMAIN, x), y)
464 #define EXIT_FATAL3(x, y, z) \
465 ipsecutil_exit(SERVICE_FATAL, my_fmri, debugfile, \
466 dgettext(TEXT_DOMAIN, x), y, z)
467 #define EXIT_RESTART(x) \
468 ipsecutil_exit(SERVICE_RESTART, my_fmri, debugfile, \
469 dgettext(TEXT_DOMAIN, x))
470
471 #ifdef __cplusplus
472 }
473 #endif
474
475 #endif /* _IPSEC_UTIL_H */
|
438 ipsecutil_exit(SERVICE_BADCONF, my_fmri, debugfile, \
439 dgettext(TEXT_DOMAIN, x), y)
440 #define EXIT_BADCONFIG3(x, y, z) \
441 ipsecutil_exit(SERVICE_BADCONF, my_fmri, debugfile, \
442 dgettext(TEXT_DOMAIN, x), y, z)
443 #define EXIT_MAINTAIN(x) \
444 ipsecutil_exit(SERVICE_MAINTAIN, my_fmri, debugfile, \
445 dgettext(TEXT_DOMAIN, x))
446 #define EXIT_MAINTAIN2(x, y) \
447 ipsecutil_exit(SERVICE_MAINTAIN, my_fmri, debugfile, \
448 dgettext(TEXT_DOMAIN, x), y)
449 #define EXIT_DEGRADE(x) \
450 ipsecutil_exit(SERVICE_DEGRADE, my_fmri, debugfile, \
451 dgettext(TEXT_DOMAIN, x))
452 #define EXIT_BADPERM(x) \
453 ipsecutil_exit(SERVICE_BADPERM, my_fmri, debugfile, \
454 dgettext(TEXT_DOMAIN, x))
455 #define EXIT_BADPERM2(x, y) \
456 ipsecutil_exit(SERVICE_BADPERM, my_fmri, debugfile, \
457 dgettext(TEXT_DOMAIN, x), y)
458 #define EXIT_BADPERM3(x, y, z) \
459 ipsecutil_exit(SERVICE_BADPERM, my_fmri, debugfile, \
460 dgettext(TEXT_DOMAIN, x), y, z)
461 #define EXIT_FATAL(x) \
462 ipsecutil_exit(SERVICE_FATAL, my_fmri, debugfile, \
463 dgettext(TEXT_DOMAIN, x))
464 #define EXIT_FATAL2(x, y) \
465 ipsecutil_exit(SERVICE_FATAL, my_fmri, debugfile, \
466 dgettext(TEXT_DOMAIN, x), y)
467 #define EXIT_FATAL3(x, y, z) \
468 ipsecutil_exit(SERVICE_FATAL, my_fmri, debugfile, \
469 dgettext(TEXT_DOMAIN, x), y, z)
470 #define EXIT_FATAL4(x, y, z, z2) \
471 ipsecutil_exit(SERVICE_FATAL, my_fmri, debugfile, \
472 dgettext(TEXT_DOMAIN, x), y, z, z2)
473 #define EXIT_RESTART(x) \
474 ipsecutil_exit(SERVICE_RESTART, my_fmri, debugfile, \
475 dgettext(TEXT_DOMAIN, x))
476
477 #ifdef __cplusplus
478 }
479 #endif
480
481 #endif /* _IPSEC_UTIL_H */
|