summaryrefslogtreecommitdiff
path: root/host/fwd.h
blob: 4f276cf7365b3cecc3252b443a9230388257eb14 (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
#ifndef FWD_H_
#define FWD_H_

/* Cesar project {{{
 *
 * Copyright (C) 2007 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
 
 /**
 * \file    fwd.h
 * \brief   contains all typedef needed for station
 * \ingroup host
 *
 * This file contains all typedef needed for station
 *
 * \todo  
 */

/* strong assert validation */
#ifdef ENABLE_DBG_ASSERT
#define DBG_ASSERT(a) dbg_assert(a)
#else /* ENABLE_DBG_ASSERT */
#define DBG_ASSERT(a)
#endif /* ENABLE_DBG_ASSERT */

/** tick type definition; a tick is a period of 40 ns */
typedef unsigned long long tick_t;

/** netclock sci message header */
#define netclock_msg_hdr Network_Clock_Header
typedef struct netclock_msg_hdr netclock_msg_hdr_t;

/** fcall message header */
#define fcall_msg_hdr Function_Call_Header
typedef struct call_msg_hdr fcall_msg_hdr_t;

/** system sci message header */
#define station_msg_hdr System_Header
typedef struct station_msg_hdr station_msg_hdr_t;

/** phy sci message header */
#define phy_msg_hdr Phy_Header
typedef struct phy_msg_hdr phy_msg_hdr_t;

typedef struct sci_msg sci_msg_t;
typedef struct sci_ctx sci_ctx_t;

typedef struct station_ctx station_ctx_t;

typedef struct netclock_callback netclock_callback_t; 
typedef struct netclock_ctx netclock_ctx_t;

typedef struct fcall_ctx fcall_ctx_t;

typedef struct probe_ctx probe_ctx_t;

#endif /*FWD_H_*/