I am going to offer an API description and code samples to 3rd parties so they can integrate their software with the one developed by the company i’m working for.
I think I should include some kind of disclaimer in source code files headers and some kind of license terms.
We want to allow them to modify the code but not to redistribute it without our agreement. And we want to discharge responsibility for any consequences of using the provided code.
What do you suggest?