summaryrefslogtreecommitdiff
path: root/src/input/vcd/libcdio/cdio/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/vcd/libcdio/cdio/logging.h')
-rw-r--r--src/input/vcd/libcdio/cdio/logging.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/input/vcd/libcdio/cdio/logging.h b/src/input/vcd/libcdio/cdio/logging.h
index aec981ad4..8c78259ea 100644
--- a/src/input/vcd/libcdio/cdio/logging.h
+++ b/src/input/vcd/libcdio/cdio/logging.h
@@ -1,8 +1,8 @@
/*
- $Id: logging.h,v 1.2 2004/04/11 12:20:31 miguelfreitas Exp $
+ $Id: logging.h,v 1.3 2005/01/01 02:43:58 rockyb Exp $
Copyright (C) 2000, Herbert Valerio Riedel <hvr@gnu.org>
- Copyright (C) 2003, Rocky Bernstein <rocky@panix.com>
+ Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -29,6 +29,10 @@
#include <cdio/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* The different log levels supported.
*/
@@ -75,7 +79,7 @@ typedef void (*cdio_log_handler_t) (cdio_log_level_t level,
cdio_log_handler_t cdio_log_set_handler (cdio_log_handler_t new_handler);
/**
- * Handle an message with the given log level
+ * Handle an message with the given log level.
*
* @see cdio_debug
* @see cdio_info
@@ -111,12 +115,16 @@ void cdio_info (const char format[], ...) GNUC_PRINTF(1,2);
void cdio_warn (const char format[], ...) GNUC_PRINTF(1,2);
/**
- * Handle an error message.
+ * Handle an error message. Execution is terminated.
*
* @see cdio_log for a more generic routine.
*/
void cdio_error (const char format[], ...) GNUC_PRINTF(1,2);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __LOGGING_H__ */