edis smart.c file