src/sync_driver.c
author Krista Grothoff <krista@pep-project.org>
Sat, 24 Sep 2016 18:09:18 +0200
branchENGINE-27
changeset 1185 4b01328f3cf2
parent 743 e4b613ebac2f
child 951 dec407deb10e
permissions -rw-r--r--
ENGINE-27: update_identity no longer pays attention to the input identity's fpr, but pulls one from elect_pubkey.
     1 // Driver for DeviceState state machine
     2 
     3 #include <assert.h>
     4 #include "pEp_internal.h"
     5 
     6 
     7 DYNAMIC_API PEP_STATUS fsm_DeviceState_inject(
     8         PEP_SESSION session,
     9         DeviceState_event event,
    10         Identity partner,
    11         DeviceState_state state_partner
    12     )
    13 {
    14     PEP_STATUS status = PEP_STATUS_OK;
    15 
    16     session->sync_state = fsm_DeviceState(session, session->sync_state,
    17             event, partner, state_partner);
    18 
    19     return status;
    20 }
    21