X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=src%2Fwgt.h;h=87648ec34f6b0f1c3d42bcc824be5dcf344667f8;hb=9ab266df6642c6e930e03b3024d7c3d53ef88bbc;hp=81aea1e1a98b8fd5b574168dc65ffdb10a570d72;hpb=63f8720a3e610c0dc37bda3138d2e8de98ec1a78;p=src%2Fapp-framework-main.git diff --git a/src/wgt.h b/src/wgt.h index 81aea1e..87648ec 100644 --- a/src/wgt.h +++ b/src/wgt.h @@ -17,9 +17,13 @@ struct wgt; extern struct wgt *wgt_create(); -extern void wgt_destroy(struct wgt *wgt); +extern struct wgt *wgt_createat(int dirfd, 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); +extern int wgt_connectat(struct wgt *wgt, int dirfd, const char *pathname); extern void wgt_disconnect(struct wgt *wgt); extern int wgt_is_connected(struct wgt *wgt);