diff options
Diffstat (limited to 'rtl-obj.h')
-rw-r--r-- | rtl-obj.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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. |