summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/inline/rtems/extension.inl
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 10:04:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 15:12:51 +0200
commitac252bdce027a45a3e7094e92508a9d8f9525720 (patch)
tree916ba44927b88d633da6f13eea181163a6d989d8 /cpukit/sapi/inline/rtems/extension.inl
parentsapi: Merge rbtree API into one file (diff)
downloadrtems-ac252bdce027a45a3e7094e92508a9d8f9525720.tar.bz2
sapi: Create extension implementation header
Move implementation specific parts of extension.h and extension.inl into new header file extensionimpl.h. The extension.h contains now only the application visible API.
Diffstat (limited to '')
-rw-r--r--cpukit/sapi/include/rtems/extensionimpl.h (renamed from cpukit/sapi/inline/rtems/extension.inl)27
1 files changed, 25 insertions, 2 deletions
diff --git a/cpukit/sapi/inline/rtems/extension.inl b/cpukit/sapi/include/rtems/extensionimpl.h
index 0d0cfc2320..1b80fdfff7 100644
--- a/cpukit/sapi/inline/rtems/extension.inl
+++ b/cpukit/sapi/include/rtems/extensionimpl.h
@@ -15,8 +15,27 @@
* http://www.rtems.com/license/LICENSE.
*/
-#ifndef __EXTENSION_MANAGER_inl
-#define __EXTENSION_MANAGER_inl
+#ifndef _RTEMS_EXTENSIONIMPL_H
+#define _RTEMS_EXTENSIONIMPL_H
+
+#include <rtems/extension.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef SAPI_EXT_EXTERN
+#define SAPI_EXT_EXTERN extern
+#endif
+
+SAPI_EXT_EXTERN Objects_Information _Extension_Information;
+
+/**
+ * @brief Initialize extension manager.
+ *
+ * This routine initializes all extension manager related data structures.
+ */
+void _Extension_Manager_initialization(void);
RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Allocate( void )
{
@@ -46,5 +65,9 @@ RTEMS_INLINE_ROUTINE bool _Extension_Is_null (
return ( the_extension == NULL );
}
+#ifdef __cplusplus
+}
+#endif
+
#endif
/* end of include file */