This library is stripped down version of NetServices library. HTTP server and client function is NOT supported.
lwip/arch/sys_arch.h@0:dcf3c92487ca, 2011-07-20 (annotated)
- Committer:
- idinor
- Date:
- Wed Jul 20 11:45:39 2011 +0000
- Revision:
- 0:dcf3c92487ca
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
idinor | 0:dcf3c92487ca | 1 | /* |
idinor | 0:dcf3c92487ca | 2 | * Author: Adam Dunkels <adam@sics.se> |
idinor | 0:dcf3c92487ca | 3 | * |
idinor | 0:dcf3c92487ca | 4 | */ |
idinor | 0:dcf3c92487ca | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
idinor | 0:dcf3c92487ca | 6 | #define __LWIP_SYS_ARCH_H__ |
idinor | 0:dcf3c92487ca | 7 | |
idinor | 0:dcf3c92487ca | 8 | typedef unsigned int u32_t; |
idinor | 0:dcf3c92487ca | 9 | |
idinor | 0:dcf3c92487ca | 10 | #ifdef __cplusplus |
idinor | 0:dcf3c92487ca | 11 | extern "C" { |
idinor | 0:dcf3c92487ca | 12 | #endif |
idinor | 0:dcf3c92487ca | 13 | |
idinor | 0:dcf3c92487ca | 14 | //DG 2010 |
idinor | 0:dcf3c92487ca | 15 | void sys_init(void); /* To be called first */ |
idinor | 0:dcf3c92487ca | 16 | u32_t sys_jiffies(void); /* since power up. */ |
idinor | 0:dcf3c92487ca | 17 | |
idinor | 0:dcf3c92487ca | 18 | /** Returns the current time in milliseconds, |
idinor | 0:dcf3c92487ca | 19 | * may be the same as sys_jiffies or at least based on it. */ |
idinor | 0:dcf3c92487ca | 20 | u32_t sys_now(void); |
idinor | 0:dcf3c92487ca | 21 | |
idinor | 0:dcf3c92487ca | 22 | #ifdef __cplusplus |
idinor | 0:dcf3c92487ca | 23 | } |
idinor | 0:dcf3c92487ca | 24 | #endif |
idinor | 0:dcf3c92487ca | 25 | |
idinor | 0:dcf3c92487ca | 26 | |
idinor | 0:dcf3c92487ca | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |