TwitterExample with newer library (2012Aug)
Dependencies: EthernetNetIf HTTPClient mbed
EthernetNetIf/LPC1768/lwip/arch/sys_arch.h@0:075157567b0c, 2012-08-29 (annotated)
- Committer:
- nxpfan
- Date:
- Wed Aug 29 03:50:19 2012 +0000
- Revision:
- 0:075157567b0c
simple twitter example with newer library
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nxpfan | 0:075157567b0c | 1 | /* |
nxpfan | 0:075157567b0c | 2 | * Author: Adam Dunkels <adam@sics.se> |
nxpfan | 0:075157567b0c | 3 | * |
nxpfan | 0:075157567b0c | 4 | */ |
nxpfan | 0:075157567b0c | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
nxpfan | 0:075157567b0c | 6 | #define __LWIP_SYS_ARCH_H__ |
nxpfan | 0:075157567b0c | 7 | |
nxpfan | 0:075157567b0c | 8 | typedef unsigned int u32_t; |
nxpfan | 0:075157567b0c | 9 | |
nxpfan | 0:075157567b0c | 10 | #ifdef __cplusplus |
nxpfan | 0:075157567b0c | 11 | extern "C" { |
nxpfan | 0:075157567b0c | 12 | #endif |
nxpfan | 0:075157567b0c | 13 | |
nxpfan | 0:075157567b0c | 14 | //DG 2010 |
nxpfan | 0:075157567b0c | 15 | void sys_init(void); /* To be called first */ |
nxpfan | 0:075157567b0c | 16 | u32_t sys_jiffies(void); /* since power up. */ |
nxpfan | 0:075157567b0c | 17 | |
nxpfan | 0:075157567b0c | 18 | /** Returns the current time in milliseconds, |
nxpfan | 0:075157567b0c | 19 | * may be the same as sys_jiffies or at least based on it. */ |
nxpfan | 0:075157567b0c | 20 | u32_t sys_now(void); |
nxpfan | 0:075157567b0c | 21 | |
nxpfan | 0:075157567b0c | 22 | #ifdef __cplusplus |
nxpfan | 0:075157567b0c | 23 | } |
nxpfan | 0:075157567b0c | 24 | #endif |
nxpfan | 0:075157567b0c | 25 | |
nxpfan | 0:075157567b0c | 26 | |
nxpfan | 0:075157567b0c | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |