ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

cc.h
Go to the documentation of this file.
00001 /* ReactOS-Specific lwIP binding header - by Cameron Gutman */
00002 
00003 #include <wdm.h>
00004 
00005 /* ROS-specific mem defs */
00006 void *
00007 malloc(size_t size);
00008 
00009 void *
00010 calloc(size_t count, size_t size);
00011 
00012 void
00013 free(void *mem);
00014 
00015 void *
00016 realloc(void *mem, size_t size);
00017 
00018 #define mem_trim(_m_, _s_) realloc(_m_, _s_)
00019 
00020 /* Unsigned int types */
00021 typedef unsigned char u8_t;
00022 typedef unsigned short u16_t;
00023 typedef unsigned long u32_t;
00024 
00025 /* Signed int types */
00026 typedef signed char s8_t;
00027 typedef signed short s16_t;
00028 typedef signed long s32_t;
00029 
00030 /* Memory pointer */
00031 typedef ULONG_PTR mem_ptr_t;
00032 
00033 /* Printf/DPRINT formatters */
00034 #define U16_F "hu"
00035 #define S16_F "hd"
00036 #define X16_F "hx"
00037 #define U32_F "lu"
00038 #define S32_F "ld"
00039 #define X32_F "lx"
00040 
00041 /* Endianness */
00042 #define BYTE_ORDER LITTLE_ENDIAN
00043 
00044 /* Checksum calculation algorithm choice */
00045 #define LWIP_CHKSUM_ALGORITHM 3
00046 
00047 /* Diagnostics */
00048 #define LWIP_PLATFORM_DIAG(x) (DbgPrint x)
00049 #define LWIP_PLATFORM_ASSERT(x) ASSERTMSG(x, FALSE)
00050 
00051 /* Synchronization */
00052 #define SYS_ARCH_DECL_PROTECT(lev) sys_prot_t (lev)
00053 #define SYS_ARCH_PROTECT(lev) sys_arch_protect(&(lev))
00054 #define SYS_ARCH_UNPROTECT(lev) sys_arch_unprotect(lev)
00055 
00056 /* Compiler hints for packing structures */
00057 #define PACK_STRUCT_STRUCT
00058 #define PACK_STRUCT_USE_INCLUDES
00059 

Generated on Sun May 27 2012 04:36:03 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.