Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Scott <conrad.scott@dsl.pipex.com>2002-07-02 14:58:25 +0400
committerConrad Scott <conrad.scott@dsl.pipex.com>2002-07-02 14:58:25 +0400
commit7607be6221151ab471444db3a898c813c208a761 (patch)
tree03fac7b3c59a46432abe7f5611e6f174fbcecb82 /winsup/cygwin/fhandler.h
parent7365f71d651705dcd560b2be95e4195580a1554f (diff)
Merged changes from HEAD
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index ebb07a8df..5727d24ab 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -1090,7 +1090,7 @@ class fhandler_virtual : public fhandler_base
int open (path_conv *, int flags, mode_t mode = 0);
int close (void);
int __stdcall fstat (struct stat *buf, path_conv *pc) __attribute__ ((regparm (3)));
- virtual void fill_filebuf ();
+ virtual bool fill_filebuf ();
};
class fhandler_proc: public fhandler_virtual
@@ -1104,11 +1104,13 @@ class fhandler_proc: public fhandler_virtual
int open (path_conv *real_path, int flags, mode_t mode = 0);
int __stdcall fstat (struct __stat64 *buf, path_conv *) __attribute__ ((regparm (3)));
- void fill_filebuf ();
+ bool fill_filebuf ();
};
class fhandler_registry: public fhandler_proc
{
+ private:
+ char *value_name;
public:
fhandler_registry ();
int exists();
@@ -1120,22 +1122,21 @@ class fhandler_registry: public fhandler_proc
int open (path_conv *real_path, int flags, mode_t mode = 0);
int __stdcall fstat (struct __stat64 *buf, path_conv *) __attribute__ ((regparm (3)));
- HKEY open_key(const char *name, REGSAM access = KEY_READ, bool isValue = false);
- void fill_filebuf ();
+ bool fill_filebuf ();
+ int close (void);
};
class pinfo;
class fhandler_process: public fhandler_proc
{
pid_t pid;
- pinfo *p;
public:
fhandler_process ();
int exists();
struct dirent *readdir (DIR *);
int open (path_conv *real_path, int flags, mode_t mode = 0);
int __stdcall fstat (struct __stat64 *buf, path_conv *) __attribute__ ((regparm (3)));
- void fill_filebuf ();
+ bool fill_filebuf ();
};
typedef union