diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-10-12 02:46:37 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2023-10-12 02:46:37 +0000 |
| commit | d9492e8561fe5373b1428c6d7cff4f25e2796a55 (patch) | |
| tree | 8e0b77e1b8f4964f9a154ce89209f25e093a0f8f /src/include | |
| parent | 541325d00c7078d063ea97333d3c9c64d6b6c7b6 (diff) | |
| download | tipidee-d9492e8561fe5373b1428c6d7cff4f25e2796a55.tar.gz | |
Add host_as_prefix logging for request/resource/answer
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/tipidee/log.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/tipidee/log.h b/src/include/tipidee/log.h index 0fe44ce..29d621f 100644 --- a/src/include/tipidee/log.h +++ b/src/include/tipidee/log.h @@ -19,6 +19,7 @@ #define TIPIDEE_LOG_START 0x100 #define TIPIDEE_LOG_CLIENTIP 0x0200 #define TIPIDEE_LOG_CLIENTHOST 0x0400 +#define TIPIDEE_LOG_HOSTASPREFIX 0x1000 #define TIPIDEE_LOG_DEFAULT (TIPIDEE_LOG_REQUEST | TIPIDEE_LOG_ANSWER | TIPIDEE_LOG_SIZE) @@ -35,7 +36,7 @@ extern void tipidee_log_start (uint32_t, char const *, char const *) ; extern void tipidee_log_exit (uint32_t, unsigned int) ; extern void tipidee_log_request (uint32_t, tipidee_rql const *, char const *, char const *, stralloc *) ; -extern void tipidee_log_resource (uint32_t, char const *, char const *, tipidee_resattr const *) ; -extern void tipidee_log_answer (uint32_t, unsigned int, off_t) ; +extern void tipidee_log_resource (uint32_t, tipidee_rql const *, char const *, char const *, tipidee_resattr const *) ; +extern void tipidee_log_answer (uint32_t, tipidee_rql const *, unsigned int, off_t) ; #endif |
