Update api.c

"setclkb" api command added