src/transport.c
author vb
Mon, 01 Sep 2014 13:02:23 +0200
changeset 23 dba569e54163
child 28 7fc9fc3e680c
permissions -rw-r--r--
adding the concepts of transports and cryptotech
     1 #include "transport.h"
     2 
     3 #include <stdlib.h>
     4 #include <memory.h>
     5 #include <assert.h>
     6 
     7 PEP_STATUS init_transport_system(PEP_transport_t* transports)
     8 {
     9     assert(PEP_trans__count == 1);
    10     memset(transports, 0, sizeof(PEP_transport_t) * PEP_trans__count);
    11 
    12     transports[0].id = PEP_trans_auto;
    13 
    14     return PEP_STATUS_OK;
    15 }