What are the functions of RBI?

What are the functions of RBI?