int set_listbasepointers(struct Main *main, struct ListBase *lb[])
struct ListBase * which_libbase(struct Main *bmain, short type)
TreeElement * outliner_add_element(SpaceOutliner *space_outliner, ListBase *lb, void *idv, TreeElement *parent, short type, short index, const bool expand)