A function can return only a single value, so if you want to pass back two values from a function, you can use:
1) a structure
I'd probably go with 3).
The Arduino-preprocessor cannot handle reference parameters in sketches (yet?).
There is a bug-report for this (google-code-servers are currently down
I can't set a link to the issue).
So only structure and pointer solutions will work.