summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-09-14 15:44:57 +0200
committerVolker Lendecke <vl@samba.org>2008-12-17 12:57:19 +0100
commit09e6dfb8e8d1447306951e34e4e2211037edb9be (patch)
tree046e7902449de798fc634a91465d1e71be71418e /source3/utils/net.c
parent5659f18b86bf1c60fba2bfd76d16e155ae1fb41c (diff)
downloadsamba-09e6dfb8e8d1447306951e34e4e2211037edb9be.tar.gz
samba-09e6dfb8e8d1447306951e34e4e2211037edb9be.tar.bz2
samba-09e6dfb8e8d1447306951e34e4e2211037edb9be.zip
net lua
This adds a lua command line interpreter with some sample code how to build your own data types based on our internal data types. Not meant as the final word, but as a playground for experiments for people. Might be removed later when we find this turns out to be too awkward.
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index f1a5be1876..c9525ab2eb 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -582,6 +582,13 @@ static struct functable net_func[] = {
" Use 'net help registry' to get more information about 'net "
"registry' commands."
},
+ { "lua",
+ net_lua,
+ NET_TRANSPORT_LOCAL,
+ "Open a lua interpreter",
+ " Use 'net help lua' to get more information about 'net "
+ "lua' commands."
+ },
#ifdef WITH_FAKE_KASERVER
{ "afs",
net_afs,