Changeset b75e929 in mainline for uspace/srv/vfs/vfs.h


Ignore:
Timestamp:
2011-01-26T00:24:57Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a28ab12
Parents:
23882034
Message:

Put the table of open files into the async client data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.h

    r23882034 rb75e929  
    188188#define MAX_OPEN_FILES  128
    189189
    190 extern bool vfs_files_init(void);
    191 extern void vfs_files_done(void);
     190extern void *vfs_client_data_create(void);
     191extern void vfs_client_data_destroy(void *);
     192
    192193extern vfs_file_t *vfs_file_get(int);
    193194extern int vfs_fd_assign(vfs_file_t *file, int fd);
    194195extern int vfs_fd_alloc(bool desc);
    195196extern int vfs_fd_free(int);
    196 
    197 extern void vfs_file_addref(vfs_file_t *);
    198 extern void vfs_file_delref(vfs_file_t *);
    199197
    200198extern void vfs_node_addref(vfs_node_t *);
Note: See TracChangeset for help on using the changeset viewer.