code: def get_all_func_names_from_lib(lib):
      """return flat string of all function used in lib"""
      res = []
      for _, v in lib.items():
          if isinstance(v, dict):
              res += get_all_func_names_from_lib(v)
          elif isinstance(v, list):
              for elem in v:
                  e = elem.split("(")
                  if len(e) < 2:
                      continue  # not a function
                  fname_part = e[0].strip().split(" ")
                  fname = fname_part[-1]
                  if fname:
                      res += [fname]
                  else:
                      raise NameError(
                          "gen_lib : weird function: " + str(e)
                      )
  
      return res
  
file_path: aubio/python/lib/gen_external.py
imports: import distutils.ccompiler
  import sys
  import os
  import subprocess
  import glob
  from distutils.sysconfig import customize_compiler
  from gen_code import MappedObject
label_desc: Use image node_id 6 for calling a global function with example usage: get_all_func_names_from_lib(lib) and returns: res