extern void wgt_addref(struct wgt *wgt);
extern void wgt_unref(struct wgt *wgt);
extern int wgt_connect(struct wgt *wgt, const char *pathname);
extern void wgt_addref(struct wgt *wgt);
extern void wgt_unref(struct wgt *wgt);
extern int wgt_connect(struct wgt *wgt, const char *pathname);