src/transport.c
changeset 23 dba569e54163
child 28 7fc9fc3e680c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/transport.c	Mon Sep 01 13:02:23 2014 +0200
     1.3 @@ -0,0 +1,15 @@
     1.4 +#include "transport.h"
     1.5 +
     1.6 +#include <stdlib.h>
     1.7 +#include <memory.h>
     1.8 +#include <assert.h>
     1.9 +
    1.10 +PEP_STATUS init_transport_system(PEP_transport_t* transports)
    1.11 +{
    1.12 +    assert(PEP_trans__count == 1);
    1.13 +    memset(transports, 0, sizeof(PEP_transport_t) * PEP_trans__count);
    1.14 +
    1.15 +    transports[0].id = PEP_trans_auto;
    1.16 +
    1.17 +    return PEP_STATUS_OK;
    1.18 +}