PageRenderTime 63ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/silc-toolkit-1.1.10/doc/toolkit/silcexample-SilcExampleType.html

#
HTML | 222 lines | 192 code | 21 blank | 9 comment | 0 complexity | f64d4d00c5bbe4345e789cc8077d87f0 MD5 | raw file
Possible License(s): GPL-2.0
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-a" />
  4. <meta http-equiv="Content-Language" content="en" />
  5. <meta name="description" content="SILC Secure Internet Live Conferencing" />
  6. <meta name="keywords" content="SILC, secure, chat, protocol, cipher, encrypt, SKE" />
  7. <meta content="INDEX, FOLLOW" name="ROBOTS" />
  8. <style type="text/css">
  9. <!--
  10. body { color: #000000; background: #f0f0f0; font-family: Helvetica, Arial, Sans-serif; }
  11. a:link { text-decoration: none; color: #2f488f; }
  12. a:visited { text-decoration: none;color: #2f488f; }
  13. a:active { text-decoration: none; color: #2f488f; }
  14. -->
  15. </style>
  16. </head>
  17. <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
  18. <table border="0" cellspacing="0" cellpadding="6" width="100%">
  19. <tr valign="top" bgcolor="#dddddd">
  20. <td><small>Copyright &copy; 2001 - 2007 SILC Project<br />
  21. <a href="http://silcnet.org">SILC Project Website</a></small></td>
  22. <td align="right"><small>
  23. <a href="index.html">SILC Toolkit Reference Manual</a><br />
  24. <a href="toolkit_index.html">Index</a></small></td>
  25. </small></td>
  26. </tr>
  27. </table>
  28. <table border="0" cellspacing="0" cellpadding="0" width="100%">
  29. <tr bgcolor="#444444"><td><img src="space.gif" width="1" height="1"border="0" alt="" ></td></tr>
  30. </table>
  31. <table cellpadding="0" cellspacing="0" border="0">
  32. <tr valign="top">
  33. <td width="200" bgcolor="#f0f0f0">
  34. <img src="space.gif" width="1" height="1" border="0" alt="">
  35. <table width="100%" cellpadding="2" cellspacing="2" border="0">
  36. <tr valign="top"><td>
  37. <br />
  38. <small>
  39. <!-- Template file for the big index that appears in the Toolkit reference
  40. manual on the left side. With this file it is possible to add other than
  41. automatically generated links to that list. -->
  42. <a href="index.html"><img src="box.gif" border="0" alt="">SILC Toolkit Reference Manual</a><br />
  43. <a href=silcvcardlib.html><img src=box.gif border=0 alt=>SILC VCard Library</a><br />
  44. &nbsp;&nbsp;&nbsp; <a href=silcvcard.html><img src=box2.gif border=0 alt=>SILC VCard Interface</a><br />
  45. <a href=silccryptlib.html><img src=box.gif border=0 alt=>SILC Crypto Library</a><br />
  46. &nbsp;&nbsp;&nbsp; <a href=silcrng_intro.html><img src=box2.gif border=0 alt=>Introduction to SILC RNG</a><br />
  47. &nbsp;&nbsp;&nbsp; <a href=silcrng.html><img src=box2.gif border=0 alt=>SILC RNG Interface</a><br />
  48. &nbsp;&nbsp;&nbsp; <a href=silccipher.html><img src=box2.gif border=0 alt=>SILC Cipher API</a><br />
  49. &nbsp;&nbsp;&nbsp; <a href=silcpkcs.html><img src=box2.gif border=0 alt=>SILC PKCS API</a><br />
  50. &nbsp;&nbsp;&nbsp; <a href=silcpk.html><img src=box2.gif border=0 alt=>SILC Public Key API</a><br />
  51. &nbsp;&nbsp;&nbsp; <a href=silcpkcs1.html><img src=box2.gif border=0 alt=>SILC PKCS #1 API</a><br />
  52. &nbsp;&nbsp;&nbsp; <a href=silchash.html><img src=box2.gif border=0 alt=>SILC Hash Interface</a><br />
  53. &nbsp;&nbsp;&nbsp; <a href=silchmac.html><img src=box2.gif border=0 alt=>SILC HMAC Interface</a><br />
  54. <a href=silcclientlib.html><img src=box.gif border=0 alt=>SILC Client Library</a><br />
  55. &nbsp;&nbsp;&nbsp; <a href=silcclient_using.html><img src=box2.gif border=0 alt=>Using SILC Client Library Tutorial</a><br />
  56. &nbsp;&nbsp;&nbsp; <a href=command_reply_args.html><img src=box2.gif border=0 alt=>Arguments for <b>command_reply</b> Client Operation</a><br />
  57. &nbsp;&nbsp;&nbsp; <a href=silcstatus_args.html><img src=box2.gif border=0 alt=>SilcStatus Error Arguments in <b>command_reply</b> Client Operation</a><br />
  58. &nbsp;&nbsp;&nbsp; <a href=notifyargs.html><img src=box2.gif border=0 alt=>Arguments for <b>notify</b> Client Operation</a><br />
  59. &nbsp;&nbsp;&nbsp; <a href=silcclient_unicode.html><img src=box2.gif border=0 alt=>Unicode and UTF-8 Strings in Client Library</a><br />
  60. &nbsp;&nbsp;&nbsp; <a href=silcclient.html><img src=box2.gif border=0 alt=>Client Library Interface Reference</a><br />
  61. &nbsp;&nbsp;&nbsp; <a href=silcclient_entry.html><img src=box2.gif border=0 alt=>Client Entry Interface Reference</a><br />
  62. <a href=silcmathlib.html><img src=box.gif border=0 alt=>SILC Math Library</a><br />
  63. &nbsp;&nbsp;&nbsp; <a href=silcmp.html><img src=box2.gif border=0 alt=>SILC MP Interface</a><br />
  64. &nbsp;&nbsp;&nbsp; <a href=silcmath.html><img src=box2.gif border=0 alt=>SILC Math Interface</a><br />
  65. <a href=silcaputillib.html><img src=box.gif border=0 alt=>SILC Application Utility Library</a><br />
  66. &nbsp;&nbsp;&nbsp; <a href=silcapputil.html><img src=box2.gif border=0 alt=>SILC Application Utilities</a><br />
  67. &nbsp;&nbsp;&nbsp; <a href=silcidcache.html><img src=box2.gif border=0 alt=>SILC ID Cache Interface</a><br />
  68. <a href=silcskrlib.html><img src=box.gif border=0 alt=>SILC Key Repository Library</a><br />
  69. &nbsp;&nbsp;&nbsp; <a href=silcskr.html><img src=box2.gif border=0 alt=>SILC SKR Interface</a><br />
  70. <a href=silcasn1lib.html><img src=box.gif border=0 alt=>SILC ASN.1 Library</a><br />
  71. &nbsp;&nbsp;&nbsp; <a href=silcasn1.html><img src=box2.gif border=0 alt=>SILC ASN.1 Interface</a><br />
  72. &nbsp;&nbsp;&nbsp; <a href=silcber.html><img src=box2.gif border=0 alt=>SILC BER interface</a><br />
  73. <a href=silcskelib.html><img src=box.gif border=0 alt=>SILC Key Exchange Library</a><br />
  74. &nbsp;&nbsp;&nbsp; <a href=silcske.html><img src=box2.gif border=0 alt=>SILC SKE Interface</a><br />
  75. &nbsp;&nbsp;&nbsp; <a href=silcconnauth.html><img src=box2.gif border=0 alt=>SILC Connection Authentication Interface</a><br />
  76. <a href=silcsftplib.html><img src=box.gif border=0 alt=>SILC SFTP Library</a><br />
  77. &nbsp;&nbsp;&nbsp; <a href=silcsftp.html><img src=box2.gif border=0 alt=>SILC SFTP Interface</a><br />
  78. &nbsp;&nbsp;&nbsp; <a href=silcsftp_fs.html><img src=box2.gif border=0 alt=>SFTP Filesystems Interface</a><br />
  79. <a href=silccorelib.html><img src=box.gif border=0 alt=>SILC Core Library</a><br />
  80. &nbsp;&nbsp;&nbsp; <a href=silcauth.html><img src=box2.gif border=0 alt=>SILC Authentication Interface</a><br />
  81. &nbsp;&nbsp;&nbsp; <a href=silcmessage.html><img src=box2.gif border=0 alt=>SILC Message Interface</a><br />
  82. &nbsp;&nbsp;&nbsp; <a href=silcchannel.html><img src=box2.gif border=0 alt=>SILC Channel Interface</a><br />
  83. &nbsp;&nbsp;&nbsp; <a href=silccommand.html><img src=box2.gif border=0 alt=>SILC Command Interface</a><br />
  84. &nbsp;&nbsp;&nbsp; <a href=silcnotify.html><img src=box2.gif border=0 alt=>SILC Notify Interface</a><br />
  85. &nbsp;&nbsp;&nbsp; <a href=silcstatus.html><img src=box2.gif border=0 alt=>SILC Status Types</a><br />
  86. &nbsp;&nbsp;&nbsp; <a href=silcmode.html><img src=box2.gif border=0 alt=>SILC Modes</a><br />
  87. &nbsp;&nbsp;&nbsp; <a href=silcid.html><img src=box2.gif border=0 alt=>SILC ID Interface</a><br />
  88. &nbsp;&nbsp;&nbsp; <a href=silcargument.html><img src=box2.gif border=0 alt=>SILC Argument Interface</a><br />
  89. &nbsp;&nbsp;&nbsp; <a href=silcattrs.html><img src=box2.gif border=0 alt=>SILC Attributes Interface</a><br />
  90. &nbsp;&nbsp;&nbsp; <a href=silcpacket.html><img src=box2.gif border=0 alt=>Packet Engine Interface</a><br />
  91. &nbsp;&nbsp;&nbsp; <a href=silcpubkey.html><img src=box2.gif border=0 alt=>SILC Public Key Payload Interface</a><br />
  92. <a href=silcutillib.html><img src=box.gif border=0 alt=>SILC Utility Library</a><br />
  93. &nbsp;&nbsp;&nbsp; <a href=silctypes.html><img src=box2.gif border=0 alt=>Basic Types and Definitions</a><br />
  94. &nbsp;&nbsp;&nbsp; <a href=silcbuffer.html><img src=box2.gif border=0 alt=>Data Buffer Interface</a><br />
  95. &nbsp;&nbsp;&nbsp; <a href=silcbuffmt.html><img src=box2.gif border=0 alt=>Data Buffer Format Interface</a><br />
  96. &nbsp;&nbsp;&nbsp; <a href=silchashtable.html><img src=box2.gif border=0 alt=>Hash Table Interface</a><br />
  97. &nbsp;&nbsp;&nbsp; <a href=silcmemory.html><img src=box2.gif border=0 alt=>Memory Allocation Interface</a><br />
  98. &nbsp;&nbsp;&nbsp; <a href=silcstack.html><img src=box2.gif border=0 alt=>Data Stack (memory pool) Interface</a><br />
  99. &nbsp;&nbsp;&nbsp; <a href=silcfsm.html><img src=box2.gif border=0 alt=>Finite State Machine Interface</a><br />
  100. &nbsp;&nbsp;&nbsp; <a href=silcthread.html><img src=box2.gif border=0 alt=>Thread Interface</a><br />
  101. &nbsp;&nbsp;&nbsp; <a href=silcmutex.html><img src=box2.gif border=0 alt=>Mutual Exclusion Lock Interface</a><br />
  102. &nbsp;&nbsp;&nbsp; <a href=silccond.html><img src=box2.gif border=0 alt=>Condition Variable Interface</a><br />
  103. &nbsp;&nbsp;&nbsp; <a href=silcatomic.html><img src=box2.gif border=0 alt=>Atomic Operations Interface</a><br />
  104. &nbsp;&nbsp;&nbsp; <a href=silcnet.html><img src=box2.gif border=0 alt=>Network (TCP and UDP) Interface</a><br />
  105. &nbsp;&nbsp;&nbsp; <a href=silcschedule.html><img src=box2.gif border=0 alt=>Scheduler Interface</a><br />
  106. &nbsp;&nbsp;&nbsp; <a href=silcasync.html><img src=box2.gif border=0 alt=>Asynchronous Operation Interface</a><br />
  107. &nbsp;&nbsp;&nbsp; <a href=silcstream.html><img src=box2.gif border=0 alt=>Abstract Stream Interface</a><br />
  108. &nbsp;&nbsp;&nbsp; <a href=silcsocketstream.html><img src=box2.gif border=0 alt=>Socket Stream Interface</a><br />
  109. &nbsp;&nbsp;&nbsp; <a href=silcfdstream.html><img src=box2.gif border=0 alt=>File Descriptor Stream Interface</a><br />
  110. &nbsp;&nbsp;&nbsp; <a href=silcfileutil.html><img src=box2.gif border=0 alt=>File Utility Functions</a><br />
  111. &nbsp;&nbsp;&nbsp; <a href=silcstrutil.html><img src=box2.gif border=0 alt=>String Utility Interface</a><br />
  112. &nbsp;&nbsp;&nbsp; <a href=silcsnprintf.html><img src=box2.gif border=0 alt=>Snprintf Interface</a><br />
  113. &nbsp;&nbsp;&nbsp; <a href=silcutf8.html><img src=box2.gif border=0 alt=>UTF-8 String Interface</a><br />
  114. &nbsp;&nbsp;&nbsp; <a href=silcstringprep.html><img src=box2.gif border=0 alt=>Stringprep Interface</a><br />
  115. &nbsp;&nbsp;&nbsp; <a href=silcutil.html><img src=box2.gif border=0 alt=>Utility Functions</a><br />
  116. &nbsp;&nbsp;&nbsp; <a href=silclist.html><img src=box2.gif border=0 alt=>List Interface</a><br />
  117. &nbsp;&nbsp;&nbsp; <a href=silcdlist.html><img src=box2.gif border=0 alt=>Dynamic List Interface</a><br />
  118. &nbsp;&nbsp;&nbsp; <a href=silcmime.html><img src=box2.gif border=0 alt=>MIME Interface</a><br />
  119. &nbsp;&nbsp;&nbsp; <a href=silctime.html><img src=box2.gif border=0 alt=>Time Utility Functions</a><br />
  120. &nbsp;&nbsp;&nbsp; <a href=silclog.html><img src=box2.gif border=0 alt=>Logging Interface</a><br />
  121. &nbsp;&nbsp;&nbsp; <a href=silcconfig.html><img src=box2.gif border=0 alt=>Config File Interface</a><br />
  122. <a href=silchttplib.html><img src=box.gif border=0 alt=>SILC HTTP Library</a><br />
  123. &nbsp;&nbsp;&nbsp; <a href=silchttpserver.html><img src=box2.gif border=0 alt=>SILC HTTP Server Interface</a><br />
  124. &nbsp;&nbsp;&nbsp; <a href=silchttpphp.html><img src=box2.gif border=0 alt=>SILC HTTP PHP Translator</a><br />
  125. <br />
  126. <b>Resource Links</b>
  127. <br />
  128. <a href="http://silcnet.org"><img src="box.gif" border="0" alt="">SILC Project Website</a><br />
  129. <a href="http://silcnet.org/support/documentation/"><img src="box.gif" border="0" alt="">SILC Protocol Documentation</a><br />
  130. <a href="http://silcnet.org/support/documentation/wp/"><img src="box.gif" border="0" alt="">SILC White Paper</a><br />
  131. <a href="http://silcnet.org/support/faq/"><img src="box.gif" border="0" alt="">SILC FAQs</a><br />
  132. </small>
  133. <br /><br /><br /><br />
  134. </td></tr>
  135. </table>
  136. </td>
  137. <td bgcolor="#cccccc" background="dot.gif">
  138. <img src="space.gif" width="1" height="1" border="0" alt=""></td>
  139. <td width="720" bgcolor="#ffffff">
  140. <img src="space.gif" width="1" height="1" border="0" alt="">
  141. <table cellpadding="2" cellspacing="6" width="100%">
  142. <tr><td valign="top">
  143. <br />
  144. <FONT SIZE="+2" COLOR="#000055"><B><A NAME="SilcExampleType">SilcExampleType</A></FONT></B><BR><BR>
  145. <FONT SIZE="+1"><B>
  146. <FONT COLOR="#000055">NAME
  147. </FONT></B></FONT>
  148. <PRE><FONT FACE="courier" size="3">
  149. typedef enum { ... } SilcExampleTyle;
  150. </FONT></PRE><FONT SIZE="+1"><B>
  151. <FONT COLOR="#000055">DESCRIPTION
  152. </FONT></B></FONT>
  153. <PRE><FONT FACE="Helvetiva,Arial,Sans-serif">
  154. Example type definition with the actual source code.
  155. </FONT></PRE><FONT SIZE="+1"><B>
  156. <FONT COLOR="#000055">SOURCE
  157. </FONT></B></FONT>
  158. <PRE><FONT FACE="courier" size="3"> /* Source code from the actual header file is appended */
  159. typedef enum {
  160. SILC_EXAMPLE_1,
  161. SILC_EXAMPLE_2,
  162. SILC_EXAMPLE_3,
  163. } <B>SilcExampleType</B>;</FONT></PRE>
  164. <br /><br /><br /><br />
  165. </td></tr>
  166. </table>
  167. </td>
  168. <td bgcolor="#cccccc" background="dot.gif">
  169. <img src="space.gif" width="1" height="1" border="0" alt=""></td>
  170. <td width="180" bgcolor="#f0f0f0">
  171. <img src="space.gif" width="1" height="1" border="0" alt="">
  172. <table width="100%" cellpadding="4" cellspacing="0">
  173. <tr valign="top"><td>
  174. <br />
  175. <font face="Helvetica,Arial,Sans-serif" size="1">
  176. <A HREF="silcexample.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcExampleAPI</A><BR>
  177. <A HREF="silcexample-SilcExampleType.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcExampleType</A><BR>
  178. <A HREF="silcexample-SilcExampleStruct.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcExampleStruct</A><BR>
  179. <A HREF="silcexample-silc_example_function.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_example_function</A><BR>
  180. </font>
  181. <br /><br /><br /><br />
  182. </td></tr>
  183. </table>
  184. </td>
  185. </tr>
  186. </table>
  187. <table border="0" cellspacing="0" cellpadding="0" width="100%">
  188. <tr bgcolor="#444444"><td><img src="space.gif" width="1" height="1"border="0" alt="" ></td></tr>
  189. </table>
  190. <table border="0" cellspacing="0" cellpadding="6" width="100%">
  191. <tr valign="top" bgcolor="#dddddd">
  192. <td><small>Copyright &copy; 2001 - 2007 SILC Project<br />
  193. <a href="http://silcnet.org">SILC Project Website</a></small></td>
  194. <td align="right"><small>
  195. <a href="index.html">SILC Toolkit Reference Manual</a><br />
  196. <a href="toolkit_index.html">Index</a></small></td>
  197. </small></td>
  198. </tr>
  199. </table>
  200. </body>
  201. </html>