summaryrefslogtreecommitdiff
path: root/cesar/cp2/cp.h
blob: 62023ba93ec748f957e9fb140f0f6b92c5846414 (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
#ifndef cp2_cp_h
#define cp2_cp_h
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cp2/cp.h
 * \brief   Control plane public API's.
 * \ingroup cp2
 *
 */
#include "cp2/types.h"

#include "mac/common/config.h"
#include "interface/forward.h"

/**
 * Initialise the Control plane.
 * \param  mac_config  Mac configuration context.
 * \param  interface  Interface context.
 * \return  The control plane context. 
 *
 */
cp_t *
cp_init (mac_config_t * mac_config, interface_t * interface);

/**
 * Initialise the control plane context.
 * \param  ctx  the module context.
 *
 */
void
cp_uninit (cp_t *ctx);

#endif /* cp_h */