old netservices

Dependents:   lab3-News_Reader1

Fork of NetServices by Segundo Equipo

Committer:
cwang365
Date:
Wed Mar 06 00:34:07 2013 +0000
Revision:
8:1fb1dbb9ad9e
Parent:
0:ac1725ba162c
old net services

Who changed what in which revision?

UserRevisionLine numberNew contents of line
segundo 0:ac1725ba162c 1 /*
segundo 0:ac1725ba162c 2 * Author: Adam Dunkels <adam@sics.se>
segundo 0:ac1725ba162c 3 *
segundo 0:ac1725ba162c 4 */
segundo 0:ac1725ba162c 5 #ifndef __LWIP_SYS_ARCH_H__
segundo 0:ac1725ba162c 6 #define __LWIP_SYS_ARCH_H__
segundo 0:ac1725ba162c 7
segundo 0:ac1725ba162c 8 typedef unsigned int u32_t;
segundo 0:ac1725ba162c 9
segundo 0:ac1725ba162c 10 #ifdef __cplusplus
segundo 0:ac1725ba162c 11 extern "C" {
segundo 0:ac1725ba162c 12 #endif
segundo 0:ac1725ba162c 13
segundo 0:ac1725ba162c 14 //DG 2010
segundo 0:ac1725ba162c 15 void sys_init(void); /* To be called first */
segundo 0:ac1725ba162c 16 u32_t sys_jiffies(void); /* since power up. */
segundo 0:ac1725ba162c 17
segundo 0:ac1725ba162c 18 /** Returns the current time in milliseconds,
segundo 0:ac1725ba162c 19 * may be the same as sys_jiffies or at least based on it. */
segundo 0:ac1725ba162c 20 u32_t sys_now(void);
segundo 0:ac1725ba162c 21
segundo 0:ac1725ba162c 22 #ifdef __cplusplus
segundo 0:ac1725ba162c 23 }
segundo 0:ac1725ba162c 24 #endif
segundo 0:ac1725ba162c 25
segundo 0:ac1725ba162c 26
segundo 0:ac1725ba162c 27 #endif /* __LWIP_ARCH_CC_H__ */