add: sgc_ecmd.h
re-done: format with indent.sh