summaryrefslogtreecommitdiff
path: root/cesar/mac/ca/stub/src/ca.c
blob: e41eb5a4989907875538921441c46673a92ae0c9 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* Cesar project {{{
 *
 * Copyright (C) 2011 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cesar/mac/ca/stub/src/ca.c
 * \brief   CA stubs.
 * \ingroup mac_ca
 *
 */
#include "common/std.h"
#include "mac/ca/ca.h"

ca_schedule_t *
ca_alloc_get_schedule (ca_t *ctx, uint index) __attribute__ ((weak));

ca_schedule_t *
ca_alloc_get_schedule (ca_t *ctx, uint index)
{
    return INVALID_PTR;
}

void
ca_alloc_update_beacon_periods (ca_t *ctx,
                                ca_beacon_period_t *beacon_periods,
                                uint beacon_periods_nb) __attribute__ ((weak));

void
ca_alloc_update_beacon_periods (ca_t *ctx,
                                ca_beacon_period_t *beacon_periods,
                                uint beacon_periods_nb) { }

void
ca_mfs_remove (ca_t *ctx, mfs_tx_t *mfs) __attribute__ ((weak));

void
ca_mfs_remove (ca_t *ctx, mfs_tx_t *mfs) { }

void
ca_mfs_add (ca_t *ctx, mfs_tx_t *mfs) __attribute__ ((weak));

void
ca_mfs_add (ca_t *ctx, mfs_tx_t *mfs) { }

void
ca_mfs_update (ca_t *ctx, mfs_tx_t *mfs) __attribute__ ((weak));

void
ca_mfs_update (ca_t *ctx, mfs_tx_t *mfs) { }

void
ca_mfs_hold (ca_t *ctx, mfs_tx_t *mfs) __attribute__ ((weak));

void
ca_mfs_hold (ca_t *ctx, mfs_tx_t *mfs) { }