Added syscalls for the index functions.
Corrected the prototype for fs_rewind_index_dir() (don't copy and paste...) Also checked in the syscall definitions for the signal stuff to save Angelo some work. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1562 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1f87d2b261
commit
146a3000ee
@ -32,7 +32,7 @@ extern int fs_stat_index(dev_t device, const char *name, struct index_info *ind
|
||||
extern DIR *fs_open_index_dir(dev_t device);
|
||||
extern int fs_close_index_dir(DIR *indexDirectory);
|
||||
extern struct dirent *fs_read_index_dir(DIR *indexDirectory);
|
||||
extern void fs_rewind_attr_dir(DIR *indexDirectory);
|
||||
extern void fs_rewind_index_dir(DIR *indexDirectory);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -112,6 +112,13 @@ enum {
|
||||
SYSCALL_WRITE_STAT, /* 100 */
|
||||
SYSCALL_REMOVE_ATTR,
|
||||
SYSCALL_RENAME_ATTR,
|
||||
SYSCALL_RETURN_FROM_SIGNAL,
|
||||
SYSCALL_KILL,
|
||||
SYSCALL_SIGACTION, /* 105 */
|
||||
SYSCALL_OPEN_INDEX_DIR,
|
||||
SYSCALL_CREATE_INDEX,
|
||||
SYSCALL_READ_INDEX_STAT,
|
||||
SYSCALL_REMOVE_INDEX,
|
||||
};
|
||||
|
||||
int syscall_dispatcher(unsigned long call_num, void *arg_buffer, uint64 *call_ret);
|
||||
|
@ -85,6 +85,10 @@ int sys_create_attr(int fd, const char *name, uint32 type, int openMode);
|
||||
int sys_open_attr(int fd, const char *name, int openMode);
|
||||
int sys_remove_attr(int fd, const char *name);
|
||||
int sys_rename_attr(int fromFile, const char *fromName, int toFile, const char *toName);
|
||||
int sys_open_index_dir(dev_t device);
|
||||
int sys_create_index(dev_t device, const char *name, uint32 type, uint32 flags);
|
||||
int sys_read_index_stat(dev_t device, const char *name, struct stat *stat);
|
||||
int sys_remove_index(dev_t device, const char *name);
|
||||
int sys_getcwd(char *buffer, size_t size);
|
||||
int sys_setcwd(int fd, const char *path);
|
||||
|
||||
@ -118,6 +122,10 @@ int user_create_attr(int fd, const char *name, uint32 type, int openMode);
|
||||
int user_open_attr(int fd, const char *name, int openMode);
|
||||
int user_remove_attr(int fd, const char *name);
|
||||
int user_rename_attr(int fromFile, const char *fromName, int toFile, const char *toName);
|
||||
int user_open_index_dir(dev_t device);
|
||||
int user_create_index(dev_t device, const char *name, uint32 type, uint32 flags);
|
||||
int user_read_index_stat(dev_t device, const char *name, struct stat *stat);
|
||||
int user_remove_index(dev_t device, const char *name);
|
||||
int user_getcwd(char *buffer, size_t size);
|
||||
int user_setcwd(int fd, const char *path);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user