derby,
foo.c is a program I want to use and call from using Inline. foo.c also uses a library so that foo.c can function. The C code is very long and very complex. I do not want to write it to the bottom of my Inline program.
If foo.c contains a "main" function you will likely run into linker problems... You may want to abstract out some of the functionaly of the foo.c into its own library -- this will give you the greatest flexibility.