Browse Source

DEBUG_LOG() for keymanagement

doc_update_sequoia
Volker Birk 7 years ago
parent
commit
6217a2f22b
2 changed files with 7 additions and 11 deletions
  1. +0
    -7
      src/keymanagement.c
  2. +7
    -4
      src/pEp_internal.h

+ 0
- 7
src/keymanagement.c View File

@ -19,13 +19,6 @@
#define KEY_EXPIRE_DELTA (60 * 60 * 24 * 365)
#ifdef NDEBUG
#define DEBUG_LOG(TITLE, ENTITY, DESC)
#else
#define DEBUG_LOG(TITLE, ENTITY, DESC) \
log_event(session, (TITLE), (ENTITY), (DESC), "debug");
#endif
DYNAMIC_API PEP_STATUS update_identity(
PEP_SESSION session, pEp_identity * identity
)


+ 7
- 4
src/pEp_internal.h View File

@ -39,10 +39,6 @@
#include <assert.h>
#include <stdio.h>
#ifndef NDEBUG
#include <stdio.h>
#endif
#include "sqlite3.h"
#define _EXPORT_PEP_ENGINE_DLL
@ -93,3 +89,10 @@ typedef struct _pEpSession {
PEP_STATUS init_transport_system(PEP_SESSION session, bool in_first);
void release_transport_system(PEP_SESSION session, bool out_last);
#ifdef NDEBUG
#define DEBUG_LOG(TITLE, ENTITY, DESC)
#else
#define DEBUG_LOG(TITLE, ENTITY, DESC) \
log_event(session, (TITLE), (ENTITY), (DESC), "debug");
#endif

Loading…
Cancel
Save