Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
don't change of directory anymore
[src/app-framework-main.git]
/
src
/
wgt.h
diff --git
a/src/wgt.h
b/src/wgt.h
index
81aea1e
..
87648ec
100644
(file)
--- a/
src/wgt.h
+++ b/
src/wgt.h
@@
-17,9
+17,13
@@
struct wgt;
extern struct wgt *wgt_create();
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_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);
extern void wgt_disconnect(struct wgt *wgt);
extern int wgt_is_connected(struct wgt *wgt);