summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2007-10-15 13:46:33 +0000
committerpixel <pixel>2007-10-15 13:46:33 +0000
commit6ac96734fe74dd8b64535a10780e052dc9f77ce7 (patch)
tree8d8c55e376ffcf1d4c9195f306b144957c5c330e
parentf470cc086bf9edb3348a66e95b6c97fa10629054 (diff)
Adding glue for Lua.
-rw-r--r--lib/tasklib.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tasklib.lua b/lib/tasklib.lua
index 764750b..fda990c 100644
--- a/lib/tasklib.lua
+++ b/lib/tasklib.lua
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: tasklib.lua,v 1.4 2007-06-17 15:24:44 pixel Exp $ */
+/* $Id: tasklib.lua,v 1.5 2007-10-15 13:46:33 pixel Exp $ */
]]--
@@ -38,6 +38,10 @@ function HttpClient(url, headers, vars)
return coroutine.yield("HttpClient", url, headers, vars)
end
+function MailClient(smtp, subject, from, headers, tos, ccs, bccs, fakes, body)
+ return coroutine.yield("MailClient", smtp, subject, from, headers, tos, ccs, bccs, fakes, body)
+end
+
function Command(command, ...)
return coroutine.yield("Command", command, unpack(arg))
end