summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-23 08:50:04 +1000
committerAndrew Tridgell <tridge@samba.org>2010-08-23 15:55:39 +1000
commit8a442b082284782987237a0ecf77213c43ed5dae (patch)
tree58e5b549f23c77c43cff25d6dbd374026887c24b /source4/libnet
parent10813bdd852f63eb48dc8ca63a312a80b3897489 (diff)
downloadsamba-8a442b082284782987237a0ecf77213c43ed5dae.tar.gz
samba-8a442b082284782987237a0ecf77213c43ed5dae.tar.bz2
samba-8a442b082284782987237a0ecf77213c43ed5dae.zip
s4-libnet: added join type constants to python interface
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/py_net.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c
index f5eea223e6..f21b936a29 100644
--- a/source4/libnet/py_net.c
+++ b/source4/libnet/py_net.c
@@ -392,4 +392,8 @@ void initnet(void)
Py_INCREF(&py_net_Type);
PyModule_AddObject(m, "Net", (PyObject *)&py_net_Type);
+ PyModule_AddObject(m, "LIBNET_JOINDOMAIN_AUTOMATIC", PyInt_FromLong(LIBNET_JOINDOMAIN_AUTOMATIC));
+ PyModule_AddObject(m, "LIBNET_JOINDOMAIN_SPECIFIED", PyInt_FromLong(LIBNET_JOINDOMAIN_SPECIFIED));
+ PyModule_AddObject(m, "LIBNET_JOIN_AUTOMATIC", PyInt_FromLong(LIBNET_JOIN_AUTOMATIC));
+ PyModule_AddObject(m, "LIBNET_JOIN_SPECIFIED", PyInt_FromLong(LIBNET_JOIN_SPECIFIED));
}