process_ref
process_ref(ref, cname, map, key, opts, root, shallow, status);
process_ref(const FN_ref_t *ref, const char *cname, char *map, char *key,