summaryrefslogtreecommitdiff
path: root/cesar/interface/interface.h
diff options
context:
space:
mode:
authorschodet2008-09-15 14:05:23 +0000
committerschodet2008-09-15 14:05:23 +0000
commit506b61ced0f5a925adafbfd77a7ff2bcd7603ec3 (patch)
tree75e56d680482efaa413e9e61b813866b4581125a /cesar/interface/interface.h
parent1bd2579220386207345397b8ce21c950b790d065 (diff)
* host, interface:
- cleaned-up host/interface/fcall compilation. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2969 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/interface/interface.h')
-rw-r--r--cesar/interface/interface.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/cesar/interface/interface.h b/cesar/interface/interface.h
index 1e06ad2700..aeb8f23b66 100644
--- a/cesar/interface/interface.h
+++ b/cesar/interface/interface.h
@@ -9,7 +9,7 @@
* }}} */
/**
* \file interface/interface.h
- * \brief Inteface module public functions.
+ * \brief Interface module public functions.
* \ingroup interface
*
* The interface module allows the communication between Actors and
@@ -20,6 +20,8 @@
#include "cl/cl.h"
#include "mac/sar/sar.h"
+#include "config/interface.h"
+
#include "interface/interface_module.h"
#include "interface/forward.h"
@@ -165,6 +167,8 @@ void interface_beacon_add (interface_t *ctx, pb_beacon_t *pb,
void
interface_hle_send (interface_t *ctx, uint *data, uint length);
+#if CONFIG_INTERFACE_FCALL
+
/**
* Called by the interface fcall module when the buffer has been used.
* This allows the HLE to know which buffer is newly available to be used or
@@ -176,4 +180,6 @@ interface_hle_send (interface_t *ctx, uint *data, uint length);
void
interface_hle_send_done (interface_t *ctx, u8 *buffer);
+#endif /* CONFIG_INTERFACE_FCALL */
+
#endif /* interface_interface_h */