summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Carré2013-03-11 13:14:35 +0100
committerThierry Carré2013-03-19 15:02:34 +0100
commit7846c969d13346c0852b3b52929e1ae33ddc4412 (patch)
tree0aff5dac48e18edd7cf732abc076fe50167c699a
parente93eccc76026fa21af2b2a35f4a1bf5830108452 (diff)
cleo/devkit/plcd: declare prototypes of plcd_multicast
-rw-r--r--cleopatre/devkit/plcd/inc/plcd.h14
-rw-r--r--cleopatre/devkit/plcd/inc/plcd_multicast.h18
-rw-r--r--cleopatre/devkit/plcd/src/plcd_process.c1
3 files changed, 19 insertions, 14 deletions
diff --git a/cleopatre/devkit/plcd/inc/plcd.h b/cleopatre/devkit/plcd/inc/plcd.h
index d1dcbc1fdb..68f053dac6 100644
--- a/cleopatre/devkit/plcd/inc/plcd.h
+++ b/cleopatre/devkit/plcd/inc/plcd.h
@@ -143,18 +143,4 @@ typedef struct
* and has now to be processed. */
extern volatile sig_atomic_t is_process_signal_needed;
-/**
- * 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 /* PLCD_H */
diff --git a/cleopatre/devkit/plcd/inc/plcd_multicast.h b/cleopatre/devkit/plcd/inc/plcd_multicast.h
index 234a288727..33e60639b7 100644
--- a/cleopatre/devkit/plcd/inc/plcd_multicast.h
+++ b/cleopatre/devkit/plcd/inc/plcd_multicast.h
@@ -11,5 +11,23 @@
* \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 */
diff --git a/cleopatre/devkit/plcd/src/plcd_process.c b/cleopatre/devkit/plcd/src/plcd_process.c
index abf37231ce..9020f11a1a 100644
--- a/cleopatre/devkit/plcd/src/plcd_process.c
+++ b/cleopatre/devkit/plcd/src/plcd_process.c
@@ -17,6 +17,7 @@
#include "plcd_process.h"
#include "plcd_stack.h"
#include "plcd_autoswitch.h"
+#include "plcd_multicast.h"
#include <stdlib.h>
#include <stdio.h>