-mkdir -p $(docdir)/toolkit/
-$(INSTALL_DATA) $(srcdir)/doc/toolkit/silc* $(docdir)/toolkit
-$(INSTALL_DATA) $(srcdir)/doc/toolkit/index* $(docdir)/toolkit
+ -$(INSTALL_DATA) $(srcdir)/doc/*.gif $(docdir)/toolkit
examples-install:
-mkdir -p $(docdir)/examples/
AM_CONDITIONAL(SILC_WIN32, test x$win32-support = xtrue)
+#
+# Native EPOC support (disabled by default)
+#
+epoc-support = false
+AM_CONDITIONAL(SILC_EPOC, test x$epoc-support = xtrue)
+
#
# IPv6 support
#
endif
if SILC_DIST_TOOLKIT
-SILC_EXTRA_DIST = toolkit examples
+SILC_EXTRA_DIST = toolkit examples *.gif
else
if SILC_DIST_SERVER
SILC_EXTRA_DIST = examples
the SILC Document generator.
-->
-<FONT SIZE="+3" COLOR="#000044"><B>SILC Toolkit Reference Manual</B></FONT>
+<FONT SIZE="+2" COLOR="#000044"><B>SILC Toolkit Reference Manual</B></FONT>
<BR>
-Copyright (C) 2001 - 2002 The SILC Project<BR>
+<small>
+Copyright © 2001 - 2002 The SILC Project<BR>
Version: @VERSION@<BR>
Updated: @DATE@
+</small>
<BR><BR>
<B><FONT SIZE="2">Note that this document is still under work and does not
include yet all references for SILC Toolkit interfaces.</FONT></B>
@BODY@
<BR><BR>
-<FONT SIZE="+2" COLOR="#000044"><B>Resource Links</B></FONT>
+<BIG><B>Resource Links</B></BIG>
<BR><BR>
<LI><A HREF="http://silcnet.org">SILC Project Website</a><BR>
<LI><A HREF="http://silcnet.org/?page=docs">SILC Protocol Documentation</a><BR>
-<br />
<font size="+2">Using SILC Client Library</font>
<br /> <br /> <br />
--- /dev/null
+<?php
+/*
+
+ Author: Pekka Riikonen <priikone@silcnet.org>
+
+ Copyright (C) 2002 Pekka Riikonen
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+*/
+?>
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-a" />
+ <meta http-equiv="Content-Language" content="en" />
+ <meta name="description" content="SILC Secure Internet Live Conferencing" />
+ <meta name="keywords" content="SILC, secure, chat, protocol, cipher, encrypt, SKE" />
+ <meta content="INDEX, FOLLOW" name="ROBOTS" />
+ <style type="text/css">
+ <!--
+ body { color: #000000; background: #ffffff; font-family: Helvetica, Arial, Sans-serif; }
+ a:link { text-decoration: none; color: #2f488f; }
+ a:visited { text-decoration: none;color: #2f488f; }
+ a:active { text-decoration: none; color: #2f488f; }
+ -->
+ </style>
+</head>
+
+<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
+
+<table border="0" cellspacing="0" cellpadding="6" width="100%">
+ <tr valign="top" bgcolor="#dddddd">
+ <td><small>Copyright © 2001 - 2002 SILC Project<br />
+ <a href="http://silcnet.org">SILC Project Website</a></small></td>
+ <td align="right"><small>
+ <a href="index.html">SILC Toolkit Reference Manual</a><br />
+ </small></td>
+ </tr>
+</table>
+<table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr valign="top"><td bgcolor="#cccccc"></td></tr>
+</table>
+
+<table cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top">
+
+ <td width="230" bgcolor="#f0f0f0">
+ <table width="100%" cellpadding="2" cellspacing="2" border="0">
+ <tr valign="top"><td>
+<br />
+<small>
+<?php
+require "$dest/index.tmpl";
+?>
+</small>
+<br /><br /><br /><br />
+ </td></tr>
+ </table>
+ </td>
+
+ <td bgcolor="#dddddd" background="dot.gif"> </td>
+
+ <td width="800">
+ <table cellpadding="2" cellspacing="6" width="100%">
+ <tr><td valign="top">
+<br />
+<?php
+require "$page";
+?>
+<br /><br /><br /><br />
+ </td></tr>
+ </table>
+ </td>
+
+ <td bgcolor="#cccccc" background="dot.gif"> </td>
+
+ <td width="200" bgcolor="#f0f0f0">
+ <table width="100%" cellpadding="4" cellspacing="0">
+ <tr valign="top"><td>
+<br /><br /><br /><br /><br />
+ </td></tr>
+ </table>
+ </td>
+</tr>
+</table>
+
+<table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr valign="top"><td bgcolor="#cccccc"></td></tr>
+</table>
+<table border="0" cellspacing="0" cellpadding="6" width="100%">
+ <tr valign="top" bgcolor="#dddddd">
+ <td><small>Copyright © 2001 - 2002 SILC Project<br />
+ <a href="http://silcnet.org">SILC Project Website</a></small></td>
+ <td align="right"><small>
+ <a href="index.html">SILC Toolkit Reference Manual</a><br />
+ </small></td>
+ </tr>
+</table>
+
+</body>
+</html>
--- /dev/null
+<?php
+/*
+
+ Author: Pekka Riikonen <priikone@silcnet.org>
+
+ Copyright (C) 2002 Pekka Riikonen
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+*/
+?>
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-a" />
+ <meta http-equiv="Content-Language" content="en" />
+ <meta name="description" content="SILC Secure Internet Live Conferencing" />
+ <meta name="keywords" content="SILC, secure, chat, protocol, cipher, encrypt, SKE" />
+ <meta content="INDEX, FOLLOW" name="ROBOTS" />
+ <style type="text/css">
+ <!--
+ body { color: #000000; background: #ffffff; font-family: Helvetica, Arial, Sans-serif; }
+ a:link { text-decoration: none; color: #2f488f; }
+ a:visited { text-decoration: none;color: #2f488f; }
+ a:active { text-decoration: none; color: #2f488f; }
+ -->
+ </style>
+</head>
+
+<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
+
+<table border="0" cellspacing="0" cellpadding="6" width="100%">
+ <tr valign="top" bgcolor="#dddddd">
+ <td><small>Copyright © 2001 - 2002 SILC Project<br />
+ <a href="http://silcnet.org">SILC Project Website</a></small></td>
+ <td align="right"><small>
+ <a href="index.html">SILC Toolkit Reference Manual</a><br />
+ </small></td>
+ </tr>
+</table>
+<table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr valign="top"><td bgcolor="#cccccc"></td></tr>
+</table>
+
+<table cellpadding="0" cellspacing="0" border="0">
+ <tr valign="top">
+
+ <td width="230" bgcolor="#f0f0f0">
+ <table width="100%" cellpadding="2" cellspacing="2" border="0">
+ <tr valign="top"><td>
+<br />
+<small>
+<?php
+require "$dest/index.tmpl";
+?>
+</small>
+<br /><br /><br /><br />
+ </td></tr>
+ </table>
+ </td>
+
+ <td bgcolor="#dddddd" background="dot.gif"> </td>
+
+ <td width="800">
+ <table cellpadding="2" cellspacing="6" width="100%">
+ <tr><td valign="top">
+<br />
+<?php
+require "$page";
+?>
+<br /><br /><br /><br />
+ </td></tr>
+ </table>
+ </td>
+
+ <td bgcolor="#cccccc" background="dot.gif"> </td>
+
+ <td width="200" bgcolor="#f0f0f0">
+ <table width="100%" cellpadding="4" cellspacing="0">
+ <tr valign="top"><td>
+<br />
+<font face="Helvetica,Arial,Sans-serif" size="1">
+<?php
+/* Get the index for this page */
+$len = strcspn($page, "__");
+$fname = substr($page, 0, $len);
+require "$fname"."__index.tmpl";
+?>
+</font>
+
+<br /><br /><br /><br />
+ </td></tr>
+ </table>
+ </td>
+</tr>
+</table>
+
+<table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr valign="top"><td bgcolor="#cccccc"></td></tr>
+</table>
+<table border="0" cellspacing="0" cellpadding="6" width="100%">
+ <tr valign="top" bgcolor="#dddddd">
+ <td><small>Copyright © 2001 - 2002 SILC Project<br />
+ <a href="http://silcnet.org">SILC Project Website</a></small></td>
+ <td align="right"><small>
+ <a href="index.html">SILC Toolkit Reference Manual</a><br />
+ </small></td>
+ </tr>
+</table>
+
+</body>
+</html>
# Generate links to template file that can be included into various
# places on the webpage.
- echo "<A HREF="$fname">$name</A><BR>" >>$DST/index.tmpl
+ echo "<A HREF="$fname"><IMG SRC="box.gif" border="0" alt="">$name</A><BR>" >>$DST/index.tmpl
for k in $links
do
n=`grep $k $i |cut -d= -f2 |cut -d: -f2`
echo "<LI><A HREF="$k">$n</A>" >>$DST/$fname.links
- echo " <A HREF="$k">$n</A><BR>" >>$DST/index.tmpl
+ echo " <A HREF="$k"><IMG SRC="box2.gif" border="0" alt="">$n</A><BR>" >>$DST/index.tmpl
done
done
do
# Generate the details and the layout
f="/tmp/silcdoc_html.html/$i"
- sh gen.sh $DST gen_html_detail.php $f $f
- sh gen.sh $DST index.php $f $f
+ sh gen.sh $DST gen_html_index.php $f $f
cp /tmp/silcdoc_html.html/$i $DST
echo $f
done
# Generate the TOC file
sh gen.sh $DST gen_toc.php $DST/$i.html $DST/$i.html
- sh gen.sh $DST index.php $DST/$i.html $DST/$i.html
+ sh gen.sh $DST gen_html_index.php $DST/$i.html $DST/$i.html
# Generate the details and the layout
files=`find $DST -name ""$i"__*.html"`
for k in $files
do
- sh gen.sh $DST gen_detail.php $k $k
- sh gen.sh $DST index.php $k $k
+ sh gen.sh $DST gen_index.php $k $k
done
rm -f $DST/$i__index.tmpl
# Generate the TOC file for the library
sh gen.sh $DST gen_toc.php $DST/$fname $DST/$fname
- sh gen.sh $DST index.php $DST/$fname $DST/$fname
+ sh gen.sh $DST gen_html_index.php $DST/$fname $DST/$fname
# Generate the link for the top index.html for this library
echo "<LI><A HREF="$fname">$name</A>" >>$DST/index.html.tmp
curdate=`date`
sed -e "/@VERSION@/s//$version/" -e "/@DATE@/s//$curdate/" -e "/@BODY@/ r $DST/index.html.tmp" -e s/@BODY@//g $index >$DST/index.html
sh gen.sh $DST gen_toc.php $DST/index.html $DST/index.html
- sh gen.sh $DST index.php $DST/index.html $DST/index.html
+ sh gen.sh $DST gen_html_index.php $DST/index.html $DST/index.html
rm -rf $DST/index.html.tmp
rm -rf /tmp/silcdoc.html
if (index)
{
- fprintf (index, " >> <A HREF=\"%s\">%s</A><BR>\n",
+ fprintf (index, "<A HREF=\"%s\"><IMG SRC=\"index_pic.gif\" BORDER=\"0\" ALT=\"\">%s</A><BR>\n",
name, cur_header->function_name);
}
fprintf (dest_doc, "<LI><A HREF=\"%s\">%s</A>\n",
fname, cur_header->function_name);
if (index)
- fprintf (index, " >> <A HREF=\"%s\">%s</A><BR>\n",
+ fprintf (index, "<A HREF=\"%s\"><IMG SRC=\"index_pic.gif\" BORDER=\"0\" ALT=\"\">%s</A><BR>\n",
fname, cur_header->function_name);
}
}
#endif
if (cur_header->type == FUNCTION_HEADER)
fprintf (dest_doc,
- "\n<FONT SIZE=\"+3\" COLOR=\"#000044\"><B>"
+ "\n<FONT SIZE=\"+2\" COLOR=\"#000055\"><B>"
"Function <A NAME=\"%s\">%s</A>"
"</FONT></B><BR><BR>\n\n",
cur_header->function_name,
cur_header->function_name);
else if (cur_header->type == STRUCT_HEADER)
fprintf (dest_doc,
- "\n<FONT SIZE=\"+3\" COLOR=\"#000044\"><B>"
+ "\n<FONT SIZE=\"+2\" COLOR=\"#000055\"><B>"
"Structure <A NAME=\"%s\">%s</A>"
"</FONT></B><BR><BR>\n\n",
cur_header->function_name,
cur_header->function_name);
else if (cur_header->type == VARIABLE_HEADER)
fprintf (dest_doc,
- "\n<FONT SIZE=\"+3\" COLOR=\"#000044\"><B>"
+ "\n<FONT SIZE=\"+2\" COLOR=\"#000055\"><B>"
"Variable <A NAME=\"%s\">%s</A>"
"</FONT></B><BR><BR>\n\n",
cur_header->function_name,
cur_header->function_name);
else
fprintf (dest_doc,
- "\n<FONT SIZE=\"+3\" COLOR=\"#000044\"><B>"
+ "\n<FONT SIZE=\"+2\" COLOR=\"#000055\"><B>"
"<A NAME=\"%s\">%s</A>"
"</FONT></B><BR><BR>\n\n",
cur_header->function_name,
fprintf (dest_doc, format_str,
att_start_command[MAKE_BOLD][output_mode]);
if (output_mode == HTML)
- fprintf (dest_doc, "\n<FONT COLOR=\"#000044\">");
+ fprintf (dest_doc, "\n<FONT COLOR=\"#000055\">");
fprintf (dest_doc, format_str, item_names[item_type]);
if (output_mode == HTML)
fprintf (dest_doc, "\n</FONT>");