Remove inline declaration for buffer functions
Add accessor macros for buffer string
Add new declarations for alloc and block getter