diff options
author | lanfer <lanfer@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2002-03-08 09:33:25 +0000 |
---|---|---|
committer | lanfer <lanfer@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2002-03-08 09:33:25 +0000 |
commit | 75cc8f682ed1965c8bd1f235a5242beba39daa14 (patch) | |
tree | dd2a1683675a0671618cedbebf0569874471122d /src/Storage.c | |
parent | 09fcf63031884f11dd30f2c4559868137d21e9a6 (diff) |
PUGH_ReturnTotalStorage(void) and PUGH_ReturnMaxStorage(void) return the total/maximal storage allocted by PUGH
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@371 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/Storage.c')
-rw-r--r-- | src/Storage.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/Storage.c b/src/Storage.c index 0c97715..e3d4aa9 100644 --- a/src/Storage.c +++ b/src/Storage.c @@ -534,6 +534,44 @@ int PUGH_DisableGroupStorage (cGH *GH, const char *groupname) return (retval); } +/*@@ + @routine PUGH_ReturnTotalStorage + @author Gerd Lanfermann + @date 19 Feb 2002 + @desc + Return static float totalstorage + @enddesc + + @returntype float + @returndesc + total storage + @endreturndesc +@@*/ + +float PUGH_ReturnTotalStorage(void) +{ + return(totalstorage); +} + +/*@@ + @routine PUGH_ReturnMaxStorage + @author Gerd Lanfermann + @date 19 Feb 2002 + @desc + Return static float maxstorage + @enddesc + + @returntype float + @returndesc + maximum storage + @endreturndesc +@@*/ + +float PUGH_ReturnMaxStorage(void) +{ + return(maxstorage); +} + /******************************************************************** ******************** Internal Routines ************************ |