summaryrefslogtreecommitdiff
path: root/rtl-rap.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-01-12 07:43:42 +1100
committerChris Johns <chrisj@rtems.org>2013-01-12 07:43:42 +1100
commit76172ffa93a1205c82e0fb3aa4bc69788240a981 (patch)
tree6e5252c16a06b3f1f8423b6befeb06bc1a08b380 /rtl-rap.h
parentbade51b70fa86b067f8f6a1cb4df5ff62e6d4b67 (diff)
Add format signatures. Add find files.
Add a format signature so loaded files can be managed by format type. Move the find file code to a common routine to allow reuse.
Diffstat (limited to 'rtl-rap.h')
-rw-r--r--rtl-rap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rtl-rap.h b/rtl-rap.h
index d937018..12cc95a 100644
--- a/rtl-rap.h
+++ b/rtl-rap.h
@@ -40,6 +40,13 @@ bool rtems_rtl_rap_file_check (rtems_rtl_obj_t* obj, int fd);
*/
bool rtems_rtl_rap_file_load (rtems_rtl_obj_t* obj, int fd);
+/**
+ * The RAP format signature handler.
+ *
+ * @return rtems_rtl_loader_format_t* The format's signature.
+ */
+rtems_rtl_loader_format_t* rtems_rtl_rap_file_sig (void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */