Added sh_*_init_similar functions

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>