~ubuntu-branches/ubuntu/vivid/cctools/vivid

« back to all changes in this revision

Viewing changes to parrot/src/pfs_location.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2011-05-07 09:05:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110507090500-lqpmdtwndor6e7os
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright (C) 2009- Michael Albrecht and The University of Notre Dame
 
3
This software is distributed under the GNU General Public License.
 
4
See the file COPYING for details.
 
5
*/
 
6
 
 
7
#ifndef PFS_LOCATION_H
 
8
#define PFS_LOCATION_H
 
9
 
 
10
struct list;
 
11
 
 
12
class pfs_location {
 
13
public:
 
14
        pfs_location();
 
15
        virtual ~pfs_location();
 
16
 
 
17
        virtual int append( const char *name );
 
18
        virtual int retrieve( char* buf, int len );
 
19
 
 
20
private:
 
21
        struct list *data;
 
22
};
 
23
 
 
24
void add_to_loc(const char *name, void *loc);
 
25
 
 
26
#endif