Add function prototypes for iOS