updates.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 11 Feb 2002 20:13:53 +0000 (20:13 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 11 Feb 2002 20:13:53 +0000 (20:13 +0000)
14 files changed:
Makefile.am.pre
doc/box.gif [deleted file]
doc/box2.gif [deleted file]
lib/LIBINDEX
lib/Makefile.am.pre
lib/doc/arch.gif [moved from doc/arch.gif with 100% similarity]
lib/doc/box.gif [new file with mode: 0644]
lib/doc/box2.gif [new file with mode: 0644]
lib/doc/dot.gif [moved from doc/dot.gif with 100% similarity]
lib/doc/index_pic.gif [moved from doc/index_pic.gif with 100% similarity]
lib/doc/intro_reference.html [new file with mode: 0644]
lib/doc/silcclient_using.html [moved from lib/silcclient/silcclient_using.html with 100% similarity]
lib/doc/space.gif [moved from doc/space.gif with 100% similarity]
lib/silcclient/Makefile.am

index 4f4606118d511f7ab4ea293652cf42216aae7346..80d922b551fe6c4d7061a43ae09ee2db4fdb0775 100644 (file)
@@ -73,7 +73,7 @@ toolkit-install:
        -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
+       -$(INSTALL_DATA) $(srcdir)/lib/doc/*.gif $(docdir)/toolkit
 
 examples-install:
        -mkdir -p $(docdir)/examples/
diff --git a/doc/box.gif b/doc/box.gif
deleted file mode 100644 (file)
index e679f85..0000000
Binary files a/doc/box.gif and /dev/null differ
diff --git a/doc/box2.gif b/doc/box2.gif
deleted file mode 100644 (file)
index 65d30d7..0000000
Binary files a/doc/box2.gif and /dev/null differ
index 02cf48b3f9c4011f782ff0531b76fb3b1e694055..9a6aa86b158bba4359e1327b4db80bffb3c8d084 100644 (file)
@@ -3,23 +3,37 @@
  the SILC Document generator.
 -->
 
-<FONT SIZE="+2" COLOR="#000044"><B>SILC Toolkit Reference Manual</B></FONT>
-<BR>
+<big><b>SILC Toolkit Reference Manual</b></big>
+<br />
 <small>
-Copyright &copy; 2001 - 2002 The SILC Project<BR>
-Version: @VERSION@<BR>
+Version: @VERSION@<br />
+Copyright &copy; 2001 - 2002 The SILC Project<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>
-<BR><BR>
+<br /><br /><br /><br />
+Welcome to the SILC Toolkit Reference Manual.  The manual is a complete
+developer guide and reference for the SILC application programmer.  The manual
+is intended for application programmers who would like to integrate the SILC
+support into their application, and to create new SILC applications.
+<br /><br />
+The guide is especially targeted to SILC client application developers, and
+provides full reference for the SILC Client Library, and a developer guide to
+create new SILC client applications.
+<br /><br />
+The application programming interfaces are automatically generated from the
+Toolkit sources, and the documentation is constantly evolving.  New versions
+of the Toolkit always delivers the latest version of this reference manual.
+<br /><br />
+
 @BODY@
 
-<BR><BR>
-<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>
-<LI><A HREF="http://silcnet.org/?page=whitepaper">SILC White Paper</a><BR>
-<LI><A HREF="http://silcnet.org/?page=faq">SILC FAQ</a><BR>
+<br /><br />
+<b>Resource Links</b>
+<br /><br />
+Please refer to these outside links for more information about the SILC 
+project and SILC Protocol.
+<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 />
+<li><a href="http://silcnet.org/?page=whitepaper">SILC White Paper</a><br />
+<li><a href="http://silcnet.org/?page=faq">SILC FAQ</a><br />
index 8e356378506391e8985b67083659be96ae4736f9..24d7acaae1f6d3259577549222c9ebb128b699b9 100644 (file)
@@ -101,3 +101,14 @@ libsilcclient.a:
        find $(SILCCLIENTLIB_DIRS) -type f -name *.o | xargs $(AR) cru libsilcclient.a
        $(RANLIB) libsilcclient.a
 
+if SILC_DIST_TOOLKIT
+SILC_EXTRA_DIST = doc
+else
+if SILC_DIST_SERVER
+SILC_EXTRA_DIST = 
+else
+SILC_EXTRA_DIST =
+endif
+endif
+
+EXTRA_DIST = $(SILC_EXTRA_DIST)
similarity index 100%
rename from doc/arch.gif
rename to lib/doc/arch.gif
diff --git a/lib/doc/box.gif b/lib/doc/box.gif
new file mode 100644 (file)
index 0000000..5b9cfcd
Binary files /dev/null and b/lib/doc/box.gif differ
diff --git a/lib/doc/box2.gif b/lib/doc/box2.gif
new file mode 100644 (file)
index 0000000..041f76d
Binary files /dev/null and b/lib/doc/box2.gif differ
similarity index 100%
rename from doc/dot.gif
rename to lib/doc/dot.gif
similarity index 100%
rename from doc/index_pic.gif
rename to lib/doc/index_pic.gif
diff --git a/lib/doc/intro_reference.html b/lib/doc/intro_reference.html
new file mode 100644 (file)
index 0000000..391cc1c
--- /dev/null
@@ -0,0 +1,123 @@
+<big><b>Introduction to the Manual</b></big>
+<br />&nbsp;<br />
+
+The SILC Toolkit reference manual is a fairly large set of documents.  The
+manual includes hundreds of individual document files totalling more than
+7 MB of content space.  This document is designed to help you understand
+how the reference manual is organized, how it can be used efficiently, and
+how to find the information you need.
+
+<br />&nbsp;<br />&nbsp;<br />
+<b>Target Audience</b>
+
+<br />&nbsp;<br />
+This Toolkit reference manual is targeted at application developers who
+would like add SILC support into their application, and to create new
+SILC based applications.  It is especially aimed at C and C++ programmers,
+who would like to create SILC client applications, either based on command
+line interface (CLI) or on graphical user interface (GUI).
+
+<br />&nbsp;<br />&nbsp;<br />
+<b>Overview</b>
+
+<br />&nbsp;<br />
+The SILC Toolkit Reference Manual has collected the essential information
+needed by application developers.  The following guide and reference
+information is included in this manual:
+
+<br />&nbsp;<br />
+<li>Describing the documentation conventions<br />
+<li>Describing the Toolkit design<br />
+<li>Describing the SILC Protocol<br />
+<li>Describing the programming conventions and idioms<br />
+<li>Documenting the set of public APIs available for programmers<br />
+<li>Describing the usage of various libraries
+
+<br />&nbsp;<br />
+You can download the latest SILC Toolkit from the 
+<a href="http://silcnet.org">SILC Project Website</a>, which includes the
+latest version of the reference manual. The Toolkit package includes the
+full sources of the Toolkit, and includes several example applications and
+piece of example codes.
+
+<br />&nbsp;<br />&nbsp;<br />
+<b>Using the Reference Manual</b>
+
+<br />&nbsp;<br />
+The API references are ogranized by libraries.  Each library will include
+list of interfaces it provides.  Each of the interface in the library
+provides list of public API items.  Each of the item in the list is a hyper
+link that opens the detailed page describing the API item.  All API 
+references are automatically generated from the sources and they have a clear
+structural layout.  The references can provide cross links to other
+references inside the specific interface or the specific library.
+
+<br />&nbsp;<br />
+The list of the library interface items can also include links to guides
+that describe the use of a specific library or interface.  These are
+intended as HOWTOs for programmers describing all aspects of the library
+or interface.  They make the application development easier by also providing
+small examples.
+
+<br />&nbsp;<br />
+All interfaces provided by the reference manual are public, and it does not
+describe any internal or undocumented interfaces.  Since the reference
+manual is automatically generated, it is constantly evolving.  It also
+may omit some of the interfaces or libraries, that have not yet been
+documented in the sources.
+
+<br />&nbsp;<br />&nbsp;<br />
+<b>Document Layout</b>
+
+<br />&nbsp;<br />
+The document layout provides quick links to libraries, interfaces and
+specific API items by including list of links in the left and/or right
+side of the page in the web browser.  These links can be used to directly
+access the specific library, interface or API item.  The link lists may include
+other links to guides, and reference links to outside the reference manual
+as well.
+
+<br />&nbsp;<br />&nbsp;<br />
+<b>Reference Conventions</b>
+
+<br />&nbsp;<br />
+The structural layout of a API item describes the following information 
+about the item:
+
+<br />&nbsp;<br />
+<li>Type.  Types that can appear are Variable, Structure, Function.  A name
+that appears without type is constant, usually #define, enum or typedef.
+Usually the source code of the constants are appended to the reference.
+
+<br />&nbsp;<br />
+<li>Name.  Describes the name of the item.  All functions start with 
+<b>silc_</b> prefix, macros start with <b>SILC_</b> prefix, and type names
+and structures start with <b>Silc</b> prefix.
+
+<br />&nbsp;<br />
+<li>Synopsis.  Functions also describe the synopsis of the function.
+
+<br />&nbsp;<br />
+<li>Description.  Each of the item is described in detail of what the item
+does and how it can be used.
+
+<br />&nbsp;<br />
+<li>Notes.  Optionally the item may describe additional notes to the
+detailed description.  These usually describe various exeptions or other
+important notes that the programmer should be aware of.
+
+<br />&nbsp;<br />
+<li>Example.  Optionally the item may include a piece of source code that
+give short example of how the item may be used.
+
+<br />&nbsp;<br />
+<li>See Also.  Optionally the item may include list of links to other
+items, or some other references that relate to the described item.
+
+<br />&nbsp;<br />
+<li>Source.  Optionally the item may include the actual source code from
+the header file where the documentation was automatically generated.
+
+<br />&nbsp;<br />
+Note that some of these informations are optional and not all API items
+include all of these informations.
\ No newline at end of file
similarity index 100%
rename from doc/space.gif
rename to lib/doc/space.gif
index ccacb703984652d5743d6bb2eddcafbae698d83b..5dafa9749e1fe2d7fcc1f84e8ab84ad864fae414 100644 (file)
@@ -42,6 +42,6 @@ include_HEADERS=      \
        silcapi.h
 endif
 
-EXTRA_DIST = *.h client_ops_example.c *.html
+EXTRA_DIST = *.h client_ops_example.c
 
 include $(top_srcdir)/Makefile.defines.in