modded version Dirk-Willem van Gulik's Bonjour/Zerconf library http://mbed.org/users/dirkx/code/Bonjour/
Fork of Bonjour by
lwip/arch/sys_arch.h@8:275256b5d807, 2014-10-16 (annotated)
- Committer:
- casiotone401
- Date:
- Thu Oct 16 14:13:21 2014 +0000
- Revision:
- 8:275256b5d807
- Parent:
- 0:355018f44c9f
minor change
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dirkx | 0:355018f44c9f | 1 | /* |
dirkx | 0:355018f44c9f | 2 | * Author: Adam Dunkels <adam@sics.se> |
dirkx | 0:355018f44c9f | 3 | * |
dirkx | 0:355018f44c9f | 4 | */ |
dirkx | 0:355018f44c9f | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
dirkx | 0:355018f44c9f | 6 | #define __LWIP_SYS_ARCH_H__ |
dirkx | 0:355018f44c9f | 7 | |
dirkx | 0:355018f44c9f | 8 | typedef unsigned int u32_t; |
dirkx | 0:355018f44c9f | 9 | |
dirkx | 0:355018f44c9f | 10 | #ifdef __cplusplus |
dirkx | 0:355018f44c9f | 11 | extern "C" { |
dirkx | 0:355018f44c9f | 12 | #endif |
dirkx | 0:355018f44c9f | 13 | |
dirkx | 0:355018f44c9f | 14 | //DG 2010 |
dirkx | 0:355018f44c9f | 15 | void sys_init(void); /* To be called first */ |
dirkx | 0:355018f44c9f | 16 | u32_t sys_jiffies(void); /* since power up. */ |
dirkx | 0:355018f44c9f | 17 | |
dirkx | 0:355018f44c9f | 18 | /** Returns the current time in milliseconds, |
dirkx | 0:355018f44c9f | 19 | * may be the same as sys_jiffies or at least based on it. */ |
dirkx | 0:355018f44c9f | 20 | u32_t sys_now(void); |
dirkx | 0:355018f44c9f | 21 | |
dirkx | 0:355018f44c9f | 22 | #ifdef __cplusplus |
dirkx | 0:355018f44c9f | 23 | } |
dirkx | 0:355018f44c9f | 24 | #endif |
dirkx | 0:355018f44c9f | 25 | |
dirkx | 0:355018f44c9f | 26 | |
dirkx | 0:355018f44c9f | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |