/* init.c - initialize shell backend */ #include #include #include #include "slap.h" #include "shell.h" shell_back_init( Backend *be ) { struct shellinfo *si; si = (struct shellinfo *) ch_calloc( 1, sizeof(struct shellinfo) ); be->be_private = si; }