Change : data pointer in data_t is made const. some other function signatures are done.