IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2005, 9:34:34 AM (21 years ago)
Author:
eugene
Message:

pcontrol dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/JobID.c

    r3187 r3203  
    11# include "pcontrol.h"
    2 
    3 typedef unsigned long long IDtype;
    42
    53static IDtype CurrentJobID  = 0;
     
    75
    86/* for now, no persistence : we could use the date/time to seed the upper byte(s) if needed */
    9 InitIDs () {
     7void InitIDs () {
    108  CurrentJobID = 0;
    119  CurrentHostID = 0;
     
    3230void PrintID (FILE *f, IDtype ID) {
    3331
     32  unsigned short int word0, word1, word2, word3;
     33
    3434  word0 = 0xffff & ID;
    3535  word1 = 0xffff & (ID >> 16);
Note: See TracChangeset for help on using the changeset viewer.