Refactor how variables are passed to code, remove need for generated defs.h

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
ftpcmd.c: Correct fix for 14ce9af, use inttypes.h macros as format specifiers.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>