Add buffer related function prototypes