Copy of NetServicesMin with the HTTP Client library. Includes modification for HTTP servers which send the HTTP status line in its own packet.
lwip/arch/sys_arch.h@0:18dd877d2c77, 2011-05-26 (annotated)
- Committer:
- andrewbonney
- Date:
- Thu May 26 10:02:40 2011 +0000
- Revision:
- 0:18dd877d2c77
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewbonney | 0:18dd877d2c77 | 1 | /* |
andrewbonney | 0:18dd877d2c77 | 2 | * Author: Adam Dunkels <adam@sics.se> |
andrewbonney | 0:18dd877d2c77 | 3 | * |
andrewbonney | 0:18dd877d2c77 | 4 | */ |
andrewbonney | 0:18dd877d2c77 | 5 | #ifndef __LWIP_SYS_ARCH_H__ |
andrewbonney | 0:18dd877d2c77 | 6 | #define __LWIP_SYS_ARCH_H__ |
andrewbonney | 0:18dd877d2c77 | 7 | |
andrewbonney | 0:18dd877d2c77 | 8 | typedef unsigned int u32_t; |
andrewbonney | 0:18dd877d2c77 | 9 | |
andrewbonney | 0:18dd877d2c77 | 10 | #ifdef __cplusplus |
andrewbonney | 0:18dd877d2c77 | 11 | extern "C" { |
andrewbonney | 0:18dd877d2c77 | 12 | #endif |
andrewbonney | 0:18dd877d2c77 | 13 | |
andrewbonney | 0:18dd877d2c77 | 14 | //DG 2010 |
andrewbonney | 0:18dd877d2c77 | 15 | void sys_init(void); /* To be called first */ |
andrewbonney | 0:18dd877d2c77 | 16 | u32_t sys_jiffies(void); /* since power up. */ |
andrewbonney | 0:18dd877d2c77 | 17 | |
andrewbonney | 0:18dd877d2c77 | 18 | /** Returns the current time in milliseconds, |
andrewbonney | 0:18dd877d2c77 | 19 | * may be the same as sys_jiffies or at least based on it. */ |
andrewbonney | 0:18dd877d2c77 | 20 | u32_t sys_now(void); |
andrewbonney | 0:18dd877d2c77 | 21 | |
andrewbonney | 0:18dd877d2c77 | 22 | #ifdef __cplusplus |
andrewbonney | 0:18dd877d2c77 | 23 | } |
andrewbonney | 0:18dd877d2c77 | 24 | #endif |
andrewbonney | 0:18dd877d2c77 | 25 | |
andrewbonney | 0:18dd877d2c77 | 26 | |
andrewbonney | 0:18dd877d2c77 | 27 | #endif /* __LWIP_ARCH_CC_H__ */ |