summaryrefslogtreecommitdiff
path: root/cp/beacon/test/cco/src/sar_stub.c
blob: a9f89c5132151d4c85f891d30c38a447efc0d7cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    src/sar_stub.c
 * \brief   « brief description »
 * \ingroup « module »
 *
 * « long description »
 */
#include "common/std.h"

#include "mac/sar/sar.h"
#include "mac/sar/inc/sar_context.h"

static sar_t sar_global;

sar_t *
sar_init (mac_store_t *mac_store, pbproc_t *pbproc, ca_t *ca)
{
    return &sar_global;
}

void
sar_beacon_send (sar_t *ctx, pb_beacon_t *beacon, mfs_tx_t *beacon_mfs, void *bto_bpsto)
{
    blk_release_desc ((blk_t *)beacon);
}


void sar_init_beacon_cb (sar_t *sar, void *user_data, sar_beacon_cb_t uf)
{
}