summaryrefslogtreecommitdiff
path: root/src/lib/openmj2/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/openmj2/event.h')
-rw-r--r--src/lib/openmj2/event.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/openmj2/event.h b/src/lib/openmj2/event.h
index d0a73edf..ade06cfb 100644
--- a/src/lib/openmj2/event.h
+++ b/src/lib/openmj2/event.h
@@ -1,6 +1,6 @@
/*
- * The copyright in this software is being made available under the 2-clauses
- * BSD License, included below. This software may be subject to other third
+ * The copyright in this software is being made available under the 2-clauses
+ * BSD License, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such rights
* are granted under this license.
*
@@ -37,9 +37,9 @@
The functions in EVENT.C have for goal to send output messages (errors, warnings, debug) to the user.
*/
-#define EVT_ERROR 1 /**< Error event type */
-#define EVT_WARNING 2 /**< Warning event type */
-#define EVT_INFO 4 /**< Debug event type */
+#define EVT_ERROR 1 /**< Error event type */
+#define EVT_WARNING 2 /**< Warning event type */
+#define EVT_INFO 4 /**< Debug event type */
/** @defgroup EVENT EVENT - Implementation of a event callback system */
/*@{*/
@@ -48,13 +48,14 @@ The functions in EVENT.C have for goal to send output messages (errors, warnings
/*@{*/
/* ----------------------------------------------------------------------- */
/**
-Write formatted data to a string and send the string to a user callback.
+Write formatted data to a string and send the string to a user callback.
@param cinfo Codec context info
@param event_type Event type or callback to use to send the message
@param fmt Format-control string (plus optionnal arguments)
@return Returns true if successful, returns false otherwise
*/
-opj_bool opj_event_msg(opj_common_ptr cinfo, int event_type, const char *fmt, ...);
+opj_bool opj_event_msg(opj_common_ptr cinfo, int event_type, const char *fmt,
+ ...);
/* ----------------------------------------------------------------------- */
/*@}*/