summaryrefslogtreecommitdiff
path: root/cesar/cl/stub/src/cl.c
blob: 8ab2f215c853465b8ec01ef3d4728fae943fe0bf (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    src/cl.c
 * \brief   « brief description »
 * \ingroup « module »
 *
 * « long description »
 */
#include "common/std.h"
#include "cl/cl.h"
#include "common/defs/igmp.h"

cl_t *
cl_init (mac_store_t *mac_store, sar_t *sar, mac_config_t *mac_config,
         ipmbox_t *ipmbox, bufmgr_t *bufmgr) __attribute__((weak));

cl_t *
cl_init (mac_store_t *mac_store, sar_t *sar, mac_config_t *mac_config,
         ipmbox_t *ipmbox, bufmgr_t *bufmgr)
{
    return NULL;
}

void
cl_uninit (cl_t *ctx) __attribute__((weak));

void
cl_uninit (cl_t *ctx)
{
}

void
cl_data_send_link_clear (cl_t *ctx) __attribute__((weak));

void
cl_data_send_link_clear (cl_t *ctx)
{
}

igmp_groups_t *
cl_get_igmp_groups (cl_t *cl) __attribute__((weak));

igmp_groups_t *
cl_get_igmp_groups (cl_t *cl)
{
    return NULL;
}

void
cl_update_igmp_groups (cl_t *ctx) __attribute__((weak));

void
cl_update_igmp_groups (cl_t *ctx)
{
}

void
cl_mme_send (cl_t *ctx, u8 *buffer, uint length, uint tei)
__attribute__((weak));

void
cl_mme_send (cl_t *ctx, u8 *buffer, uint length, uint tei)
{
}

void
cl_compute_datarate_on_sta (cl_t *ctx, mfs_t *mfs, uint length)
__attribute__((weak));

void
cl_compute_datarate_on_sta (cl_t *ctx, mfs_t *mfs, uint length)
{
}

cl_mbx_t*
cl_mbx_get (cl_t *ctx) __attribute__((weak));

cl_mbx_t*
cl_mbx_get (cl_t *ctx)
{
    return NULL;
}