There are two versions of self-contained C parm reading modules in src/carnal/smallprm/. exprm.[ch] is intended for people writing graphical displays for Amber, and prm.[ch] gives access to the full force field (neither currently work with Gibbs parm files).
Both of these approaches are freely redistributable.