int boot_(Module m) { calls = NULL; ncalls = 0; arcs = NULL; narcs = 0; stack = NULL; return addwrapper(m, wrapper); }
int boot_(Module m) { addhookfunc("complete", (Hookfn) do_completion); addhookfunc("before_complete", (Hookfn) before_complete); addhookfunc("after_complete", (Hookfn) after_complete); addhookfunc("accept_completion", (Hookfn) accept_last); addhookfunc("list_matches", (Hookfn) list_matches); addhookfunc("invalidate_list", (Hookfn) invalidate_list); (void)addhookdefs(m, comphooks, sizeof(comphooks)/sizeof(*comphooks)); return addwrapper(m, wrapper); }
int boot_(Module m) { emptytable = newparamtable(1, "private"); return addwrapper(m, wrapper); }