self 27 lib/talloc/pytalloc.c void py_talloc_dealloc(PyObject* self)
self 29 lib/talloc/pytalloc.c py_talloc_Object *obj = (py_talloc_Object *)self;
self 32 lib/talloc/pytalloc.c self->ob_type->tp_free(self);
self 33 lib/talloc/pytalloc.h void py_talloc_dealloc(PyObject* self);
self 101 lib/tdb/pytdb.c static PyObject *obj_transaction_cancel(PyTdbObject *self)
self 103 lib/tdb/pytdb.c int ret = tdb_transaction_cancel(self->ctx);
self 104 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 108 lib/tdb/pytdb.c static PyObject *obj_transaction_commit(PyTdbObject *self)
self 110 lib/tdb/pytdb.c int ret = tdb_transaction_commit(self->ctx);
self 111 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 115 lib/tdb/pytdb.c static PyObject *obj_transaction_recover(PyTdbObject *self)
self 117 lib/tdb/pytdb.c int ret = tdb_transaction_recover(self->ctx);
self 118 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 122 lib/tdb/pytdb.c static PyObject *obj_transaction_start(PyTdbObject *self)
self 124 lib/tdb/pytdb.c int ret = tdb_transaction_start(self->ctx);
self 125 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 129 lib/tdb/pytdb.c static PyObject *obj_reopen(PyTdbObject *self)
self 131 lib/tdb/pytdb.c int ret = tdb_reopen(self->ctx);
self 132 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 136 lib/tdb/pytdb.c static PyObject *obj_lockall(PyTdbObject *self)
self 138 lib/tdb/pytdb.c int ret = tdb_lockall(self->ctx);
self 139 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 143 lib/tdb/pytdb.c static PyObject *obj_unlockall(PyTdbObject *self)
self 145 lib/tdb/pytdb.c int ret = tdb_unlockall(self->ctx);
self 146 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 150 lib/tdb/pytdb.c static PyObject *obj_lockall_read(PyTdbObject *self)
self 152 lib/tdb/pytdb.c int ret = tdb_lockall_read(self->ctx);
self 153 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 157 lib/tdb/pytdb.c static PyObject *obj_unlockall_read(PyTdbObject *self)
self 159 lib/tdb/pytdb.c int ret = tdb_unlockall_read(self->ctx);
self 160 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 164 lib/tdb/pytdb.c static PyObject *obj_close(PyTdbObject *self)
self 167 lib/tdb/pytdb.c if (self->closed)
self 169 lib/tdb/pytdb.c ret = tdb_close(self->ctx);
self 170 lib/tdb/pytdb.c self->closed = true;
self 171 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 175 lib/tdb/pytdb.c static PyObject *obj_get(PyTdbObject *self, PyObject *args)
self 184 lib/tdb/pytdb.c return PyString_FromTDB_DATA(tdb_fetch(self->ctx, key));
self 187 lib/tdb/pytdb.c static PyObject *obj_append(PyTdbObject *self, PyObject *args)
self 198 lib/tdb/pytdb.c ret = tdb_append(self->ctx, key, data);
self 199 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 203 lib/tdb/pytdb.c static PyObject *obj_firstkey(PyTdbObject *self)
self 205 lib/tdb/pytdb.c return PyString_FromTDB_DATA(tdb_firstkey(self->ctx));
self 208 lib/tdb/pytdb.c static PyObject *obj_nextkey(PyTdbObject *self, PyObject *args)
self 217 lib/tdb/pytdb.c return PyString_FromTDB_DATA(tdb_nextkey(self->ctx, key));
self 220 lib/tdb/pytdb.c static PyObject *obj_delete(PyTdbObject *self, PyObject *args)
self 229 lib/tdb/pytdb.c ret = tdb_delete(self->ctx, key);
self 230 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 234 lib/tdb/pytdb.c static PyObject *obj_has_key(PyTdbObject *self, PyObject *args)
self 243 lib/tdb/pytdb.c ret = tdb_exists(self->ctx, key);
self 245 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 251 lib/tdb/pytdb.c static PyObject *obj_store(PyTdbObject *self, PyObject *args)
self 264 lib/tdb/pytdb.c ret = tdb_store(self->ctx, key, value, flag);
self 265 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 276 lib/tdb/pytdb.c static PyObject *tdb_iter_next(PyTdbIteratorObject *self)
self 280 lib/tdb/pytdb.c if (self->current.dptr == NULL && self->current.dsize == 0)
self 282 lib/tdb/pytdb.c current = self->current;
self 283 lib/tdb/pytdb.c self->current = tdb_nextkey(self->iteratee->ctx, self->current);
self 288 lib/tdb/pytdb.c static void tdb_iter_dealloc(PyTdbIteratorObject *self)
self 290 lib/tdb/pytdb.c Py_DECREF(self->iteratee);
self 291 lib/tdb/pytdb.c PyObject_Del(self);
self 303 lib/tdb/pytdb.c static PyObject *tdb_object_iter(PyTdbObject *self)
self 308 lib/tdb/pytdb.c ret->current = tdb_firstkey(self->ctx);
self 309 lib/tdb/pytdb.c ret->iteratee = self;
self 310 lib/tdb/pytdb.c Py_INCREF(self);
self 314 lib/tdb/pytdb.c static PyObject *obj_clear(PyTdbObject *self)
self 316 lib/tdb/pytdb.c int ret = tdb_wipe_all(self->ctx);
self 317 lib/tdb/pytdb.c PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx);
self 360 lib/tdb/pytdb.c static PyObject *obj_get_hash_size(PyTdbObject *self, void *closure)
self 362 lib/tdb/pytdb.c return PyInt_FromLong(tdb_hash_size(self->ctx));
self 365 lib/tdb/pytdb.c static int obj_set_max_dead(PyTdbObject *self, PyObject *max_dead, void *closure)
self 369 lib/tdb/pytdb.c tdb_set_max_dead(self->ctx, PyInt_AsLong(max_dead));
self 373 lib/tdb/pytdb.c static PyObject *obj_get_map_size(PyTdbObject *self, void *closure)
self 375 lib/tdb/pytdb.c return PyInt_FromLong(tdb_map_size(self->ctx));
self 378 lib/tdb/pytdb.c static PyObject *obj_get_flags(PyTdbObject *self, void *closure)
self 380 lib/tdb/pytdb.c return PyInt_FromLong(tdb_get_flags(self->ctx));
self 383 lib/tdb/pytdb.c static PyObject *obj_get_filename(PyTdbObject *self, void *closure)
self 385 lib/tdb/pytdb.c return PyString_FromString(tdb_name(self->ctx));
self 397 lib/tdb/pytdb.c static PyObject *tdb_object_repr(PyTdbObject *self)
self 399 lib/tdb/pytdb.c return PyString_FromFormat("Tdb('%s')", tdb_name(self->ctx));
self 402 lib/tdb/pytdb.c static void tdb_object_dealloc(PyTdbObject *self)
self 404 lib/tdb/pytdb.c if (!self->closed)
self 405 lib/tdb/pytdb.c tdb_close(self->ctx);
self 406 lib/tdb/pytdb.c PyObject_Del(self);
self 409 lib/tdb/pytdb.c static PyObject *obj_getitem(PyTdbObject *self, PyObject *key)
self 420 lib/tdb/pytdb.c val = tdb_fetch(self->ctx, tkey);
self 429 lib/tdb/pytdb.c static int obj_setitem(PyTdbObject *self, PyObject *key, PyObject *value)
self 441 lib/tdb/pytdb.c ret = tdb_delete(self->ctx, tkey);
self 450 lib/tdb/pytdb.c ret = tdb_store(self->ctx, tkey, tval, TDB_REPLACE);
self 454 lib/tdb/pytdb.c PyErr_SetTDBError(self->ctx);
self 45 libcli/nbt/pynbt.c static PyObject *py_nbt_node_init(PyTypeObject *self, PyObject *args, PyObject *kwargs)
self 137 libcli/nbt/pynbt.c static PyObject *py_nbt_name_query(PyObject *self, PyObject *args, PyObject *kwargs)
self 139 libcli/nbt/pynbt.c nbt_node_Object *node = (nbt_node_Object *)self;
self 198 libcli/nbt/pynbt.c static PyObject *py_nbt_name_status(PyObject *self, PyObject *args, PyObject *kwargs)
self 200 libcli/nbt/pynbt.c nbt_node_Object *node = (nbt_node_Object *)self;
self 256 libcli/nbt/pynbt.c static PyObject *py_nbt_name_register(PyObject *self, PyObject *args, PyObject *kwargs)
self 258 libcli/nbt/pynbt.c nbt_node_Object *node = (nbt_node_Object *)self;
self 312 libcli/nbt/pynbt.c static PyObject *py_nbt_name_refresh(PyObject *self, PyObject *args, PyObject *kwargs)
self 314 libcli/nbt/pynbt.c nbt_node_Object *node = (nbt_node_Object *)self;
self 367 libcli/nbt/pynbt.c static PyObject *py_nbt_name_release(PyObject *self, PyObject *args, PyObject *kwargs)
self 53 source4/auth/credentials/pycredentials.c static PyObject *py_creds_get_username(py_talloc_Object *self)
self 55 source4/auth/credentials/pycredentials.c return PyString_FromStringOrNULL(cli_credentials_get_username(PyCredentials_AsCliCredentials(self)));
self 58 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_username(py_talloc_Object *self, PyObject *args)
self 65 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_set_username(PyCredentials_AsCliCredentials(self), newval, obt));
self 68 source4/auth/credentials/pycredentials.c static PyObject *py_creds_get_password(py_talloc_Object *self)
self 70 source4/auth/credentials/pycredentials.c return PyString_FromStringOrNULL(cli_credentials_get_password(PyCredentials_AsCliCredentials(self)));
self 74 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_password(py_talloc_Object *self, PyObject *args)
self 81 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_set_password(PyCredentials_AsCliCredentials(self), newval, obt));
self 84 source4/auth/credentials/pycredentials.c static PyObject *py_creds_get_domain(py_talloc_Object *self)
self 86 source4/auth/credentials/pycredentials.c return PyString_FromStringOrNULL(cli_credentials_get_domain(PyCredentials_AsCliCredentials(self)));
self 89 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_domain(py_talloc_Object *self, PyObject *args)
self 96 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_set_domain(PyCredentials_AsCliCredentials(self), newval, obt));
self 99 source4/auth/credentials/pycredentials.c static PyObject *py_creds_get_realm(py_talloc_Object *self)
self 101 source4/auth/credentials/pycredentials.c return PyString_FromStringOrNULL(cli_credentials_get_realm(PyCredentials_AsCliCredentials(self)));
self 104 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_realm(py_talloc_Object *self, PyObject *args)
self 111 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_set_realm(PyCredentials_AsCliCredentials(self), newval, obt));
self 114 source4/auth/credentials/pycredentials.c static PyObject *py_creds_get_bind_dn(py_talloc_Object *self)
self 116 source4/auth/credentials/pycredentials.c return PyString_FromStringOrNULL(cli_credentials_get_bind_dn(PyCredentials_AsCliCredentials(self)));
self 119 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_bind_dn(py_talloc_Object *self, PyObject *args)
self 125 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_set_bind_dn(PyCredentials_AsCliCredentials(self), newval));
self 128 source4/auth/credentials/pycredentials.c static PyObject *py_creds_get_workstation(py_talloc_Object *self)
self 130 source4/auth/credentials/pycredentials.c return PyString_FromStringOrNULL(cli_credentials_get_workstation(PyCredentials_AsCliCredentials(self)));
self 133 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_workstation(py_talloc_Object *self, PyObject *args)
self 140 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_set_workstation(PyCredentials_AsCliCredentials(self), newval, obt));
self 143 source4/auth/credentials/pycredentials.c static PyObject *py_creds_is_anonymous(py_talloc_Object *self)
self 145 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_is_anonymous(PyCredentials_AsCliCredentials(self)));
self 148 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_anonymous(py_talloc_Object *self)
self 150 source4/auth/credentials/pycredentials.c cli_credentials_set_anonymous(PyCredentials_AsCliCredentials(self));
self 154 source4/auth/credentials/pycredentials.c static PyObject *py_creds_authentication_requested(py_talloc_Object *self)
self 156 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_authentication_requested(PyCredentials_AsCliCredentials(self)));
self 159 source4/auth/credentials/pycredentials.c static PyObject *py_creds_wrong_password(py_talloc_Object *self)
self 161 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_wrong_password(PyCredentials_AsCliCredentials(self)));
self 164 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_cmdline_callbacks(py_talloc_Object *self)
self 166 source4/auth/credentials/pycredentials.c return PyBool_FromLong(cli_credentials_set_cmdline_callbacks(PyCredentials_AsCliCredentials(self)));
self 169 source4/auth/credentials/pycredentials.c static PyObject *py_creds_parse_string(py_talloc_Object *self, PyObject *args)
self 176 source4/auth/credentials/pycredentials.c cli_credentials_parse_string(PyCredentials_AsCliCredentials(self), newval, obt);
self 180 source4/auth/credentials/pycredentials.c static PyObject *py_creds_get_nt_hash(py_talloc_Object *self)
self 182 source4/auth/credentials/pycredentials.c const struct samr_Password *ntpw = cli_credentials_get_nt_hash(PyCredentials_AsCliCredentials(self), self->ptr);
self 187 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_kerberos_state(py_talloc_Object *self, PyObject *args)
self 193 source4/auth/credentials/pycredentials.c cli_credentials_set_kerberos_state(PyCredentials_AsCliCredentials(self), state);
self 197 source4/auth/credentials/pycredentials.c static PyObject *py_creds_guess(py_talloc_Object *self, PyObject *args)
self 208 source4/auth/credentials/pycredentials.c cli_credentials_guess(PyCredentials_AsCliCredentials(self), lp_ctx);
self 213 source4/auth/credentials/pycredentials.c static PyObject *py_creds_set_machine_account(py_talloc_Object *self, PyObject *args)
self 225 source4/auth/credentials/pycredentials.c status = cli_credentials_set_machine_account(PyCredentials_AsCliCredentials(self), lp_ctx);
self 1679 source4/heimdal/kdc/krb5tgs.c PA_S4U2Self self;
self 1685 source4/heimdal/kdc/krb5tgs.c &self, NULL);
self 1691 source4/heimdal/kdc/krb5tgs.c ret = _krb5_s4u2self_to_checksumdata(context, &self, &datack);
self 1697 source4/heimdal/kdc/krb5tgs.c free_PA_S4U2Self(&self);
self 1709 source4/heimdal/kdc/krb5tgs.c &self.cksum);
self 1713 source4/heimdal/kdc/krb5tgs.c free_PA_S4U2Self(&self);
self 1722 source4/heimdal/kdc/krb5tgs.c self.name,
self 1723 source4/heimdal/kdc/krb5tgs.c self.realm);
self 1724 source4/heimdal/kdc/krb5tgs.c free_PA_S4U2Self(&self);
self 436 source4/heimdal/lib/krb5/get_cred.c PA_S4U2Self self;
self 441 source4/heimdal/lib/krb5/get_cred.c self.name = impersonate_principal->name;
self 442 source4/heimdal/lib/krb5/get_cred.c self.realm = impersonate_principal->realm;
self 443 source4/heimdal/lib/krb5/get_cred.c self.auth = estrdup("Kerberos");
self 445 source4/heimdal/lib/krb5/get_cred.c ret = _krb5_s4u2self_to_checksumdata(context, &self, &data);
self 447 source4/heimdal/lib/krb5/get_cred.c free(self.auth);
self 453 source4/heimdal/lib/krb5/get_cred.c free(self.auth);
self 464 source4/heimdal/lib/krb5/get_cred.c &self.cksum);
self 468 source4/heimdal/lib/krb5/get_cred.c free(self.auth);
self 472 source4/heimdal/lib/krb5/get_cred.c ASN1_MALLOC_ENCODE(PA_S4U2Self, buf, len, &self, &size, ret);
self 473 source4/heimdal/lib/krb5/get_cred.c free(self.auth);
self 474 source4/heimdal/lib/krb5/get_cred.c free_Checksum(&self.cksum);
self 1196 source4/heimdal/lib/krb5/get_cred.c krb5_principal self;
self 1218 source4/heimdal/lib/krb5/get_cred.c if (opt->self)
self 1219 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, opt->self);
self 1251 source4/heimdal/lib/krb5/get_cred.c krb5_const_principal self)
self 1253 source4/heimdal/lib/krb5/get_cred.c if (opt->self)
self 1254 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, opt->self);
self 1255 source4/heimdal/lib/krb5/get_cred.c return krb5_copy_principal(context, self, &opt->self);
self 1388 source4/heimdal/lib/krb5/get_cred.c &in_creds, opt->self, opt->ticket,
self 40 source4/heimdal/lib/krb5/misc.c const PA_S4U2Self *self,
self 55 source4/heimdal/lib/krb5/misc.c ret = krb5_store_int32(sp, self->name.name_type);
self 58 source4/heimdal/lib/krb5/misc.c for (i = 0; i < self->name.name_string.len; i++) {
self 59 source4/heimdal/lib/krb5/misc.c size = strlen(self->name.name_string.val[i]);
self 60 source4/heimdal/lib/krb5/misc.c ssize = krb5_storage_write(sp, self->name.name_string.val[i], size);
self 66 source4/heimdal/lib/krb5/misc.c size = strlen(self->realm);
self 67 source4/heimdal/lib/krb5/misc.c ssize = krb5_storage_write(sp, self->realm, size);
self 72 source4/heimdal/lib/krb5/misc.c size = strlen(self->auth);
self 73 source4/heimdal/lib/krb5/misc.c ssize = krb5_storage_write(sp, self->auth, size);
self 32 source4/lib/com/pycom.c static PyObject *py_get_class_object(PyObject *self, PyObject *args)
self 140 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_validate(PyLdbDnObject *self)
self 142 source4/lib/ldb/pyldb.c return PyBool_FromLong(ldb_dn_validate(self->dn));
self 145 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_is_valid(PyLdbDnObject *self)
self 147 source4/lib/ldb/pyldb.c return PyBool_FromLong(ldb_dn_is_valid(self->dn));
self 150 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_is_special(PyLdbDnObject *self)
self 152 source4/lib/ldb/pyldb.c return PyBool_FromLong(ldb_dn_is_special(self->dn));
self 155 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_is_null(PyLdbDnObject *self)
self 157 source4/lib/ldb/pyldb.c return PyBool_FromLong(ldb_dn_is_null(self->dn));
self 160 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_get_casefold(PyLdbDnObject *self)
self 162 source4/lib/ldb/pyldb.c return PyString_FromString(ldb_dn_get_casefold(self->dn));
self 165 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_get_linearized(PyLdbDnObject *self)
self 167 source4/lib/ldb/pyldb.c return PyString_FromString(ldb_dn_get_linearized(self->dn));
self 170 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_canonical_str(PyLdbDnObject *self)
self 172 source4/lib/ldb/pyldb.c return PyString_FromString(ldb_dn_canonical_string(self->dn, self->dn));
self 175 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_canonical_ex_str(PyLdbDnObject *self)
self 177 source4/lib/ldb/pyldb.c return PyString_FromString(ldb_dn_canonical_ex_string(self->dn, self->dn));
self 180 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_repr(PyLdbDnObject *self)
self 182 source4/lib/ldb/pyldb.c return PyString_FromFormat("Dn(%s)", PyObject_REPR(PyString_FromString(ldb_dn_get_linearized(self->dn))));
self 185 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_check_special(PyLdbDnObject *self, PyObject *args)
self 192 source4/lib/ldb/pyldb.c return ldb_dn_check_special(self->dn, name)?Py_True:Py_False;
self 200 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_get_parent(PyLdbDnObject *self)
self 202 source4/lib/ldb/pyldb.c struct ldb_dn *dn = PyLdbDn_AsDn((PyObject *)self);
self 208 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_add_child(PyLdbDnObject *self, PyObject *args)
self 215 source4/lib/ldb/pyldb.c dn = PyLdbDn_AsDn((PyObject *)self);
self 223 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_add_base(PyLdbDnObject *self, PyObject *args)
self 230 source4/lib/ldb/pyldb.c dn = PyLdbDn_AsDn((PyObject *)self);
self 275 source4/lib/ldb/pyldb.c static Py_ssize_t py_ldb_dn_len(PyLdbDnObject *self)
self 277 source4/lib/ldb/pyldb.c return ldb_dn_get_comp_num(PyLdbDn_AsDn((PyObject *)self));
self 280 source4/lib/ldb/pyldb.c static PyObject *py_ldb_dn_concat(PyLdbDnObject *self, PyObject *py_other)
self 282 source4/lib/ldb/pyldb.c struct ldb_dn *dn = PyLdbDn_AsDn((PyObject *)self),
self 344 source4/lib/ldb/pyldb.c static void py_ldb_dn_dealloc(PyLdbDnObject *self)
self 346 source4/lib/ldb/pyldb.c talloc_free(self->mem_ctx);
self 347 source4/lib/ldb/pyldb.c self->ob_type->tp_free(self);
self 372 source4/lib/ldb/pyldb.c static PyObject *py_ldb_set_debug(PyLdbObject *self, PyObject *args)
self 381 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_set_debug(self->ldb_ctx, py_ldb_debug, cb), PyLdb_AsLdbContext(self));
self 386 source4/lib/ldb/pyldb.c static PyObject *py_ldb_set_create_perms(PyTypeObject *self, PyObject *args)
self 392 source4/lib/ldb/pyldb.c ldb_set_create_perms(PyLdb_AsLdbContext(self), perms);
self 397 source4/lib/ldb/pyldb.c static PyObject *py_ldb_set_modules_dir(PyTypeObject *self, PyObject *args)
self 403 source4/lib/ldb/pyldb.c ldb_set_modules_dir(PyLdb_AsLdbContext(self), modules_dir);
self 408 source4/lib/ldb/pyldb.c static PyObject *py_ldb_transaction_start(PyLdbObject *self)
self 410 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_transaction_start(PyLdb_AsLdbContext(self)), PyLdb_AsLdbContext(self));
self 414 source4/lib/ldb/pyldb.c static PyObject *py_ldb_transaction_commit(PyLdbObject *self)
self 416 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_transaction_commit(PyLdb_AsLdbContext(self)), PyLdb_AsLdbContext(self));
self 420 source4/lib/ldb/pyldb.c static PyObject *py_ldb_transaction_cancel(PyLdbObject *self)
self 422 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_transaction_cancel(PyLdb_AsLdbContext(self)), PyLdb_AsLdbContext(self));
self 426 source4/lib/ldb/pyldb.c static PyObject *py_ldb_setup_wellknown_attributes(PyLdbObject *self)
self 428 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_setup_wellknown_attributes(PyLdb_AsLdbContext(self)), PyLdb_AsLdbContext(self));
self 432 source4/lib/ldb/pyldb.c static PyObject *py_ldb_repr(PyLdbObject *self)
self 437 source4/lib/ldb/pyldb.c static PyObject *py_ldb_get_root_basedn(PyLdbObject *self)
self 439 source4/lib/ldb/pyldb.c struct ldb_dn *dn = ldb_get_root_basedn(PyLdb_AsLdbContext(self));
self 446 source4/lib/ldb/pyldb.c static PyObject *py_ldb_get_schema_basedn(PyLdbObject *self)
self 448 source4/lib/ldb/pyldb.c struct ldb_dn *dn = ldb_get_schema_basedn(PyLdb_AsLdbContext(self));
self 455 source4/lib/ldb/pyldb.c static PyObject *py_ldb_get_config_basedn(PyLdbObject *self)
self 457 source4/lib/ldb/pyldb.c struct ldb_dn *dn = ldb_get_config_basedn(PyLdb_AsLdbContext(self));
self 464 source4/lib/ldb/pyldb.c static PyObject *py_ldb_get_default_basedn(PyLdbObject *self)
self 466 source4/lib/ldb/pyldb.c struct ldb_dn *dn = ldb_get_default_basedn(PyLdb_AsLdbContext(self));
self 493 source4/lib/ldb/pyldb.c static int py_ldb_init(PyLdbObject *self, PyObject *args, PyObject *kwargs)
self 508 source4/lib/ldb/pyldb.c ldb = PyLdb_AsLdbContext(self);
self 549 source4/lib/ldb/pyldb.c static PyObject *py_ldb_connect(PyLdbObject *self, PyObject *args, PyObject *kwargs)
self 571 source4/lib/ldb/pyldb.c ret = ldb_connect(PyLdb_AsLdbContext(self), url, flags, options);
self 574 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ret, PyLdb_AsLdbContext(self));
self 579 source4/lib/ldb/pyldb.c static PyObject *py_ldb_modify(PyLdbObject *self, PyObject *args)
self 591 source4/lib/ldb/pyldb.c ret = ldb_modify(PyLdb_AsLdbContext(self), PyLdbMessage_AsMessage(py_msg));
self 592 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ret, PyLdb_AsLdbContext(self));
self 597 source4/lib/ldb/pyldb.c static PyObject *py_ldb_add(PyLdbObject *self, PyObject *args)
self 615 source4/lib/ldb/pyldb.c if (!PyObject_AsDn(msg, dn_value, PyLdb_AsLdbContext(self), &msg->dn)) {
self 648 source4/lib/ldb/pyldb.c ret = ldb_add(PyLdb_AsLdbContext(self), msg);
self 649 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ret, PyLdb_AsLdbContext(self));
self 656 source4/lib/ldb/pyldb.c static PyObject *py_ldb_delete(PyLdbObject *self, PyObject *args)
self 665 source4/lib/ldb/pyldb.c ldb = PyLdb_AsLdbContext(self);
self 676 source4/lib/ldb/pyldb.c static PyObject *py_ldb_rename(PyLdbObject *self, PyObject *args)
self 685 source4/lib/ldb/pyldb.c ldb = PyLdb_AsLdbContext(self);
self 698 source4/lib/ldb/pyldb.c static PyObject *py_ldb_schema_attribute_remove(PyLdbObject *self, PyObject *args)
self 704 source4/lib/ldb/pyldb.c ldb_schema_attribute_remove(PyLdb_AsLdbContext(self), name);
self 709 source4/lib/ldb/pyldb.c static PyObject *py_ldb_schema_attribute_add(PyLdbObject *self, PyObject *args)
self 717 source4/lib/ldb/pyldb.c ret = ldb_schema_attribute_add(PyLdb_AsLdbContext(self), attribute, flags, syntax);
self 719 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ret, PyLdb_AsLdbContext(self));
self 738 source4/lib/ldb/pyldb.c static PyObject *py_ldb_parse_ldif(PyLdbObject *self, PyObject *args)
self 748 source4/lib/ldb/pyldb.c while ((ldif = ldb_ldif_read_string(self->ldb_ctx, &s)) != NULL) {
self 754 source4/lib/ldb/pyldb.c static PyObject *py_ldb_schema_format_value(PyLdbObject *self, PyObject *args)
self 772 source4/lib/ldb/pyldb.c a = ldb_schema_attribute_by_name(PyLdb_AsLdbContext(self), element_name);
self 778 source4/lib/ldb/pyldb.c if (a->syntax->ldif_write_fn(PyLdb_AsLdbContext(self), mem_ctx, &old_val, &new_val) != 0) {
self 790 source4/lib/ldb/pyldb.c static PyObject *py_ldb_search(PyLdbObject *self, PyObject *args, PyObject *kwargs)
self 811 source4/lib/ldb/pyldb.c ldb_ctx = PyLdb_AsLdbContext(self);
self 875 source4/lib/ldb/pyldb.c static PyObject *py_ldb_get_opaque(PyLdbObject *self, PyObject *args)
self 883 source4/lib/ldb/pyldb.c data = ldb_get_opaque(PyLdb_AsLdbContext(self), name);
self 893 source4/lib/ldb/pyldb.c static PyObject *py_ldb_set_opaque(PyLdbObject *self, PyObject *args)
self 903 source4/lib/ldb/pyldb.c ldb_set_opaque(PyLdb_AsLdbContext(self), name, data);
self 908 source4/lib/ldb/pyldb.c static PyObject *py_ldb_modules(PyLdbObject *self)
self 910 source4/lib/ldb/pyldb.c struct ldb_context *ldb = PyLdb_AsLdbContext(self);
self 1015 source4/lib/ldb/pyldb.c static PyObject *py_ldb_get_firstmodule(PyLdbObject *self, void *closure)
self 1017 source4/lib/ldb/pyldb.c return PyLdbModule_FromModule(PyLdb_AsLdbContext(self)->modules);
self 1025 source4/lib/ldb/pyldb.c static int py_ldb_contains(PyLdbObject *self, PyObject *obj)
self 1027 source4/lib/ldb/pyldb.c struct ldb_context *ldb_ctx = PyLdb_AsLdbContext(self);
self 1067 source4/lib/ldb/pyldb.c static void py_ldb_dealloc(PyLdbObject *self)
self 1069 source4/lib/ldb/pyldb.c talloc_free(self->mem_ctx);
self 1070 source4/lib/ldb/pyldb.c self->ob_type->tp_free(self);
self 1088 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_repr(PyLdbModuleObject *self)
self 1090 source4/lib/ldb/pyldb.c return PyString_FromFormat("<ldb module '%s'>", PyLdbModule_AsModule(self)->ops->name);
self 1093 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_str(PyLdbModuleObject *self)
self 1095 source4/lib/ldb/pyldb.c return PyString_FromString(PyLdbModule_AsModule(self)->ops->name);
self 1098 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_start_transaction(PyLdbModuleObject *self)
self 1100 source4/lib/ldb/pyldb.c PyLdbModule_AsModule(self)->ops->start_transaction(PyLdbModule_AsModule(self));
self 1104 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_end_transaction(PyLdbModuleObject *self)
self 1106 source4/lib/ldb/pyldb.c PyLdbModule_AsModule(self)->ops->end_transaction(PyLdbModule_AsModule(self));
self 1110 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_del_transaction(PyLdbModuleObject *self)
self 1112 source4/lib/ldb/pyldb.c PyLdbModule_AsModule(self)->ops->del_transaction(PyLdbModule_AsModule(self));
self 1116 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_search(PyLdbModuleObject *self, PyObject *args, PyObject *kwargs)
self 1129 source4/lib/ldb/pyldb.c mod = self->mod;
self 1145 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_add(PyLdbModuleObject *self, PyObject *args)
self 1159 source4/lib/ldb/pyldb.c mod = PyLdbModule_AsModule(self);
self 1167 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_modify(PyLdbModuleObject *self, PyObject *args)
self 1181 source4/lib/ldb/pyldb.c mod = PyLdbModule_AsModule(self);
self 1189 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_delete(PyLdbModuleObject *self, PyObject *args)
self 1202 source4/lib/ldb/pyldb.c ret = PyLdbModule_AsModule(self)->ops->del(PyLdbModule_AsModule(self), req);
self 1209 source4/lib/ldb/pyldb.c static PyObject *py_ldb_module_rename(PyLdbModuleObject *self, PyObject *args)
self 1224 source4/lib/ldb/pyldb.c ret = PyLdbModule_AsModule(self)->ops->rename(PyLdbModule_AsModule(self), req);
self 1243 source4/lib/ldb/pyldb.c static void py_ldb_module_dealloc(PyLdbModuleObject *self)
self 1245 source4/lib/ldb/pyldb.c talloc_free(self->mem_ctx);
self 1246 source4/lib/ldb/pyldb.c self->ob_type->tp_free(self);
self 1315 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_element_get(PyLdbMessageElementObject *self, PyObject *args)
self 1320 source4/lib/ldb/pyldb.c if (i < 0 || i >= PyLdbMessageElement_AsMessageElement(self)->num_values)
self 1323 source4/lib/ldb/pyldb.c return PyObject_FromLdbValue(NULL, PyLdbMessageElement_AsMessageElement(self),
self 1324 source4/lib/ldb/pyldb.c &(PyLdbMessageElement_AsMessageElement(self)->values[i]));
self 1332 source4/lib/ldb/pyldb.c static Py_ssize_t py_ldb_msg_element_len(PyLdbMessageElementObject *self)
self 1334 source4/lib/ldb/pyldb.c return PyLdbMessageElement_AsMessageElement(self)->num_values;
self 1337 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_element_find(PyLdbMessageElementObject *self, Py_ssize_t idx)
self 1339 source4/lib/ldb/pyldb.c struct ldb_message_element *el = PyLdbMessageElement_AsMessageElement(self);
self 1352 source4/lib/ldb/pyldb.c static int py_ldb_msg_element_cmp(PyLdbMessageElementObject *self, PyLdbMessageElementObject *other)
self 1354 source4/lib/ldb/pyldb.c return ldb_msg_element_compare(PyLdbMessageElement_AsMessageElement(self),
self 1358 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_element_iter(PyLdbMessageElementObject *self)
self 1360 source4/lib/ldb/pyldb.c return PyObject_GetIter(ldb_msg_element_to_set(NULL, PyLdbMessageElement_AsMessageElement(self)));
self 1434 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_element_repr(PyLdbMessageElementObject *self)
self 1438 source4/lib/ldb/pyldb.c struct ldb_message_element *el = PyLdbMessageElement_AsMessageElement(self);
self 1442 source4/lib/ldb/pyldb.c PyObject *o = py_ldb_msg_element_find(self, i);
self 1456 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_element_str(PyLdbMessageElementObject *self)
self 1458 source4/lib/ldb/pyldb.c struct ldb_message_element *el = PyLdbMessageElement_AsMessageElement(self);
self 1466 source4/lib/ldb/pyldb.c static void py_ldb_msg_element_dealloc(PyLdbMessageElementObject *self)
self 1468 source4/lib/ldb/pyldb.c talloc_free(self->mem_ctx);
self 1469 source4/lib/ldb/pyldb.c self->ob_type->tp_free(self);
self 1486 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_remove_attr(PyLdbMessageObject *self, PyObject *args)
self 1492 source4/lib/ldb/pyldb.c ldb_msg_remove_attr(self->msg, name);
self 1497 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_keys(PyLdbMessageObject *self)
self 1499 source4/lib/ldb/pyldb.c struct ldb_message *msg = PyLdbMessage_AsMessage(self);
self 1513 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_getitem_helper(PyLdbMessageObject *self, PyObject *py_name)
self 1517 source4/lib/ldb/pyldb.c struct ldb_message *msg = PyLdbMessage_AsMessage(self);
self 1527 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_getitem(PyLdbMessageObject *self, PyObject *py_name)
self 1529 source4/lib/ldb/pyldb.c PyObject *ret = py_ldb_msg_getitem_helper(self, py_name);
self 1537 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_get(PyLdbMessageObject *self, PyObject *args)
self 1543 source4/lib/ldb/pyldb.c ret = py_ldb_msg_getitem_helper(self, name);
self 1549 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_items(PyLdbMessageObject *self)
self 1551 source4/lib/ldb/pyldb.c struct ldb_message *msg = PyLdbMessage_AsMessage(self);
self 1560 source4/lib/ldb/pyldb.c PyList_SetItem(l, j, Py_BuildValue("(sO)", msg->elements[i].name, PyLdbMessageElement_FromMessageElement(&msg->elements[i], self->msg)));
self 1573 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_iter(PyLdbMessageObject *self)
self 1577 source4/lib/ldb/pyldb.c list = py_ldb_msg_keys(self);
self 1583 source4/lib/ldb/pyldb.c static int py_ldb_msg_setitem(PyLdbMessageObject *self, PyObject *name, PyObject *value)
self 1587 source4/lib/ldb/pyldb.c ldb_msg_remove_attr(self->msg, attr_name);
self 1593 source4/lib/ldb/pyldb.c talloc_steal(self->msg, el);
self 1594 source4/lib/ldb/pyldb.c ldb_msg_remove_attr(PyLdbMessage_AsMessage(self), attr_name);
self 1595 source4/lib/ldb/pyldb.c ldb_msg_add(PyLdbMessage_AsMessage(self), el, el->flags);
self 1600 source4/lib/ldb/pyldb.c static Py_ssize_t py_ldb_msg_length(PyLdbMessageObject *self)
self 1602 source4/lib/ldb/pyldb.c return PyLdbMessage_AsMessage(self)->num_elements;
self 1658 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_get_dn(PyLdbMessageObject *self, void *closure)
self 1660 source4/lib/ldb/pyldb.c return PyLdbDn_FromDn(PyLdbMessage_AsMessage(self)->dn);
self 1663 source4/lib/ldb/pyldb.c static int py_ldb_msg_set_dn(PyLdbMessageObject *self, PyObject *value, void *closure)
self 1665 source4/lib/ldb/pyldb.c PyLdbMessage_AsMessage(self)->dn = PyLdbDn_AsDn(value);
self 1674 source4/lib/ldb/pyldb.c static PyObject *py_ldb_msg_repr(PyLdbMessageObject *self)
self 1677 source4/lib/ldb/pyldb.c if (PyDict_Update(dict, (PyObject *)self) != 0)
self 1684 source4/lib/ldb/pyldb.c static void py_ldb_msg_dealloc(PyLdbMessageObject *self)
self 1686 source4/lib/ldb/pyldb.c talloc_free(self->mem_ctx);
self 1687 source4/lib/ldb/pyldb.c self->ob_type->tp_free(self);
self 1718 source4/lib/ldb/pyldb.c static void py_ldb_tree_dealloc(PyLdbTreeObject *self)
self 1720 source4/lib/ldb/pyldb.c talloc_free(self->mem_ctx);
self 1721 source4/lib/ldb/pyldb.c self->ob_type->tp_free(self);
self 2053 source4/lib/ldb/pyldb.c static PyObject *py_valid_attr_name(PyObject *self, PyObject *args)
self 70 source4/lib/messaging/pymessaging.c PyObject *py_messaging_connect(PyTypeObject *self, PyObject *args, PyObject *kwargs)
self 125 source4/lib/messaging/pymessaging.c static void py_messaging_dealloc(PyObject *self)
self 127 source4/lib/messaging/pymessaging.c messaging_Object *iface = (messaging_Object *)self;
self 129 source4/lib/messaging/pymessaging.c PyObject_Del(self);
self 132 source4/lib/messaging/pymessaging.c static PyObject *py_messaging_send(PyObject *self, PyObject *args, PyObject *kwargs)
self 134 source4/lib/messaging/pymessaging.c messaging_Object *iface = (messaging_Object *)self;
self 173 source4/lib/messaging/pymessaging.c static PyObject *py_messaging_register(PyObject *self, PyObject *args, PyObject *kwargs)
self 175 source4/lib/messaging/pymessaging.c messaging_Object *iface = (messaging_Object *)self;
self 205 source4/lib/messaging/pymessaging.c static PyObject *py_messaging_deregister(PyObject *self, PyObject *args, PyObject *kwargs)
self 207 source4/lib/messaging/pymessaging.c messaging_Object *iface = (messaging_Object *)self;
self 224 source4/lib/messaging/pymessaging.c static PyObject *py_messaging_add_name(PyObject *self, PyObject *args, PyObject *kwargs)
self 226 source4/lib/messaging/pymessaging.c messaging_Object *iface = (messaging_Object *)self;
self 246 source4/lib/messaging/pymessaging.c static PyObject *py_messaging_remove_name(PyObject *self, PyObject *args, PyObject *kwargs)
self 248 source4/lib/messaging/pymessaging.c messaging_Object *iface = (messaging_Object *)self;
self 322 source4/lib/messaging/pymessaging.c PyObject *py_irpc_connect(PyTypeObject *self, PyObject *args, PyObject *kwargs)
self 416 source4/lib/messaging/pymessaging.c static PyObject *irpc_result_len(irpc_ResultObject *self)
self 418 source4/lib/messaging/pymessaging.c return PyLong_FromLong(self->count);
self 427 source4/lib/messaging/pymessaging.c static void irpc_result_dealloc(PyObject *self)
self 429 source4/lib/messaging/pymessaging.c talloc_free(((irpc_ResultObject *)self)->mem_ctx);
self 430 source4/lib/messaging/pymessaging.c PyObject_Del(self);
self 500 source4/lib/messaging/pymessaging.c static PyObject *py_irpc_call_wrapper(PyObject *self, PyObject *args, void *wrapped, PyObject *kwargs)
self 502 source4/lib/messaging/pymessaging.c irpc_ClientConnectionObject *iface = (irpc_ClientConnectionObject *)self;
self 508 source4/lib/messaging/pymessaging.c static void py_irpc_dealloc(PyObject *self)
self 510 source4/lib/messaging/pymessaging.c irpc_ClientConnectionObject *iface = (irpc_ClientConnectionObject *)self;
self 512 source4/lib/messaging/pymessaging.c PyObject_Del(self);
self 43 source4/lib/registry/pyregistry.c static PyObject *py_get_predefined_key_by_name(PyObject *self, PyObject *args)
self 47 source4/lib/registry/pyregistry.c struct registry_context *ctx = PyRegistry_AsRegistryContext(self);
self 59 source4/lib/registry/pyregistry.c static PyObject *py_key_del_abs(PyObject *self, PyObject *args)
self 63 source4/lib/registry/pyregistry.c struct registry_context *ctx = PyRegistry_AsRegistryContext(self);
self 74 source4/lib/registry/pyregistry.c static PyObject *py_get_predefined_key(PyObject *self, PyObject *args)
self 77 source4/lib/registry/pyregistry.c struct registry_context *ctx = PyRegistry_AsRegistryContext(self);
self 90 source4/lib/registry/pyregistry.c static PyObject *py_diff_apply(PyObject *self, PyObject *args)
self 94 source4/lib/registry/pyregistry.c struct registry_context *ctx = PyRegistry_AsRegistryContext(self);
self 104 source4/lib/registry/pyregistry.c static PyObject *py_mount_hive(PyObject *self, PyObject *args)
self 106 source4/lib/registry/pyregistry.c struct registry_context *ctx = PyRegistry_AsRegistryContext(self);
self 170 source4/lib/registry/pyregistry.c static PyObject *py_hive_key_del(PyObject *self, PyObject *args)
self 173 source4/lib/registry/pyregistry.c struct hive_key *key = PyHiveKey_AsHiveKey(self);
self 186 source4/lib/registry/pyregistry.c static PyObject *py_hive_key_flush(PyObject *self)
self 189 source4/lib/registry/pyregistry.c struct hive_key *key = PyHiveKey_AsHiveKey(self);
self 197 source4/lib/registry/pyregistry.c static PyObject *py_hive_key_del_value(PyObject *self, PyObject *args)
self 201 source4/lib/registry/pyregistry.c struct hive_key *key = PyHiveKey_AsHiveKey(self);
self 213 source4/lib/registry/pyregistry.c static PyObject *py_hive_key_set_value(PyObject *self, PyObject *args)
self 219 source4/lib/registry/pyregistry.c struct hive_key *key = PyHiveKey_AsHiveKey(self);
self 268 source4/lib/registry/pyregistry.c static PyObject *py_open_samba(PyObject *self, PyObject *args, PyObject *kwargs)
self 305 source4/lib/registry/pyregistry.c static PyObject *py_open_directory(PyObject *self, PyObject *args)
self 320 source4/lib/registry/pyregistry.c static PyObject *py_create_directory(PyObject *self, PyObject *args)
self 335 source4/lib/registry/pyregistry.c static PyObject *py_open_ldb_file(PyObject *self, PyObject *args, PyObject *kwargs)
self 374 source4/lib/registry/pyregistry.c static PyObject *py_str_regtype(PyObject *self, PyObject *args)
self 384 source4/lib/registry/pyregistry.c static PyObject *py_get_predef_name(PyObject *self, PyObject *args)
self 2407 source4/lib/wmi/wmi_wrap.c PySwigObject_GetDesc(PyObject *self)
self 2409 source4/lib/wmi/wmi_wrap.c PySwigObject *v = (PySwigObject *)self;
self 3057 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_WBEM_ConnectServer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
self 3182 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_IUnknown_Release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3207 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_new_IUnknown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3220 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_delete_IUnknown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3242 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *IUnknown_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3249 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *IUnknown_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3253 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_IWbemServices_ExecQuery(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
self 3323 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_IWbemServices_ExecNotificationQuery(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
self 3393 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_IWbemServices_CreateInstanceEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
self 3458 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_new_IWbemServices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3471 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_delete_IWbemServices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3493 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *IWbemServices_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3500 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *IWbemServices_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3504 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_IEnumWbemClassObject_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3534 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_new_IEnumWbemClassObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3547 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_delete_IEnumWbemClassObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3569 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *IEnumWbemClassObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3576 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *IEnumWbemClassObject_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
self 3580 source4/lib/wmi/wmi_wrap.c SWIGINTERN PyObject *_wrap_IEnumWbemClassObject_SmartNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
self 46 source4/librpc/ndr/py_security.c struct dom_sid *self = py_talloc_get_ptr(py_self), *other;
self 51 source4/librpc/ndr/py_security.c return dom_sid_compare(self, other);
self 56 source4/librpc/ndr/py_security.c struct dom_sid *self = py_talloc_get_ptr(py_self);
self 57 source4/librpc/ndr/py_security.c char *str = dom_sid_string(NULL, self);
self 65 source4/librpc/ndr/py_security.c struct dom_sid *self = py_talloc_get_ptr(py_self);
self 66 source4/librpc/ndr/py_security.c char *str = dom_sid_string(NULL, self);
self 72 source4/librpc/ndr/py_security.c static int py_dom_sid_init(PyObject *self, PyObject *args, PyObject *kwargs)
self 75 source4/librpc/ndr/py_security.c struct dom_sid *sid = py_talloc_get_ptr(self);
self 99 source4/librpc/ndr/py_security.c static PyObject *py_descriptor_sacl_add(PyObject *self, PyObject *args)
self 101 source4/librpc/ndr/py_security.c struct security_descriptor *desc = py_talloc_get_ptr(self);
self 115 source4/librpc/ndr/py_security.c static PyObject *py_descriptor_dacl_add(PyObject *self, PyObject *args)
self 117 source4/librpc/ndr/py_security.c struct security_descriptor *desc = py_talloc_get_ptr(self);
self 132 source4/librpc/ndr/py_security.c static PyObject *py_descriptor_dacl_del(PyObject *self, PyObject *args)
self 134 source4/librpc/ndr/py_security.c struct security_descriptor *desc = py_talloc_get_ptr(self);
self 148 source4/librpc/ndr/py_security.c static PyObject *py_descriptor_sacl_del(PyObject *self, PyObject *args)
self 150 source4/librpc/ndr/py_security.c struct security_descriptor *desc = py_talloc_get_ptr(self);
self 164 source4/librpc/ndr/py_security.c static PyObject *py_descriptor_new(PyTypeObject *self, PyObject *args, PyObject *kwargs)
self 166 source4/librpc/ndr/py_security.c return py_talloc_import(self, security_descriptor_initialise(NULL));
self 169 source4/librpc/ndr/py_security.c static PyObject *py_descriptor_from_sddl(PyObject *self, PyObject *args)
self 187 source4/librpc/ndr/py_security.c return py_talloc_import((PyTypeObject *)self, secdesc);
self 190 source4/librpc/ndr/py_security.c static PyObject *py_descriptor_as_sddl(PyObject *self, PyObject *py_sid)
self 193 source4/librpc/ndr/py_security.c struct security_descriptor *desc = py_talloc_get_ptr(self);
self 231 source4/librpc/ndr/py_security.c static PyObject *py_token_is_sid(PyObject *self, PyObject *args)
self 235 source4/librpc/ndr/py_security.c struct security_token *token = py_talloc_get_ptr(self);
self 244 source4/librpc/ndr/py_security.c static PyObject *py_token_has_sid(PyObject *self, PyObject *args)
self 248 source4/librpc/ndr/py_security.c struct security_token *token = py_talloc_get_ptr(self);
self 257 source4/librpc/ndr/py_security.c static PyObject *py_token_is_anonymous(PyObject *self)
self 259 source4/librpc/ndr/py_security.c struct security_token *token = py_talloc_get_ptr(self);
self 264 source4/librpc/ndr/py_security.c static PyObject *py_token_is_system(PyObject *self)
self 266 source4/librpc/ndr/py_security.c struct security_token *token = py_talloc_get_ptr(self);
self 271 source4/librpc/ndr/py_security.c static PyObject *py_token_has_builtin_administrators(PyObject *self)
self 273 source4/librpc/ndr/py_security.c struct security_token *token = py_talloc_get_ptr(self);
self 278 source4/librpc/ndr/py_security.c static PyObject *py_token_has_nt_authenticated_users(PyObject *self)
self 280 source4/librpc/ndr/py_security.c struct security_token *token = py_talloc_get_ptr(self);
self 285 source4/librpc/ndr/py_security.c static PyObject *py_token_has_privilege(PyObject *self, PyObject *args)
self 288 source4/librpc/ndr/py_security.c struct security_token *token = py_talloc_get_ptr(self);
self 296 source4/librpc/ndr/py_security.c static PyObject *py_token_set_privilege(PyObject *self, PyObject *args)
self 299 source4/librpc/ndr/py_security.c struct security_token *token = py_talloc_get_ptr(self);
self 308 source4/librpc/ndr/py_security.c static PyObject *py_token_new(PyTypeObject *self, PyObject *args, PyObject *kwargs)
self 310 source4/librpc/ndr/py_security.c return py_talloc_import(self, security_token_initialise(NULL));
self 342 source4/librpc/ndr/py_security.c static PyObject *py_privilege_name(PyObject *self, PyObject *args)
self 351 source4/librpc/ndr/py_security.c static PyObject *py_privilege_id(PyObject *self, PyObject *args)
self 361 source4/librpc/ndr/py_security.c static PyObject *py_random_sid(PyObject *self)
self 76 source4/librpc/rpc/pyrpc.c static PyObject *py_dcerpc_call_wrapper(PyObject *self, PyObject *args, void *wrapped, PyObject *kwargs)
self 78 source4/librpc/rpc/pyrpc.c dcerpc_InterfaceObject *iface = (dcerpc_InterfaceObject *)self;
self 221 source4/librpc/rpc/pyrpc.c static PyObject *py_iface_request(PyObject *self, PyObject *args, PyObject *kwargs)
self 223 source4/librpc/rpc/pyrpc.c dcerpc_InterfaceObject *iface = (dcerpc_InterfaceObject *)self;
self 264 source4/librpc/rpc/pyrpc.c static PyObject *py_iface_alter_context(PyObject *self, PyObject *args, PyObject *kwargs)
self 266 source4/librpc/rpc/pyrpc.c dcerpc_InterfaceObject *iface = (dcerpc_InterfaceObject *)self;
self 373 source4/librpc/rpc/pyrpc.c static void dcerpc_interface_dealloc(PyObject* self)
self 375 source4/librpc/rpc/pyrpc.c dcerpc_InterfaceObject *interface = (dcerpc_InterfaceObject *)self;
self 377 source4/librpc/rpc/pyrpc.c PyObject_Del(self);
self 380 source4/librpc/rpc/pyrpc.c static PyObject *dcerpc_interface_new(PyTypeObject *self, PyObject *args, PyObject *kwargs)
self 145 source4/param/pyparam.c static PyObject *py_lp_ctx_load(py_talloc_Object *self, PyObject *args)
self 152 source4/param/pyparam.c ret = lp_load(PyLoadparmContext_AsLoadparmContext(self), filename);
self 161 source4/param/pyparam.c static PyObject *py_lp_ctx_load_default(py_talloc_Object *self)
self 164 source4/param/pyparam.c ret = lp_load_default(PyLoadparmContext_AsLoadparmContext(self));
self 173 source4/param/pyparam.c static PyObject *py_lp_ctx_get(py_talloc_Object *self, PyObject *args)
self 181 source4/param/pyparam.c ret = py_lp_ctx_get_helper(PyLoadparmContext_AsLoadparmContext(self), section_name, param_name);
self 187 source4/param/pyparam.c static PyObject *py_lp_ctx_is_myname(py_talloc_Object *self, PyObject *args)
self 193 source4/param/pyparam.c return PyBool_FromLong(lp_is_myname(PyLoadparmContext_AsLoadparmContext(self), name));
self 196 source4/param/pyparam.c static PyObject *py_lp_ctx_is_mydomain(py_talloc_Object *self, PyObject *args)
self 202 source4/param/pyparam.c return PyBool_FromLong(lp_is_mydomain(PyLoadparmContext_AsLoadparmContext(self), name));
self 205 source4/param/pyparam.c static PyObject *py_lp_ctx_set(py_talloc_Object *self, PyObject *args)
self 212 source4/param/pyparam.c ret = lp_set_cmdline(PyLoadparmContext_AsLoadparmContext(self), name, value);
self 221 source4/param/pyparam.c static PyObject *py_lp_ctx_private_path(py_talloc_Object *self, PyObject *args)
self 228 source4/param/pyparam.c path = private_path(NULL, PyLoadparmContext_AsLoadparmContext(self), name);
self 259 source4/param/pyparam.c static PyObject *py_lp_ctx_default_service(py_talloc_Object *self, void *closure)
self 261 source4/param/pyparam.c return PyLoadparmService_FromService(lp_default_service(PyLoadparmContext_AsLoadparmContext(self)));
self 264 source4/param/pyparam.c static PyObject *py_lp_ctx_config_file(py_talloc_Object *self, void *closure)
self 266 source4/param/pyparam.c const char *configfile = lp_configfile(PyLoadparmContext_AsLoadparmContext(self));
self 285 source4/param/pyparam.c static Py_ssize_t py_lp_ctx_len(py_talloc_Object *self)
self 287 source4/param/pyparam.c return lp_numservices(PyLoadparmContext_AsLoadparmContext(self));
self 290 source4/param/pyparam.c static PyObject *py_lp_ctx_getitem(py_talloc_Object *self, PyObject *name)
self 297 source4/param/pyparam.c service = lp_service(PyLoadparmContext_AsLoadparmContext(self), PyString_AsString(name));
self 361 source4/param/pyparam.c static PyObject *py_default_path(PyObject *self)
self 51 source4/scripting/python/pyglue.c static PyObject *py_generate_random_str(PyObject *self, PyObject *args)
self 65 source4/scripting/python/pyglue.c static PyObject *py_unix2nttime(PyObject *self, PyObject *args)
self 77 source4/scripting/python/pyglue.c static PyObject *py_ldb_set_credentials(PyObject *self, PyObject *args)
self 98 source4/scripting/python/pyglue.c static PyObject *py_ldb_set_loadparm(PyObject *self, PyObject *args)
self 120 source4/scripting/python/pyglue.c static PyObject *py_ldb_set_session_info(PyObject *self, PyObject *args)
self 141 source4/scripting/python/pyglue.c static PyObject *py_samdb_set_domain_sid(PyLdbObject *self, PyObject *args)
self 163 source4/scripting/python/pyglue.c static PyObject *py_ldb_register_samba_handlers(PyObject *self, PyObject *args)
self 179 source4/scripting/python/pyglue.c static PyObject *py_dsdb_set_ntds_invocation_id(PyObject *self, PyObject *args)
self 199 source4/scripting/python/pyglue.c static PyObject *py_dsdb_set_global_schema(PyObject *self, PyObject *args)
self 215 source4/scripting/python/pyglue.c static PyObject *py_dsdb_attach_schema_from_ldif_file(PyObject *self, PyObject *args)
self 24 source4/scripting/python/uuidmodule.c static PyObject *uuid_random(PyObject *self, PyObject *args)
self 39 source4/web_server/wsgi.c static PyObject *start_response(PyObject *self, PyObject *args, PyObject *kwargs)
self 47 source4/web_server/wsgi.c web_request_Object *py_web = (web_request_Object *)self;
self 118 source4/web_server/wsgi.c static PyObject *py_error_flush(PyObject *self, PyObject *args, PyObject *kwargs)
self 124 source4/web_server/wsgi.c static PyObject *py_error_write(PyObject *self, PyObject *args, PyObject *kwargs)
self 138 source4/web_server/wsgi.c static PyObject *py_error_writelines(PyObject *self, PyObject *args, PyObject *kwargs)
self 181 source4/web_server/wsgi.c input_Stream_Object *self = (input_Stream_Object *)_self;
self 189 source4/web_server/wsgi.c size = self->web->input.partial.length-self->offset;
self 191 source4/web_server/wsgi.c size = MIN(size, self->web->input.partial.length-self->offset);
self 193 source4/web_server/wsgi.c ret = PyString_FromStringAndSize((char *)self->web->input.partial.data+self->offset, size);
self 194 source4/web_server/wsgi.c self->offset += size;