In the doc of Etel3rdParty of S60 3rd ed, there are the following methods declarations:

IMPORT_C TInt EstablishDataCall(RComm &aDataChannel, const TDesC &aDialNumber);

EstablishDataCall()
IMPORT_C void EstablishDataCall(TRequestStatus &aRequestStatus, RComm &aDataChannel, const TDesC &aDialNumber);


In the header, there are different methods declaration:


IMPORT_C TInt EstablishDataCall(TInt& aDataChannel, const TDesC& aDialNumber);
IMPORT_C void EstablishDataCall(TRequestStatus& aRequestStatus, TInt& aDataChannel, const TDesC& aDialNumber);


So what is correct and what is wrong.