summaryrefslogtreecommitdiff
path: root/rtl-obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtl-obj.h')
-rw-r--r--rtl-obj.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/rtl-obj.h b/rtl-obj.h
index 2f7c403..7e200d6 100644
--- a/rtl-obj.h
+++ b/rtl-obj.h
@@ -281,6 +281,22 @@ bool rtems_rtl_obj_free (rtems_rtl_obj_t* obj);
bool rtems_rtl_obj_unresolved (rtems_rtl_obj_t* obj);
/**
+ * Parses a filename and returns newly allocated strings with the archive name,
+ * object name, and the object's offset
+ *
+ * @param name The filename of the object
+ * @param aname Address of a string pointer that holds the archive name
+ * @param oname Address of a string pointer that holds the object name
+ * @param ooffset Address of an int that holds the object offset
+ * @retval true The parsing was successful
+ * @retval false The parsing was unsuccessful
+ */
+bool rtems_rtl_parse_name (const char* name,
+ const char** aname,
+ const char** oname,
+ int* ooffset);
+
+/**
* Load the object file.
*
* @param obj The object file's descriptor.