aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rpcs32.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpcs32.h')
-rw-r--r--lib/rpcs32.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/rpcs32.h b/lib/rpcs32.h
index 9fc9ebb..5adf829 100644
--- a/lib/rpcs32.h
+++ b/lib/rpcs32.h
@@ -42,11 +42,9 @@ class rpcs32 : public rpcs {
public:
Enum<rfsv::errs> getCmdLine(const char *, string &);
Enum<rfsv::errs> getMachineInfo(machineInfo &);
- Enum<rfsv::errs> configOpen(void);
- Enum<rfsv::errs> configRead(void);
-#if 0
- Enum<rfsv::errs> closeHandle(int);
-#endif
+ Enum<rfsv::errs> configRead(u_int32_t, bufferStore &);
+ Enum<rfsv::errs> configWrite(bufferStore);
+ Enum<rfsv::errs> closeHandle(u_int16_t);
Enum<rfsv::errs> regOpenIter(u_int32_t uid, char *match, u_int16_t &handle);
Enum<rfsv::errs> regReadIter(u_int16_t handle);
#if 0
@@ -54,13 +52,14 @@ class rpcs32 : public rpcs {
Enum<rfsv::errs> regRead(void);
Enum<rfsv::errs> regDelete(void);
Enum<rfsv::errs> setTime(void);
- Enum<rfsv::errs> configOpen(void);
- Enum<rfsv::errs> configRead(void);
- Enum<rfsv::errs> configWrite(void);
Enum<rfsv::errs> queryOpen(void);
Enum<rfsv::errs> queryRead(void);
Enum<rfsv::errs> quitServer(void);
#endif
+
+protected:
+ Enum<rfsv::errs> configOpen(u_int16_t &, u_int32_t);
+
private:
rpcs32(ppsocket *);
};