aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/utils/logger.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-04-27 11:38:24 +0000
committerMartin Willi <martin@strongswan.org>2006-04-27 11:38:24 +0000
commiteea353466ec86ad5fd3fc4fb7ac560ebced64f3d (patch)
treeaa0908775b34dbce4b98526c1cfce7fd82a34074 /Source/lib/utils/logger.h
parentf1e87b9022fa68ea4cc38317eea1a59a41a5ae3d (diff)
downloadstrongswan-eea353466ec86ad5fd3fc4fb7ac560ebced64f3d.tar.bz2
strongswan-eea353466ec86ad5fd3fc4fb7ac560ebced64f3d.tar.xz
- reworked usage of IDs in various states
- using ID_ANY for any, not NULL as before - initiator sends IDr payload in IKE_AUTH when ID unique
Diffstat (limited to 'Source/lib/utils/logger.h')
-rw-r--r--Source/lib/utils/logger.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/lib/utils/logger.h b/Source/lib/utils/logger.h
index 322bb3264..dec73078e 100644
--- a/Source/lib/utils/logger.h
+++ b/Source/lib/utils/logger.h
@@ -110,7 +110,7 @@ struct logger_t {
* @param format printf like format string
* @param ... printf like parameters
*/
- void (*log) (logger_t *this, log_level_t log_level, char *format, ...);
+ void (*log) (logger_t *this, log_level_t log_level, const char *format, ...);
/**
* @brief Log some bytes, useful for debugging.
@@ -124,7 +124,7 @@ struct logger_t {
* @param bytes pointer to the bytes to dump
* @param len number of bytes to dump
*/
- void (*log_bytes) (logger_t *this, log_level_t loglevel, char *label, char *bytes, size_t len);
+ void (*log_bytes) (logger_t *this, log_level_t loglevel, const char *label, const char *bytes, size_t len);
/**
* @brief Log a chunk, useful for debugging.
@@ -137,7 +137,7 @@ struct logger_t {
* @param label a labeling name, logged with the bytes
* @param chunk chunk to log
*/
- void (*log_chunk) (logger_t *this, log_level_t loglevel, char *label, chunk_t chunk);
+ void (*log_chunk) (logger_t *this, log_level_t loglevel, const char *label, chunk_t chunk);
/**
* @brief Enables a loglevel for the current logger_t object.