Browse Source

remove device_name

pEpMIME_windows
Volker Birk 3 years ago
parent
commit
861c779572
5 changed files with 6 additions and 18 deletions
  1. +1
    -0
      src/pEpEngine.c
  2. +3
    -1
      src/pEpEngine.h
  3. +2
    -2
      src/pEp_internal.h
  4. +0
    -8
      src/sync_api.c
  5. +0
    -7
      sync/gen_statemachine.ysl2

+ 1
- 0
src/pEpEngine.c View File

@ -4906,3 +4906,4 @@ DYNAMIC_API void clear_errorstack(PEP_SESSION session)
}
#endif

+ 3
- 1
src/pEpEngine.h View File

@ -1525,7 +1525,9 @@ PEP_STATUS sign_only(PEP_SESSION session,
const char *fpr,
char **sign,
size_t *sign_size);
const char *get_device_name(PEP_SESSION session);
#ifdef __cplusplus
}
#endif

+ 2
- 2
src/pEp_internal.h View File

@ -241,13 +241,13 @@ struct _pEpSession {
// callbacks
examine_identity_t examine_identity;
void *examine_management;
void *sync_management;
void *sync_obj;
notifyHandshake_t notifyHandshake;
inject_sync_event_t inject_sync_event;
retrieve_next_sync_event_t retrieve_next_sync_event;
// pEp Sync
void *sync_management;
void *sync_obj;
struct Sync_state_s sync_state;
struct own_Sync_state_s own_sync_state;


+ 0
- 8
src/sync_api.c View File

@ -128,14 +128,6 @@ DYNAMIC_API PEP_STATUS do_sync_protocol_step(
session->sync_obj = obj;
PEP_STATUS status = recv_Sync_event(session, event);
if (status != PEP_STATUS_OK && status != PEP_MESSAGE_IGNORE) {
char buffer[MAX_LINELENGTH];
memset(buffer, 0, MAX_LINELENGTH);
snprintf(buffer, MAX_LINELENGTH, "problem with msg received: %d\n",
(int) status);
log_event(session, buffer, "pEp sync protocol", NULL, NULL);
}
return status == PEP_MESSAGE_IGNORE ? PEP_STATUS_OK : status;
}


+ 0
- 7
sync/gen_statemachine.ysl2 View File

@ -876,13 +876,6 @@ tstylesheet {
#define «@name»_ERR_LOG_INT(t, n) _«@name»_ERR_LOG_int(session, (t), (n), false)
#define «@name»_ERR_LOG_HEX(t, n) _«@name»_ERR_LOG_int(session, (t), (n), true)
#ifndef SERVICE_LOG
// SERVICE LOG is meant to check session->service_log in runtime config;
// for older engines log more than needed
#define SERVICE_LOG(session, t, n, d) log_event((session), (t), (n), (d), "service")
#endif
#define «@name»_SERVICE_LOG(t, d) SERVICE_LOG(session, (t), "«@name»", (d))
«@name»_state fsm_«@name»(


Loading…
Cancel
Save