- sicsutil.c contains code from acces.c and the function DoubleTime

This commit is contained in:
zolliker
2010-01-28 08:40:02 +00:00
parent 969b35d1d7
commit 820db0b52a
2 changed files with 70 additions and 0 deletions

17
sicsutil.h Normal file
View File

@@ -0,0 +1,17 @@
/**
* Some general functions for SICS.
*
* copyright: see file COPYRIGHT
*
*
* Decode privilege text. moved from access.c by M. Zolliker Jan 2010
* @param the text to decode
* @return -1 if code invalid, else the privilege code
*/
int decodeSICSPriv(char *privText);
double DoubleTime(void);
/* returns time since epoch in seconds
the resultion is machine dependent, but mostly better than msec */