git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cc58de
)
Add docstring for samba.net.Join
author
Jelmer Vernooij
<jelmer@samba.org>
Thu, 22 May 2008 16:03:01 +0000
(18:03 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Thu, 22 May 2008 22:37:30 +0000
(
00:37
+0200)
source/libnet/py_net.c
patch
|
blob
|
history
diff --git
a/source/libnet/py_net.c
b/source/libnet/py_net.c
index cf81d8070dc239622a995b25339d8c1ee5611bd8..443da299c7ca7d915c603d4321a96deb10008bcb 100644
(file)
--- 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 }
};