Searched refs:path_pushd (Results 1 – 3 of 3) sorted by last modified time
/dports/net-p2p/c-lightning/lightning-0.10.2/ccan/ccan/tal/path/ |
H A D | path.c | 63 struct path_pushd { struct 67 static void pushd_destroy(struct path_pushd *pushd) in pushd_destroy() argument 72 struct path_pushd *path_pushd(const tal_t *ctx, const char *dir) in path_pushd() function 74 struct path_pushd *old = tal(ctx, struct path_pushd); in path_pushd() 97 bool path_popd(struct path_pushd *olddir) in path_popd() 105 struct path_pushd { struct 109 struct path_pushd *path_pushd(const tal_t *ctx, const char *dir) in path_pushd() argument 111 struct path_pushd *old = tal(ctx, struct path_pushd); in path_pushd() 130 bool path_popd(struct path_pushd *olddir) in path_popd() 145 struct path_pushd *olddir; in path_canon() [all …]
|
H A D | path.h | 63 struct path_pushd *path_pushd(const tal_t *ctx, const char *dir TAKES); 71 bool path_popd(struct path_pushd *olddir);
|
/dports/net-p2p/c-lightning/lightning-0.10.2/ccan/ccan/tal/path/test/ |
H A D | run-pushd.c | 7 struct path_pushd *pd; in main() 17 pd = path_pushd(NULL, "non-existent-dir"); in main() 22 pd = path_pushd(ctx, take(tal_strdup(ctx, "non-existent-dir"))); in main() 28 pd = path_pushd(ctx, take(NULL)); in main() 33 pd = path_pushd(ctx, "/tmp"); in main() 47 pd = path_pushd(ctx, take(tal_strdup(ctx, "/tmp"))); in main() 64 pd = path_pushd(ctx, path1); in main()
|