summaryrefslogtreecommitdiff
path: root/cleopatre/devkit/tests/plcd/utests/inc/plcd_utests.h
blob: 75896f17ad90905db2e767798deae4119d2ff9a7 (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
#ifndef mme_utests_h
#define mme_utests_h
/* Cleopatre project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    mme_utests.h
 * \brief   interfaces for unitary tests of libMME
 * \ingroup Cleopatre - LibMME
 *
 * this file content interfaces and exported macros, variables... For the
 * unitary tests of libMME
 */

#include <sys/types.h>
#include "libmme.h"
#include "spidlib.h"
#include "plcd.h"

/* VARIABLE STUB */
#define NETLINK_PLC NETLINK_ROUTE   /* to enable a compilation on X86 */

/* FUNCTION STUB */
inline static int hpav_init (plcd_ctx_t *plcd_ctx)
{
    return 0;
}

static inline spidlib_error_t utests_spidlib_system_get_nvram(spc300_nvram_t *nvram)
{
    return SPIDLIB_SUCCESS;
}

/* PLCD FUNCTION DECLARATIONS */
/* plcd.c*/
int plcd_init (plcd_ctx_t *ctx);
void plcd_uninit (plcd_ctx_t *ctx);

#endif /* mme_utests_h */