Documentation updates 1.2.beta4
authorPekka Riikonen <priikone@silcnet.org>
Sat, 28 Jun 2008 14:19:12 +0000 (17:19 +0300)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 28 Jun 2008 14:19:12 +0000 (17:19 +0300)
doc/runtime.in/manual.html.in
doc/runtime.in/runtime.rc
lib/silcutil/silcnet.h
lib/silcutil/silctypes.h
lib/silcutil/silcxml.c
lib/silcutil/silcxml.h

index 7c6321ec6f97bbe6a6981b10e790e5ff966b64c3..f1e474ed30aa4c6dd07fb85fc3003a1fd189e423 100644 (file)
@@ -61,6 +61,7 @@ of the Toolkit always delivers the latest version of this reference manual.
 <li class="toc_entries"><a href="./silcbitops_hsilcutil2FBit20Operations20Interface.html" >Bit Operations Interface</a>
 <li class="toc_entries"><a href="./silcbuffmt_hsilcutil2FBuffer20Format20Interface.html" >Buffer Format Interface</a>
 <li class="toc_entries"><a href="./silcbuffer_hsilcutil2FBuffer20Interface.html" >Buffer Interface</a>
+<li class="toc_entries"><a href="./silcbufferstream_hsilcutil2FBuffer20Stream20Interface.html" >Buffer Stream Interface</a>
 <li class="toc_entries"><a href="./silccond_hsilcutil2FCondition20Variable20Interface.html" >Condition Variable Interface</a>
 <li class="toc_entries"><a href="./silcconfig_hsilcutil2FConfig20File20Interface.html" >Config File Interface</a>
 <li class="toc_entries"><a href="./silcdir_hsilcutil2FDirectory20Interface.html" >Directory Interface</a>
@@ -81,6 +82,7 @@ of the Toolkit always delivers the latest version of this reference manual.
 <li class="toc_entries"><a href="./silcutil_hsilcutil2FMisc20Utilities.html" >Misc Utilities</a>
 <li class="toc_entries"><a href="./silcmutex_hsilcutil2FMutex20Interface.html" >Mutex Interface</a>
 <li class="toc_entries"><a href="./silcnet_hsilcutil2FNetwork20Interface.html" >Network Interface</a>
+<li class="toc_entries"><a href="./silclocalnetstream_hsilcutil2FLocal20Network20Stream20Interface.html" >Local Network Stream Interface</a>
 <li class="toc_entries"><a href="./silcrand_hsilcutil2FRandom20Number20Interface.html" >Random Number Interface</a>
 <li class="toc_entries"><a href="./silcregex_hsilcutil2FRegex20Interface.html" >Regex Interface</a>
 <li class="toc_entries"><a href="./silcschedule_hsilcutil2FScheduler20Interface.html" >Scheduler Interface</a>
@@ -96,6 +98,9 @@ of the Toolkit always delivers the latest version of this reference manual.
 <li class="toc_entries"><a href="./silctimer_hsilcutil2FTimer20Interface.html" >Timer Interface</a>
 <li class="toc_entries"><a href="./silctypes_hsilcutil2FTypes20and20Definitions.html" >Types and Definitions</a>
 <li class="toc_entries"><a href="./silcutf8_hsilcutil2FUTF2D820Interface.html" >UTF-8 Interface</a>
+<li class="toc_entries"><a href="./silcxml_hsilcutil2FXML20Interface.html" >XML Interface</a>
+<li class="toc_entries"><a href="./silchttpserver_hsilchttp2FHTTP20Server20Interface.html" >HTTP Server Interface</a>
+<li class="toc_entries"><a href="./silchttpphp_hsilchttp2FHTTP20PHP20Translator.html" >HTTP PHP Translator</a>
 
 <li class="toc_entries"><a href="masterindex.html">Toolkit Index</a><br />
 </ul>
index 5954c25d18c32cae41fe9c20170a8b88cf3804e9..8972d02f135c6a24c69e6a6756894fd8c2e49bcb 100644 (file)
@@ -1,11 +1,10 @@
 options:
-       --src ../../lib/silcutil
+       --src ../../lib/
        --doc .
        --html
        --sectionnameonly
        --syntaxcolors
        --nopre
-       --nodesc
        --no_subdirectories
        --index
        --documenttitle "SILC Runtime Toolkit"
index 30ee1fcc431f8b1e520bf1c1d00af823f63a058e..d791784e4feb9b25548e717dfd7774caa5e53dd4 100644 (file)
@@ -590,7 +590,7 @@ void silc_net_gethostbyname_async(const char *name,
  *   SilcBool silc_net_gethostbyaddr(const char *addr, char *name,
  *                                   SilcUInt32 name_len);
  *
-x * DESCRIPTION
+ * DESCRIPTION
  *
  *    Resolves the hostname for the IP address indicated by the `addr'
  *    This returns TRUE and the resolved hostname to the `name' buffer,
index 63412c3eaf05bdef72a2225cd8623150378fc6e1..5200fc9b58e2024f7e4177d3f82958de043cb569 100644 (file)
@@ -262,7 +262,7 @@ typedef float SilcFloat32;
  *    64-bit floating point number.
  *
  ***/
-typedef double SilcFloat64
+typedef double SilcFloat64;
 
 #if SILC_SIZEOF_VOID_P < 4
 typedef SilcUInt32 * void *;
index decadb6ca050698435c3f838a1d2cc56115aff4d..9ceb59be1d5d7f8b2cdc54e5c951b77fd8b3f9e0 100644 (file)
@@ -74,10 +74,6 @@ static void silc_xml_expat_start_element(void *userData,
                              silc_hash_utf8_compare, NULL,
                              NULL, NULL, TRUE);
     if (!t) {
-      silc_set_errno(SILC_ERR_OUT_OF_MEMORY);
-      silc_set_errno_location(NULL,
-                             XML_GetCurrentLineNumber(parser->parser),
-                             XML_GetCurrentColumnNumber(parser->parser));
       XML_StopParser(parser->parser, FALSE);
       return;
     }
@@ -237,6 +233,7 @@ SilcBool silc_xml_parse_file(SilcXMLParser parser,
 
   ret = silc_xml_parse(parser, data, data_len);
   if (!ret) {
+    silc_free(data);
     silc_set_errno_reason(silc_xml_expat_error(parser->parser),
                          silc_xml_get_error(parser));
     silc_set_errno_location(filename,
index e6ccce8012540b40b6b5f873974b40f2fc0eace9..b15c8f48dcf9998acc6b64d2edc872dcb7332544 100644 (file)
@@ -125,6 +125,7 @@ typedef struct SilcXMLParamsObject {
   /* Do not process XML namespaces. */
   SilcBool no_namespace;
 } *SilcXMLParams, SilcXMLParamsStruct;
+/***/
 
 /****f* silcutil/silc_xml_parser_create
  *
@@ -221,7 +222,7 @@ const char *silc_xml_get_attribute(SilcXMLParser parser,
                                   SilcHashTable attributes,
                                   const char *name);
 
-/****f* silcutil/silc_xml_get_attribute
+/****f* silcutil/silc_xml_current_location
  *
  * SYNOPSIS
  *