#define assert(expression)
void cwd_set(cwd_t *cwd, const path_t *newPath)
Set the current working directory.
void cwd_init(cwd_t *cwd)
Initialize a CWD structure.
void cwd_clear(cwd_t *cwd)
Clear the current working directory.
path_t cwd_get(cwd_t *cwd, namespace_t *ns)
Get the current working directory.
void cwd_deinit(cwd_t *cwd)
Deinitialize a CWD structure.
void namespace_get_root(namespace_t *ns, path_t *out)
Get the root path of a namespace.
void path_put(path_t *path)
Put a path.
void path_copy(path_t *dest, const path_t *src)
Copy a path.
#define PATH_EMPTY
Helper to create an empty path.
static void lock_init(lock_t *lock)
Initializes a lock.
static void lock_release(lock_t *lock)
Releases a lock.
static void lock_acquire(lock_t *lock)
Acquires a lock, blocking until it is available.
#define NULL
Pointer error value.