Problems while upgrading libraries. using c api.

we have wrapped c api into our forte 3.m.0.2 environment.while building libraries with webmethods 4.0.2 we are using awtypes.h and awadminLW.h and in awcommon.h this is the implementation.
virtual struct _BrokerError awInitForThreads(qqsh_Task *);


But with new version I dont see a awadminLW.h and the implementation for the above method has changed like
AWPublic BrokerError AWCall awInitForThreads(void);


Looks like signatures of some methods and some header file names also have been changed. Can some one help me in upgrading webmethods ?

Thanks
Chandra