From 23f25b04b95f08f5fc3aeaf9ea745326246dec9f Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Mon, 18 Mar 2002 05:01:40 +0000 Subject: - 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 --- lib/psitime.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'lib/psitime.h') 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 + * Copyright (C) 2000-2002 Fritz Elfert * * 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 @@ -189,6 +189,13 @@ public: */ void setPsiTime(psi_timeval *_ptv); + /** + * 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. * @@ -240,6 +247,14 @@ public: */ time_t getTime(void); + /** + * 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. -- cgit v1.2.3