Permalink
Browse files

all we need are the beams from mochiweb

  • Loading branch information...
1 parent 334d872 commit 7c611df42b81851594c7f52561e458b9b97746e1 @abhay abhay committed May 29, 2008
Showing with 2 additions and 8,480 deletions.
  1. +0 −9 deps/mochiweb/LICENSE
  2. +0 −8 deps/mochiweb/Makefile
  3. +0 −1 deps/mochiweb/README
  4. +0 −124 deps/mochiweb/doc/mochifmt.html
  5. +0 −45 deps/mochiweb/doc/mochifmt_records.html
  6. +0 −63 deps/mochiweb/doc/mochifmt_std.html
  7. +0 −73 deps/mochiweb/doc/mochihex.html
  8. +0 −155 deps/mochiweb/doc/mochijson.html
  9. +0 −89 deps/mochiweb/doc/mochijson2.html
  10. +0 −74 deps/mochiweb/doc/mochinum.html
  11. +0 −75 deps/mochiweb/doc/mochiweb.html
  12. +0 −40 deps/mochiweb/doc/mochiweb_app.html
  13. +0 −43 deps/mochiweb/doc/mochiweb_charref.html
  14. +0 −65 deps/mochiweb/doc/mochiweb_cookies.html
  15. +0 −45 deps/mochiweb/doc/mochiweb_echo.html
  16. +0 −129 deps/mochiweb/doc/mochiweb_headers.html
  17. +0 −115 deps/mochiweb/doc/mochiweb_html.html
  18. +0 −63 deps/mochiweb/doc/mochiweb_http.html
  19. +0 −38 deps/mochiweb/doc/mochiweb_jsonrpc.html
  20. +0 −51 deps/mochiweb/doc/mochiweb_multipart.html
  21. +0 −230 deps/mochiweb/doc/mochiweb_request.html
  22. +0 −66 deps/mochiweb/doc/mochiweb_response.html
  23. +0 −30 deps/mochiweb/doc/mochiweb_skel.html
  24. +0 −88 deps/mochiweb/doc/mochiweb_socket_server.html
  25. +0 −48 deps/mochiweb/doc/mochiweb_sup.html
  26. +0 −175 deps/mochiweb/doc/mochiweb_util.html
  27. +0 −84 deps/mochiweb/doc/reloader.html
  28. +0 −29 deps/mochiweb/ebin/mochiweb.app
  29. BIN deps/mochiweb/{ebin → }/mochifmt.beam
  30. BIN deps/mochiweb/{ebin → }/mochifmt_records.beam
  31. BIN deps/mochiweb/{ebin → }/mochifmt_std.beam
  32. BIN deps/mochiweb/{ebin → }/mochihex.beam
  33. BIN deps/mochiweb/{ebin → }/mochijson.beam
  34. BIN deps/mochiweb/{ebin → }/mochijson2.beam
  35. BIN deps/mochiweb/{ebin → }/mochinum.beam
  36. BIN deps/mochiweb/{ebin → }/mochiweb.beam
  37. BIN deps/mochiweb/{ebin → }/mochiweb_app.beam
  38. BIN deps/mochiweb/{ebin → }/mochiweb_charref.beam
  39. BIN deps/mochiweb/{ebin → }/mochiweb_cookies.beam
  40. BIN deps/mochiweb/{ebin → }/mochiweb_echo.beam
  41. BIN deps/mochiweb/{ebin → }/mochiweb_headers.beam
  42. BIN deps/mochiweb/{ebin → }/mochiweb_html.beam
  43. BIN deps/mochiweb/{ebin → }/mochiweb_http.beam
  44. BIN deps/mochiweb/{ebin → }/mochiweb_multipart.beam
  45. BIN deps/mochiweb/{ebin → }/mochiweb_request.beam
  46. BIN deps/mochiweb/{ebin → }/mochiweb_response.beam
  47. BIN deps/mochiweb/{ebin → }/mochiweb_skel.beam
  48. BIN deps/mochiweb/{ebin → }/mochiweb_socket_server.beam
  49. BIN deps/mochiweb/{ebin → }/mochiweb_sup.beam
  50. BIN deps/mochiweb/{ebin → }/mochiweb_util.beam
  51. +0 −5 deps/mochiweb/priv/skel/Makefile
  52. +0 −8 deps/mochiweb/priv/skel/conf/skel.config
  53. +0 −8 deps/mochiweb/priv/skel/priv/www/index.html
  54. +0 −9 deps/mochiweb/priv/skel/src/Makefile
  55. +0 −14 deps/mochiweb/priv/skel/src/skel.app
  56. +0 −30 deps/mochiweb/priv/skel/src/skel.erl
  57. +0 −1 deps/mochiweb/priv/skel/src/skel.hrl
  58. +0 −22 deps/mochiweb/priv/skel/src/skel_app.erl
  59. +0 −84 deps/mochiweb/priv/skel/src/skel_deps.erl
  60. +0 −54 deps/mochiweb/priv/skel/src/skel_sup.erl
  61. +0 −43 deps/mochiweb/priv/skel/src/skel_web.erl
  62. +0 −3 deps/mochiweb/priv/skel/start-dev.sh
  63. +0 −3 deps/mochiweb/priv/skel/start.sh
  64. +0 −46 deps/mochiweb/priv/skel/support/include.mk
  65. BIN deps/mochiweb/{ebin → }/reloader.beam
  66. +0 −27 deps/mochiweb/scripts/new_mochiweb.erl
  67. +0 −12 deps/mochiweb/src/Makefile
  68. +0 −426 deps/mochiweb/src/mochifmt.erl
  69. +0 −30 deps/mochiweb/src/mochifmt_records.erl
  70. +0 −23 deps/mochiweb/src/mochifmt_std.erl
  71. +0 −75 deps/mochiweb/src/mochihex.erl
  72. +0 −529 deps/mochiweb/src/mochijson.erl
  73. +0 −509 deps/mochiweb/src/mochijson2.erl
  74. +0 −289 deps/mochiweb/src/mochinum.erl
  75. +0 −29 deps/mochiweb/src/mochiweb.app
  76. +0 −110 deps/mochiweb/src/mochiweb.erl
  77. +0 −20 deps/mochiweb/src/mochiweb_app.erl
  78. +0 −295 deps/mochiweb/src/mochiweb_charref.erl
  79. +0 −250 deps/mochiweb/src/mochiweb_cookies.erl
  80. +0 −31 deps/mochiweb/src/mochiweb_echo.erl
  81. +0 −178 deps/mochiweb/src/mochiweb_headers.erl
  82. +0 −835 deps/mochiweb/src/mochiweb_html.erl
  83. +0 −132 deps/mochiweb/src/mochiweb_http.erl
  84. +0 −429 deps/mochiweb/src/mochiweb_multipart.erl
  85. +0 −723 deps/mochiweb/src/mochiweb_request.erl
  86. +0 −57 deps/mochiweb/src/mochiweb_response.erl
  87. +0 −71 deps/mochiweb/src/mochiweb_skel.erl
  88. +0 −235 deps/mochiweb/src/mochiweb_socket_server.erl
  89. +0 −34 deps/mochiweb/src/mochiweb_sup.erl
  90. +0 −574 deps/mochiweb/src/mochiweb_util.erl
  91. +0 −124 deps/mochiweb/src/reloader.erl
  92. +0 −46 deps/mochiweb/support/include.mk
  93. +1 −1 start-dev.sh
  94. +1 −1 start.sh
View
@@ -1,9 +0,0 @@
-This is the MIT license.
-
-Copyright (c) 2007 Mochi Media, Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -1,8 +0,0 @@
-all:
- (cd src;$(MAKE))
-
-test:
- (cd src;$(MAKE) test)
-
-clean:
- (cd src;$(MAKE) clean)
View
@@ -1 +0,0 @@
-MochiWeb is an Erlang library for building lightweight HTTP servers.
@@ -1,124 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochifmt</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochifmt</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>String Formatting for Erlang, inspired by Python 2.6
- (<a href="http://www.python.org/dev/peps/pep-3101/">PEP 3101</a>).
-<p>Copyright © 2008 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>String Formatting for Erlang, inspired by Python 2.6
- (<a href="http://www.python.org/dev/peps/pep-3101/">PEP 3101</a>).
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#bformat-2">bformat/2</a></td><td>Format Args with Format and return a binary().</td></tr>
-<tr><td valign="top"><a href="#bformat-3">bformat/3</a></td><td>Format Args with Format using Module and return a binary().</td></tr>
-<tr><td valign="top"><a href="#convert_field-2">convert_field/2</a></td><td>Process Arg according to the given explicit conversion specifier.</td></tr>
-<tr><td valign="top"><a href="#f-2">f/2</a></td><td>Format Args with Format and return a string().</td></tr>
-<tr><td valign="top"><a href="#f-3">f/3</a></td><td>Format Args with Format using Module and return a string().</td></tr>
-<tr><td valign="top"><a href="#format-2">format/2</a></td><td>Format Args with Format.</td></tr>
-<tr><td valign="top"><a href="#format-3">format/3</a></td><td>Format Args with Format using Module.</td></tr>
-<tr><td valign="top"><a href="#format_field-2">format_field/2</a></td><td>Format Arg with Format.</td></tr>
-<tr><td valign="top"><a href="#format_field-3">format_field/3</a></td><td>Format Arg with Format.</td></tr>
-<tr><td valign="top"><a href="#get_field-2">get_field/2</a></td><td>Consecutively call get_value/2 on parts of Key delimited by ".",
- replacing Args with the result of the previous get_value.</td></tr>
-<tr><td valign="top"><a href="#get_field-3">get_field/3</a></td><td>Consecutively call Module:get_value/2 on parts of Key delimited by ".",
- replacing Args with the result of the previous get_value.</td></tr>
-<tr><td valign="top"><a href="#get_value-2">get_value/2</a></td><td>Get the Key from Args.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td>Run tests.</td></tr>
-<tr><td valign="top"><a href="#tokenize-1">tokenize/1</a></td><td>Tokenize a format string into mochifmt's internal format.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="bformat-2">bformat/2</a></h3>
-<div class="spec">
-<p><tt>bformat(Format::string(), Args) -&gt; binary()</tt></p>
-</div><p>Format Args with Format and return a binary().</p>
-
-<h3 class="function"><a name="bformat-3">bformat/3</a></h3>
-<div class="spec">
-<p><tt>bformat(Format::string(), Args, Module) -&gt; binary()</tt></p>
-</div><p>Format Args with Format using Module and return a binary().</p>
-
-<h3 class="function"><a name="convert_field-2">convert_field/2</a></h3>
-<div class="spec">
-<p><tt>convert_field(Arg, Conversion::<a href="#type-conversion">conversion()</a>) -&gt; term()</tt></p>
-</div><p>Process Arg according to the given explicit conversion specifier.</p>
-
-<h3 class="function"><a name="f-2">f/2</a></h3>
-<div class="spec">
-<p><tt>f(Format::string(), Args) -&gt; string()</tt></p>
-</div><p>Format Args with Format and return a string().</p>
-
-<h3 class="function"><a name="f-3">f/3</a></h3>
-<div class="spec">
-<p><tt>f(Format::string(), Args, Module) -&gt; string()</tt></p>
-</div><p>Format Args with Format using Module and return a string().</p>
-
-<h3 class="function"><a name="format-2">format/2</a></h3>
-<div class="spec">
-<p><tt>format(Format::string(), Args) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Format Args with Format.</p>
-
-<h3 class="function"><a name="format-3">format/3</a></h3>
-<div class="spec">
-<p><tt>format(Format::string(), Args, Module) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Format Args with Format using Module.</p>
-
-<h3 class="function"><a name="format_field-2">format_field/2</a></h3>
-<div class="spec">
-<p><tt>format_field(Arg, Format) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Format Arg with Format.</p>
-
-<h3 class="function"><a name="format_field-3">format_field/3</a></h3>
-<div class="spec">
-<p><tt>format_field(Arg, Format, Module::_Module) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Format Arg with Format.</p>
-
-<h3 class="function"><a name="get_field-2">get_field/2</a></h3>
-<div class="spec">
-<p><tt>get_field(Key::string(), Args) -&gt; term()</tt></p>
-</div><p>Consecutively call get_value/2 on parts of Key delimited by ".",
- replacing Args with the result of the previous get_value. This
- is used to implement formats such as {0.0}.</p>
-
-<h3 class="function"><a name="get_field-3">get_field/3</a></h3>
-<div class="spec">
-<p><tt>get_field(Key::string(), Args, Module) -&gt; term()</tt></p>
-</div><p>Consecutively call Module:get_value/2 on parts of Key delimited by ".",
- replacing Args with the result of the previous get_value. This
- is used to implement formats such as {0.0}.</p>
-
-<h3 class="function"><a name="get_value-2">get_value/2</a></h3>
-<div class="spec">
-<p><tt>get_value(Key::string(), Args::<a href="#type-args">args()</a>) -&gt; term()</tt></p>
-</div><p>Get the Key from Args. If Args is a tuple then convert Key to
- an integer and get element(1 + Key, Args). If Args is a list and Key
- can be parsed as an integer then use lists:nth(1 + Key, Args),
- otherwise try and look for Key in Args as a proplist, converting
- Key to an atom or binary if necessary.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; ok</tt></p>
-</div><p>Run tests.</p>
-
-<h3 class="function"><a name="tokenize-1">tokenize/1</a></h3>
-<div class="spec">
-<p><tt>tokenize(S::string()) -&gt; <a href="#type-tokens">tokens()</a></tt></p>
-</div><p>Tokenize a format string into mochifmt's internal format.</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:39.</i></p>
-</body>
-</html>
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochifmt_records(Recs)</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochifmt_records(Recs)</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Formatter that understands records.
-<p>Copyright © 2008 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2><p>Formatter that understands records.</p>
-
- <p>Usage:</p>
-
- 1&gt; M = mochifmt_records:new([{rec, record_info(fields, rec)}]),
- M:format("{0.bar}", [#rec{bar=foo}]).
- foo
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#get_value-2">get_value/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#new-1">new/1</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="get_value-2">get_value/2</a></h3>
-<div class="spec">
-<p><tt>get_value() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="new-1">new/1</a></h3>
-<div class="spec">
-<p><tt>new() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:40.</i></p>
-</body>
-</html>
@@ -1,63 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochifmt_std()</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochifmt_std()</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Template module for a mochifmt formatter.
-<p>Copyright © 2008 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Template module for a mochifmt formatter.
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#convert_field-2">convert_field/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#format-2">format/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#format_field-2">format_field/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#get_field-2">get_field/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#get_value-2">get_value/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#new-0">new/0</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="convert_field-2">convert_field/2</a></h3>
-<div class="spec">
-<p><tt>convert_field() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="format-2">format/2</a></h3>
-<div class="spec">
-<p><tt>format() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="format_field-2">format_field/2</a></h3>
-<div class="spec">
-<p><tt>format_field() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="get_field-2">get_field/2</a></h3>
-<div class="spec">
-<p><tt>get_field() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="get_value-2">get_value/2</a></h3>
-<div class="spec">
-<p><tt>get_value() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="new-0">new/0</a></h3>
-<div class="spec">
-<p><tt>new() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:41.</i></p>
-</body>
-</html>
@@ -1,73 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochihex</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochihex</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Utilities for working with hexadecimal strings.
-<p>Copyright © 2006 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Utilities for working with hexadecimal strings.
-<h2><a name="types">Data Types</a></h2>
-
-<h3 class="typedecl"><a name="type-iodata">iodata()</a></h3>
-<p><tt>iodata() = <a href="#type-iolist">iolist()</a> | binary()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-iolist">iolist()</a></h3>
-<p><tt>iolist() = [char() | binary() | <a href="#type-iolist">iolist()</a>]</tt></p>
-
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#dehex-1">dehex/1</a></td><td>Convert a hex digit to its integer value.</td></tr>
-<tr><td valign="top"><a href="#hexdigit-1">hexdigit/1</a></td><td>Convert an integer less than 16 to a hex digit.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td>Test this module.</td></tr>
-<tr><td valign="top"><a href="#to_bin-1">to_bin/1</a></td><td>Convert a hexadecimal string to a binary.</td></tr>
-<tr><td valign="top"><a href="#to_hex-1">to_hex/1</a></td><td>Convert an iolist to a hexadecimal string.</td></tr>
-<tr><td valign="top"><a href="#to_int-1">to_int/1</a></td><td>Convert a hexadecimal string to an integer.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="dehex-1">dehex/1</a></h3>
-<div class="spec">
-<p><tt>dehex(C::char()) -&gt; integer()</tt></p>
-</div><p>Convert a hex digit to its integer value.</p>
-
-<h3 class="function"><a name="hexdigit-1">hexdigit/1</a></h3>
-<div class="spec">
-<p><tt>hexdigit(C::integer()) -&gt; char()</tt></p>
-</div><p>Convert an integer less than 16 to a hex digit.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; ok</tt></p>
-</div><p>Test this module.</p>
-
-<h3 class="function"><a name="to_bin-1">to_bin/1</a></h3>
-<div class="spec">
-<p><tt>to_bin(L::string()) -&gt; binary()</tt></p>
-</div><p>Convert a hexadecimal string to a binary.</p>
-
-<h3 class="function"><a name="to_hex-1">to_hex/1</a></h3>
-<div class="spec">
-<p><tt>to_hex(I::integer | <a href="#type-iolist">iolist()</a>) -&gt; string()</tt></p>
-</div><p>Convert an iolist to a hexadecimal string.</p>
-
-<h3 class="function"><a name="to_int-1">to_int/1</a></h3>
-<div class="spec">
-<p><tt>to_int(L::string()) -&gt; integer()</tt></p>
-</div><p>Convert a hexadecimal string to an integer.</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:42.</i></p>
-</body>
-</html>
Oops, something went wrong.

0 comments on commit 7c611df

Please sign in to comment.