r18848: Save the json library before I start hacking on it. I'm going to be
[samba.git] / source4 / lib / json / README-WIN32.html
1 <!DOCTYPE html \r
2      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\r
3      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
5         <head>\r
6                 <title>JSON-C - A JSON implementation in C - Win32 specific notes</title>\r
7                 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
8         </head>\r
9         <body>\r
10                 <h2>Windows specific notes for JSON-C</h2>\r
11                 <p>Please send Win32 bug reports to <a href="mailto:christopher.watford@gmail.com">christopher.watford@gmail.com</a></p>\r
12                 <p><b>Win32 Specific Changes:</b></p>\r
13                 <ul>\r
14                         <li>\r
15                                 Various functions have been redefined to their Win32 version (i.e. <tt>open</tt>\r
16                                 on win32 is <tt>_open</tt>)</li>\r
17                         <li>\r
18                                 Implemented missing functions from MS's libc (i.e. <tt>vasprintf</tt> and <tt>strndup</tt>)</li>\r
19                         <li>\r
20                                 Added code to allow Win64 support without integer resizing issues, this \r
21                                 probably makes it much nicer on 64bit machines everywhere (i.e. using <tt>ptrdiff_t</tt>\r
22                                 for pointer math)</li>\r
23                 </ul>\r
24                 <p><b>Porting Changelog:</b></p>\r
25                 <dl>\r
26                         <dt><tt>printbuf.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
27                         <dd>\r
28                                 Added a Win32/Win64 compliant implementation of <tt>vasprintf</tt></dd>\r
29                         <dt><tt>debug.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
30                         <dd>\r
31                                 Removed usage of <tt>vsyslog</tt> on Win32/Win64 systems, needs to be handled \r
32                                 by a configure script</dd>\r
33                         <dt><tt>json_object.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
34                         <dd>\r
35                                 Added scope operator to wrap usage of <tt>json_object_object_foreach</tt>, this needs to be\r
36                                 rethought to be more ANSI C friendly</dd>\r
37                         <dt><tt>json_object.h</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
38                         <dd>\r
39                                 Added Microsoft C friendly version of <tt>json_object_object_foreach</tt></dd>\r
40                         <dt><tt>json_tokener.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
41                         <dd>\r
42                                 Added a Win32/Win64 compliant implementation of <tt>strndup</tt></dd>\r
43                         <dt><tt>json_util.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
44                         <dd>\r
45                                 Added cast and mask to suffice <tt>size_t</tt> v. <tt>unsigned int</tt>\r
46                                 conversion correctness</dd>\r
47                 </dl>\r
48                 <h3>Anonymous CVS</h3>\r
49                 <p><code># <b>export CVSROOT=:pserver:anoncvs@cvs.metaparadigm.com:/cvsroot</b><br />\r
50                                 # <b>cvs login</b><br />\r
51                                 Logging in to :pserver:anoncvs@cvs.metaparadigm.com:2401/cvsroot<br />\r
52                                 CVS password: &lt;enter '<b>anoncvs</b>'&gt;<br />\r
53                                 # <b>cvs co json-c</b></code></p>\r
54                 <p>Copyright Metaparadigm Pte. Ltd. 2004, 2005. <a href="mailto:michael@metaparadigm.com">Michael \r
55                                 Clark </a>\r
56                 </p>\r
57                 <p>This program is free software; you can redistribute it and/or modify it under \r
58                         the terms of the MIT License. See COPYING for details.</p>\r
59                 <hr />\r
60         </body>\r
61 </html>\r