Added function prototypes
Merge pull request #2 from amlweems/protocol-defs

Added function prototypes