configure_function
rc = configure_function(fn, dev);
pos+=configure_function(buf+pos, &function_len);