Show
Ignore:
Timestamp:
05/20/10 16:05:25 (2 years ago)
Author:
mwhitworth
Message:

Add to TCP/IP stack.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/netchannel/include/timer.h

    r2084 r2085  
    3636void Sleep(int milliSeconds); 
    3737 
     38/* Parameters for the system calls */ 
     39#define TIMER_USER_PERIODIC             0x01 
     40 
     41struct UserTimerSpec 
     42{ 
     43        DWORD secs, usecs; 
     44}; 
     45 
     46struct UserTimer 
     47{ 
     48        int flags; 
     49        void* data; 
     50        void (*func)(void* data); 
     51}; 
     52 
     53struct KeTimer 
     54{ 
     55        struct UserTimer uInfo; 
     56        struct Timer timer; 
     57        struct Thread* thread; 
     58}; 
     59 
     60struct Process; 
     61int TimerProcessRemove(struct Process* current); 
     62 
    3863#endif