~ubuntu-branches/ubuntu/trusty/cctools/trusty-proposed

« back to all changes in this revision

Viewing changes to parrot/src/pfs_table.h

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2012-06-15 08:30:02 UTC
  • mfrom: (9.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20120615083002-r5nq7iowcv6bm35n
Tags: 3.5.0-1
* New upstream release.
* Remove obsolete patches 'missing_cflags' and 'python_compat'. They have
  been merged upstream.
* Remove DM-upload flag, not needed anymore.
* Bumped Standards-version to 3.9.3, no changes necessary.
* Do not install the new 'apps' binaries. They carry language-specific
  filename extensions, and upstream was asked if renaming is possible. Until
  this is decided they won't be installed to avoid changing the API twice.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#include "pfs_types.h"
12
12
#include "pfs_refcount.h"
13
13
#include "pfs_name.h"
 
14
#include "pfs_mmap.h"
14
15
 
15
16
class pfs_file;
16
17
class pfs_pointer;
103
104
        void    follow_symlink( struct pfs_name *pname, int depth = 0 );
104
105
        int     resolve_name( const char *cname, pfs_name *pname, bool do_follow_symlink = true, int depth = 0 );
105
106
 
 
107
        /* mmap operations */
 
108
        pfs_size_t mmap_create_object( pfs_file *file, pfs_size_t file_offset, pfs_size_t length, int prot, int flags );
 
109
        pfs_size_t mmap_create( int fd, pfs_size_t file_offset, pfs_size_t length, int prot, int flags );
 
110
        int        mmap_update( pfs_size_t logical_address, pfs_size_t channel_address );
 
111
        int        mmap_delete( pfs_size_t logical_address, pfs_size_t length );
 
112
        void       mmap_print();
 
113
 
106
114
        pfs_file * open_object( const char *path, int flags, mode_t mode, int force_cache );
107
115
 
108
116
        int find_empty( int lowest );
120
128
        pfs_pointer **pointers;
121
129
        int         *fd_flags;
122
130
        char        working_dir[PFS_PATH_MAX];
 
131
        pfs_mmap    *mmap_list;
 
132
 
123
133
};
124
134
 
125
135
#endif