aboutsummaryrefslogtreecommitdiffstats
path: root/lib/psitime.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-03-18 05:01:40 +0000
committerFritz Elfert <felfert@to.com>2002-03-18 05:01:40 +0000
commit23f25b04b95f08f5fc3aeaf9ea745326246dec9f (patch)
treedbd68bb6a5e228efa95dbfb18fa69c563925163c /lib/psitime.h
parent38fc74f68c90aff4909660b89a9c233eac16f626 (diff)
downloadplptools-23f25b04b95f08f5fc3aeaf9ea745326246dec9f.tar.gz
plptools-23f25b04b95f08f5fc3aeaf9ea745326246dec9f.tar.bz2
plptools-23f25b04b95f08f5fc3aeaf9ea745326246dec9f.zip
- made kpsion SIBO-aware
- Added SIBO-related stuff in PsiTime - Added new class PsiProcess, renamed rpcs:queryDrive to queryPrograms and changed it accordingly - Adapted kspion, plpbackup, plpnfsd and plpftp to use queryPrograms - Several cleanups in rfsv16
Diffstat (limited to 'lib/psitime.h')
-rw-r--r--lib/psitime.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/psitime.h b/lib/psitime.h
index 587faaf..605d531 100644
--- a/lib/psitime.h
+++ b/lib/psitime.h
@@ -3,7 +3,7 @@
*
* This file is part of plptools.
*
- * Copyright (C) 2000-2001 Fritz Elfert <felfert@to.com>
+ * Copyright (C) 2000-2002 Fritz Elfert <felfert@to.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -192,6 +192,13 @@ public:
/**
* Modifies the value of this instance.
*
+ * @param stime The new SIBO time representation.
+ */
+ void setSiboTime(u_int32_t stime);
+
+ /**
+ * Modifies the value of this instance.
+ *
* @param _ptvHi The high 32 bits of a Psion time.
* @param _ptvLo The low 32 bits of a Psion time.
*/
@@ -242,6 +249,14 @@ public:
/**
* Retrieves the instance's current value
+ * in SIBO time format.
+ *
+ * @returns The instance's current time as SIBO time.
+ */
+ u_int32_t getSiboTime();
+
+ /**
+ * Retrieves the instance's current value
* in Psion time format.
*
* @returns The instance's current time a Psion struct psi_timeval_t.