Changed the BOOL to BOOLEAN
Prototypes of the public API functions
Public API implementation