src/transport.c
author vb
Mon, 01 Sep 2014 20:56:05 +0200
changeset 28 7fc9fc3e680c
parent 23 dba569e54163
child 29 31881fe94d3c
permissions -rw-r--r--
...
     1 #include "pEp_internal.h"
     2 
     3 #include <stdlib.h>
     4 #include <memory.h>
     5 #include <assert.h>
     6 
     7 PEP_STATUS init_transport_system(PEP_SESSION session)
     8 {
     9     pEpSession *_session = (pEpSession *) session;
    10     PEP_transport_t* transports = _session->transports;
    11 
    12     assert(PEP_trans__count == 1);
    13     memset(transports, 0, sizeof(PEP_transport_t) * PEP_trans__count);
    14 
    15     transports[0].id = PEP_trans_auto;
    16 
    17     return PEP_STATUS_OK;
    18 }
    19 
    20 void release_transport_system(PEP_SESSION session)
    21 {
    22     // nothing yet
    23 }