|
@@ -1543,6 +1543,18 @@ Object *object_resolve_path(const char *path, bool *ambiguous);
|
|
Object *object_resolve_path_type(const char *path, const char *typename,
|
|
Object *object_resolve_path_type(const char *path, const char *typename,
|
|
bool *ambiguous);
|
|
bool *ambiguous);
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * object_resolve_path_at:
|
|
|
|
+ * @parent: the object in which to resolve the path
|
|
|
|
+ * @path: the path to resolve
|
|
|
|
+ *
|
|
|
|
+ * This is like object_resolve_path(), except paths not starting with
|
|
|
|
+ * a slash are relative to @parent.
|
|
|
|
+ *
|
|
|
|
+ * Returns: The resolved object or NULL on path lookup failure.
|
|
|
|
+ */
|
|
|
|
+Object *object_resolve_path_at(Object *parent, const char *path);
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* object_resolve_path_component:
|
|
* object_resolve_path_component:
|
|
* @parent: the object in which to resolve the path
|
|
* @parent: the object in which to resolve the path
|