summaryrefslogtreecommitdiffstats
path: root/source4/scripting/ejs/ejsnet.h
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-10-24 21:10:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:13 -0500
commitab6ae6838eaad3f7e31cb7dd3ce8ac4a75fd2c84 (patch)
treeff21018d8cf04ac74570e50a054f72279c7b3f65 /source4/scripting/ejs/ejsnet.h
parent3aae4d0224815bac3d2af3f528ef732bb4035437 (diff)
downloadsamba-ab6ae6838eaad3f7e31cb7dd3ce8ac4a75fd2c84.tar.gz
samba-ab6ae6838eaad3f7e31cb7dd3ce8ac4a75fd2c84.tar.xz
samba-ab6ae6838eaad3f7e31cb7dd3ce8ac4a75fd2c84.zip
r11281: Initial ejs interface for libnet functions.
rafal (This used to be commit f9c436bbdf0f071247da025f6984f9ee1c48dca8)
Diffstat (limited to 'source4/scripting/ejs/ejsnet.h')
-rw-r--r--source4/scripting/ejs/ejsnet.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/source4/scripting/ejs/ejsnet.h b/source4/scripting/ejs/ejsnet.h
new file mode 100644
index 0000000000..4ea64df36b
--- /dev/null
+++ b/source4/scripting/ejs/ejsnet.h
@@ -0,0 +1,27 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ provide interfaces to libnet calls from ejs scripts
+
+ Copyright (C) Rafal Szczesniak 2005
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+#include "lib/appweb/ejs/ejs.h"
+
+
+void ejsnet_setup(void);
+static int ejs_net_createuser(MprVarHandle, int, char**);