add snshare funcs
Merge pull request #15 from bythink/master

20130711