summaryrefslogtreecommitdiff
path: root/cleopatre/devkit/plcd
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/devkit/plcd')
-rw-r--r--cleopatre/devkit/plcd/inc/plcd.h4
-rw-r--r--cleopatre/devkit/plcd/src/plcd_multicast.c (renamed from cleopatre/devkit/plcd/src/plcd_mcast.c)16
-rw-r--r--cleopatre/devkit/plcd/src/plcd_process.c4
3 files changed, 12 insertions, 12 deletions
diff --git a/cleopatre/devkit/plcd/inc/plcd.h b/cleopatre/devkit/plcd/inc/plcd.h
index 75f7404a52..d80ee791cf 100644
--- a/cleopatre/devkit/plcd/inc/plcd.h
+++ b/cleopatre/devkit/plcd/inc/plcd.h
@@ -195,12 +195,12 @@ int plcd_send_recv_drv_mme (const plcd_ctx_t *ctx, const mme_ctx_t *request_ctx,
* \return LIBSPID_TRUE, if the multicast info has been updated.
* LIBSPID_FALSE, if no update since last check.
*/
-libspid_boolean_t plcd_mcast_info_updated (plcd_ctx_t *ctx);
+libspid_boolean_t plcd_multicast_info_updated (plcd_ctx_t *ctx);
/**
* Process the multicast info.
* \param ctx the plcd context.
*/
-void plcd_mcast_process (plcd_ctx_t *ctx);
+void plcd_multicast_process (plcd_ctx_t *ctx);
#endif /* PLCD_H */
diff --git a/cleopatre/devkit/plcd/src/plcd_mcast.c b/cleopatre/devkit/plcd/src/plcd_multicast.c
index 84db28be33..81ad3eb903 100644
--- a/cleopatre/devkit/plcd/src/plcd_mcast.c
+++ b/cleopatre/devkit/plcd/src/plcd_multicast.c
@@ -26,8 +26,8 @@
* \param mcast_info The multicast info. If NULL, empty data will be sent.
*/
static void
-plcd_mcast_send_info (plcd_ctx_t *ctx,
- const libspid_multicast_info_t *mcast_info)
+plcd_multicast_send_info (plcd_ctx_t *ctx,
+ const libspid_multicast_info_t *mcast_info)
{
PLCD_ASSERT (ctx != NULL);
@@ -133,7 +133,7 @@ plcd_mcast_send_info (plcd_ctx_t *ctx,
}
libspid_boolean_t
-plcd_mcast_info_updated (plcd_ctx_t *ctx)
+plcd_multicast_info_updated (plcd_ctx_t *ctx)
{
PLCD_ASSERT (ctx != NULL);
@@ -169,8 +169,8 @@ plcd_mcast_info_updated (plcd_ctx_t *ctx)
* successfully read.
*/
static void
-plcd_mcast_read_file (libspid_multicast_info_t *mcast_info,
- time_t *mcast_last_check)
+plcd_multicast_read_file (libspid_multicast_info_t *mcast_info,
+ time_t *mcast_last_check)
{
PLCD_ASSERT (mcast_info != NULL);
PLCD_ASSERT (mcast_last_check != NULL);
@@ -237,7 +237,7 @@ plcd_mcast_read_file (libspid_multicast_info_t *mcast_info,
}
void
-plcd_mcast_process (plcd_ctx_t *ctx)
+plcd_multicast_process (plcd_ctx_t *ctx)
{
PLCD_ASSERT (ctx != NULL);
@@ -246,7 +246,7 @@ plcd_mcast_process (plcd_ctx_t *ctx)
if (mcast_info != NULL)
{
- plcd_mcast_read_file (mcast_info, &ctx->mcast_last_check);
+ plcd_multicast_read_file (mcast_info, &ctx->mcast_last_check);
}
/* If an error occured, (mcast_info == NULL) or
@@ -255,7 +255,7 @@ plcd_mcast_process (plcd_ctx_t *ctx)
* This will make Cesar stop its filtering. */
/* Send the info to Cesar */
- plcd_mcast_send_info (ctx, mcast_info);
+ plcd_multicast_send_info (ctx, mcast_info);
free (mcast_info);
}
diff --git a/cleopatre/devkit/plcd/src/plcd_process.c b/cleopatre/devkit/plcd/src/plcd_process.c
index 13a36208a7..1f953614e6 100644
--- a/cleopatre/devkit/plcd/src/plcd_process.c
+++ b/cleopatre/devkit/plcd/src/plcd_process.c
@@ -655,8 +655,8 @@ plcd_process_signal (plcd_ctx_t *ctx)
}
/* mcast.info */
- if (plcd_mcast_info_updated (ctx) == LIBSPID_TRUE)
+ if (plcd_multicast_info_updated (ctx) == LIBSPID_TRUE)
{
- plcd_mcast_process (ctx);
+ plcd_multicast_process (ctx);
}
}