summaryrefslogtreecommitdiff
path: root/cleopatre/devkit/plcd/inc/plcd_multicast.h
blob: 33e60639b7608a9c7f2214e89ae8db98b65006ab (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
#ifndef INC_PLCD_MULTICAST_H
#define INC_PLCD_MULTICAST_H
/* Cleopatre project {{{
 *
 * Copyright (C) 2013 MStar Semiconductor
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    devkit/plcd/inc/plcd_multicast.h
 * \ingroup plcd
 */
#include "plcd.h"
#include "libspid.h"

/**
 * Tell whether the multicast info file was updated since last check.
 * \param  ctx  The context;
 * \return  LIBSPID_TRUE, if the multicast info has been updated.
 *          LIBSPID_FALSE, if no update since last check.
 */
libspid_boolean_t
plcd_multicast_info_updated (plcd_ctx_t *ctx);

/**
 * Process the multicast info.
 * \param  ctx  the plcd context.
 */
void
plcd_multicast_process (plcd_ctx_t *ctx);

#endif /* INC_PLCD_MULTICAST_H */