6#ifndef HOMECORE_SESSION_H
7#define HOMECORE_SESSION_H
int session_chdir(session_t *session, const char *path)
Change a session's working directory.
session_t * session_set_current(session_t *session)
Make a session current.
int session_init(session_t *session, const user_t *user)
Initialize a session for a user in the user's home directory.
session_t * session_current(void)
Get the current session.
#define VFS_PATH_CAPACITY
Path buffer size including the terminator; paths hold at most 127 bytes.
Definition vfs.h:87
Execution state of one shell session.
Definition session.h:26
const user_t * user
Identity.
Definition session.h:28
int last_status
Status of the last command run in this session.
Definition session.h:32
User identity.
Definition user.h:20
Virtual file system: device nodes, RAM files and directories, mounted filesystems,...