summaryrefslogtreecommitdiff
path: root/cesar/cp2/cl_interf/inc/cl_interf_msg.h
blob: e9a6bb5c210ea5360277f1ee25205bda1583f11b (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
#ifndef cp2_cl_interf_cl_interf_msg_h
#define cp2_cl_interf_cl_interf_msg_h
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cp2/cl_interf/cl_interf_msg.h
 * \brief   Message structure to store the data in the mailbox. 
 * \ingroup cp_cl_interf 
 *
 */

struct cp_cl_interf_msg_t
{
    /**
     * The buffer containing the MME.
     */
    u8 * buffer;

    /**
     * The MME length.
     */
    uint length;

    /**
     * The MFS used to receive the MME from the PWL only, NULL if coming
     * from the HLE.
     */
    mfs_rx_t * mfs;

    /**
     * Indicate if the MME was received as encrypted or not.
     */
    bool hard_encrypt;

    /**
     * Data used by the CL.
     */
    void * cl_data;
};
typedef struct cp_cl_interf_msg_t cp_cl_interf_msg_t;

#endif /* cp2_cl_interf_cl_interf_msg_h */