summaryrefslogtreecommitdiff
path: root/source/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-22 18:03:01 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-23 00:37:30 +0200
commit382de5455363ab1ae7436ff8da4b952d2b6541e9 (patch)
tree9752b64a8f0430c35d1787b243d62fb580fc0fd0 /source/libnet
parent0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0 (diff)
downloadsamba-382de5455363ab1ae7436ff8da4b952d2b6541e9.tar.gz
Add docstring for samba.net.Join
Diffstat (limited to 'source/libnet')
-rw-r--r--source/libnet/py_net.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/libnet/py_net.c b/source/libnet/py_net.c
index cf81d8070dc..443da299c7c 100644
--- a/source/libnet/py_net.c
+++ b/source/libnet/py_net.c
@@ -71,8 +71,11 @@ static PyObject *py_net_join(PyObject *cls, PyObject *args, PyObject *kwargs)
return result;
}
+static char py_net_join_doc[] = "join(domain_name, netbios_name, join_type, level) -> (join_password, domain_sid, domain_name)\n\n" \
+"Join the domain with the specified name.";
+
static struct PyMethodDef net_methods[] = {
- {"Join", (PyCFunction)py_net_join, METH_VARARGS|METH_KEYWORDS},
+ {"Join", (PyCFunction)py_net_join, METH_VARARGS|METH_KEYWORDS, py_net_join_doc},
{NULL }
};