ira/wip.git
12 years agoFix typo
Matthias Dieter Wallnöfer [Tue, 6 Jan 2009 15:20:57 +0000 (16:20 +0100)]
Fix typo

12 years agos4-smbtorture: verify each password change via samlogon in SAMR-PASSWORDS-PWDLASTSET...
Günther Deschner [Mon, 8 Dec 2008 12:10:56 +0000 (13:10 +0100)]
s4-smbtorture: verify each password change via samlogon in SAMR-PASSWORDS-PWDLASTSET test.

Guenther

12 years agos3-lsa: remove all init_lsa* functions.
Günther Deschner [Mon, 8 Dec 2008 17:03:11 +0000 (18:03 +0100)]
s3-lsa: remove all init_lsa* functions.

Guenther

12 years agos3-lsa: avoid all init_lsa* functions.
Günther Deschner [Mon, 8 Dec 2008 17:03:01 +0000 (18:03 +0100)]
s3-lsa: avoid all init_lsa* functions.

Guenther

12 years agos3-srvsvc: remove all init_srvsvc* functions.
Günther Deschner [Mon, 8 Dec 2008 12:39:53 +0000 (13:39 +0100)]
s3-srvsvc: remove all init_srvsvc* functions.

Guenther

12 years agos3-srvsvc: avoid all init_srvsvc* functions.
Günther Deschner [Mon, 8 Dec 2008 12:39:32 +0000 (13:39 +0100)]
s3-srvsvc: avoid all init_srvsvc* functions.

Guenther

12 years agos3-samr: remove all init_samr_alias* functions.
Günther Deschner [Sat, 6 Dec 2008 00:44:54 +0000 (01:44 +0100)]
s3-samr: remove all init_samr_alias* functions.

Guenther

12 years agos3-samr: avoid all init_samr_alias* functions.
Günther Deschner [Sat, 6 Dec 2008 00:44:46 +0000 (01:44 +0100)]
s3-samr: avoid all init_samr_alias* functions.

Guenther

12 years agos3-samr: remove all init_samr_group* functions.
Günther Deschner [Sat, 6 Dec 2008 00:41:38 +0000 (01:41 +0100)]
s3-samr: remove all init_samr_group* functions.

Guenther

12 years agos3-samr: avoid all init_samr_group* functions.
Günther Deschner [Sat, 6 Dec 2008 00:41:28 +0000 (01:41 +0100)]
s3-samr: avoid all init_samr_group* functions.

Guenther

12 years agos3-samr: remove all init_samr_dom* functions.
Günther Deschner [Sat, 6 Dec 2008 00:34:51 +0000 (01:34 +0100)]
s3-samr: remove all init_samr_dom* functions.

Guenther

12 years agos3-samr: avoid all init_samr_Domain* functions.
Günther Deschner [Sat, 6 Dec 2008 00:33:28 +0000 (01:33 +0100)]
s3-samr: avoid all init_samr_Domain* functions.

Guenther

12 years agos3-samr: remove init_samr_user* functions.
Günther Deschner [Fri, 5 Dec 2008 23:30:11 +0000 (00:30 +0100)]
s3-samr: remove init_samr_user* functions.

Guenther

12 years agos3-samr: avoid all init_samr_user* functions.
Günther Deschner [Fri, 5 Dec 2008 23:28:34 +0000 (00:28 +0100)]
s3-samr: avoid all init_samr_user* functions.

Guenther

12 years agoAdd dependency to talloc in tevent pc file.
Jelmer Vernooij [Tue, 6 Jan 2009 14:53:50 +0000 (15:53 +0100)]
Add dependency to talloc in tevent pc file.

12 years agos3/swat: Fix creation of the first share using SWAT.
Volker Lendecke [Tue, 6 Jan 2009 14:13:43 +0000 (15:13 +0100)]
s3/swat: Fix creation of the first share using SWAT.

This fixes bug #5965.

12 years agoEnsure libreplace is included into the tevent python bindings
Andrew Bartlett [Tue, 6 Jan 2009 11:38:09 +0000 (22:38 +1100)]
Ensure libreplace is included into the tevent python bindings

Without this, the samba4.tevent.python test fails

Andrew Bartlett

12 years agodocs: Improve description of the share commands in man smb.conf.
Karolin Seeger [Tue, 6 Jan 2009 11:26:23 +0000 (12:26 +0100)]
docs: Improve description of the share commands in man smb.conf.

-Correct the parameter names.
-Fix typos.
-Fix related parameters.

This fixes bug #6008.
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!

Karolin

12 years agoMove the "rid_name" typedef to the only place where it might be used
Volker Lendecke [Tue, 6 Jan 2009 10:22:32 +0000 (11:22 +0100)]
Move the "rid_name" typedef to the only place where it might be used

12 years agodocs: Fix example in man vfs_recycle.
Karolin Seeger [Tue, 6 Jan 2009 09:26:37 +0000 (10:26 +0100)]
docs: Fix example in man vfs_recycle.

This fixes bug #6001.
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!

Karolin

12 years agos4 winbind: Silence a "discards const" warning
Kai Blin [Tue, 6 Jan 2009 08:55:09 +0000 (09:55 +0100)]
s4 winbind: Silence a "discards const" warning

12 years agos3 merged build: Remove redundant #defines that are in idl generated headers
Tim Prouty [Tue, 30 Dec 2008 21:45:29 +0000 (13:45 -0800)]
s3 merged build: Remove redundant #defines that are in idl generated headers

This fixes a series of samba3 build warnings in the merged build with
--enable-picky-developer=yes. 'error: "X" redefined', where X is one
of the redundant #defines.

This required committing a static version of spoolss.h for it to be
included by non-merged s3 builds.

12 years agoset entry->refresh_time to make ccache_regain_all_now() work correctly.
Bo Yang [Tue, 6 Jan 2009 04:49:59 +0000 (12:49 +0800)]
set entry->refresh_time to make ccache_regain_all_now() work correctly.

12 years agopy: Properly increase the reference counter of Py_None.
Jelmer Vernooij [Tue, 6 Jan 2009 03:13:57 +0000 (04:13 +0100)]
py: Properly increase the reference counter of Py_None.

12 years agoAttempt to fix crash seen with new CUPS async printcap loading code.
Jeremy Allison [Mon, 5 Jan 2009 21:47:34 +0000 (13:47 -0800)]
Attempt to fix crash seen with new CUPS async printcap loading code.
Jeremy.

12 years agoFix call to ndr_size_dom_sid, missing parameter.
Jeremy Allison [Mon, 5 Jan 2009 21:47:07 +0000 (13:47 -0800)]
Fix call to ndr_size_dom_sid, missing parameter.
Jeremy.

12 years agos3:events: use more tevent_common_* functions
Stefan Metzmacher [Mon, 5 Jan 2009 18:47:59 +0000 (19:47 +0100)]
s3:events: use more tevent_common_* functions

metze

12 years agotevent: add some debugging for timer events, that mostly matches samba3
Stefan Metzmacher [Mon, 5 Jan 2009 18:52:47 +0000 (19:52 +0100)]
tevent: add some debugging for timer events, that mostly matches samba3

metze

12 years agotevent: add tevent_context destructor that unlinks the events from the context
Stefan Metzmacher [Mon, 5 Jan 2009 18:23:23 +0000 (19:23 +0100)]
tevent: add tevent_context destructor that unlinks the events from the context

metze

12 years agotevent: don't crash if te->event_ctx is NULL
Stefan Metzmacher [Mon, 5 Jan 2009 18:22:22 +0000 (19:22 +0100)]
tevent: don't crash if te->event_ctx is NULL

metze

12 years agotevent: keep a linked list of fd_events
Stefan Metzmacher [Mon, 5 Jan 2009 16:36:50 +0000 (17:36 +0100)]
tevent: keep a linked list of fd_events

metze

12 years agotevent: keep a linked list of signal events
Stefan Metzmacher [Mon, 5 Jan 2009 15:55:00 +0000 (16:55 +0100)]
tevent: keep a linked list of signal events

metze

12 years agotevent: make tevent_debug() a noop if ev is NULL
Stefan Metzmacher [Mon, 5 Jan 2009 18:41:03 +0000 (19:41 +0100)]
tevent: make tevent_debug() a noop if ev is NULL

metze

12 years agoAttempt to fix the build on netbsd5
Volker Lendecke [Mon, 5 Jan 2009 21:10:25 +0000 (22:10 +0100)]
Attempt to fix the build on netbsd5

12 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Mon, 5 Jan 2009 17:01:04 +0000 (18:01 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

12 years agoAttempt to fix the build with dnssd
Volker Lendecke [Mon, 5 Jan 2009 16:11:51 +0000 (17:11 +0100)]
Attempt to fix the build with dnssd

12 years agoexamples: Avoid bashism in perfcount.init.
Karolin Seeger [Mon, 5 Jan 2009 15:33:00 +0000 (16:33 +0100)]
examples: Avoid bashism in perfcount.init.

This fixes bug #6000.
Thanks to the Debian Samba package maintainers for providing the patch!
Remove trailing whitespaces.

Karolin

12 years agoRevert "examples: Avoid bashism in perfcount.init."
Karolin Seeger [Mon, 5 Jan 2009 15:30:10 +0000 (16:30 +0100)]
Revert "examples: Avoid bashism in perfcount.init."

This reverts commit 73875cd344608b591fa884ab99b5f3a10550c149.

12 years agoFix bug 6014 -- mget shouldn't segfault without arguments
Volker Lendecke [Mon, 5 Jan 2009 14:47:19 +0000 (15:47 +0100)]
Fix bug 6014 -- mget shouldn't segfault without arguments

Thanks to kevin.paulus@mtm.kuleuven.be for the bug report

Volker

12 years agos3:winbindd: also handle fd events from the winbind_event_context()
Stefan Metzmacher [Mon, 5 Jan 2009 10:53:29 +0000 (11:53 +0100)]
s3:winbindd: also handle fd events from the winbind_event_context()

metze

12 years agos3:events: register as tevent backend
Stefan Metzmacher [Sun, 4 Jan 2009 18:29:12 +0000 (19:29 +0100)]
s3:events: register as tevent backend

metze

12 years agos3: build lib/tevent staticly into samba3
Stefan Metzmacher [Sun, 4 Jan 2009 18:27:31 +0000 (19:27 +0100)]
s3: build lib/tevent staticly into samba3

metze

12 years agos3:events: get rid of the stupid set_event_dispatch_time() function
Stefan Metzmacher [Tue, 30 Dec 2008 09:00:43 +0000 (10:00 +0100)]
s3:events: get rid of the stupid set_event_dispatch_time() function

metze

12 years agos3:events: get rid of the stupid cancel_named_event() function
Stefan Metzmacher [Tue, 30 Dec 2008 08:19:27 +0000 (09:19 +0100)]
s3:events: get rid of the stupid cancel_named_event() function

metze

12 years agos3:events: change event_add_timed() prototype to match samba4
Stefan Metzmacher [Mon, 5 Jan 2009 09:22:50 +0000 (10:22 +0100)]
s3:events: change event_add_timed() prototype to match samba4

metze

12 years agos3:events: move prototypes to event.h
Stefan Metzmacher [Mon, 5 Jan 2009 08:06:05 +0000 (09:06 +0100)]
s3:events: move prototypes to event.h

metze

12 years agos3:events: remove unused stuff
Stefan Metzmacher [Sun, 4 Jan 2009 18:53:09 +0000 (19:53 +0100)]
s3:events: remove unused stuff

metze

12 years agos3:winbindd: regain tickets for all ccache entries, when we go online
Stefan Metzmacher [Tue, 30 Dec 2008 08:56:36 +0000 (09:56 +0100)]
s3:winbindd: regain tickets for all ccache entries, when we go online

set_event_dispatch_time() is stupid by design and only handles
the first event with a given name.

metze

12 years agos3:winbindd: cancel all ccache entry events and not just one
Stefan Metzmacher [Tue, 30 Dec 2008 08:17:20 +0000 (09:17 +0100)]
s3:winbindd: cancel all ccache entry events and not just one

cancel_named_event() is stupid by design and also only cancels
one single event.

metze

12 years agos3:winbindd: recreate the per domain check_online_event without relying on global...
Stefan Metzmacher [Tue, 30 Dec 2008 08:34:20 +0000 (09:34 +0100)]
s3:winbindd: recreate the per domain check_online_event without relying on global state

set_event_dispatch_time() is stupid by design and just picks the first
event with the given name.

metze

12 years agos3:winbindd: rename fd_event => winbindd_fd_event
Stefan Metzmacher [Mon, 5 Jan 2009 10:50:17 +0000 (11:50 +0100)]
s3:winbindd: rename fd_event => winbindd_fd_event

It's really confusing to have two versions of 'fd_event'

metze

12 years agos3:winbindd: move WINBINDD_CCACHE_ENTRY and WINBINDD_MEMORY_CREDS to winbindd.h
Stefan Metzmacher [Tue, 30 Dec 2008 08:32:31 +0000 (09:32 +0100)]
s3:winbindd: move WINBINDD_CCACHE_ENTRY and WINBINDD_MEMORY_CREDS to winbindd.h

metze

12 years agoFix broken krb5 refresh chain
Bo Yang [Sun, 4 Jan 2009 08:45:30 +0000 (16:45 +0800)]
Fix broken krb5 refresh chain

Signed-off-by: Stefan Metzmacher <metze@samba.org>
12 years agoclean event context after child is forked.
Bo Yang [Mon, 5 Jan 2009 11:47:45 +0000 (19:47 +0800)]
clean event context after child is forked.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
12 years agoexamples: Avoid bashism in perfcount.init.
Karolin Seeger [Mon, 5 Jan 2009 13:54:28 +0000 (14:54 +0100)]
examples: Avoid bashism in perfcount.init.

This fixes bug #6000.
Thanks to the Debian Samba package maintainers for providing the patch!
Remove trailing whitespaces.

Karolin

12 years agodocs: Document the -g option of smbclient.
Karolin Seeger [Mon, 5 Jan 2009 13:39:59 +0000 (14:39 +0100)]
docs: Document the -g option of smbclient.

This fixes bug #6013.
Thanks to the Debian Samba packages maintainers for reporting!

Karolin

12 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Mon, 5 Jan 2009 13:02:30 +0000 (14:02 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

12 years agoUse talloc_tos in vfs_full_audit.c:do_log
Volker Lendecke [Mon, 5 Jan 2009 12:33:20 +0000 (13:33 +0100)]
Use talloc_tos in vfs_full_audit.c:do_log

12 years agoFix a bad memleak in vfs_full_audit
Volker Lendecke [Mon, 5 Jan 2009 12:32:53 +0000 (13:32 +0100)]
Fix a bad memleak in vfs_full_audit

12 years agoAdd create_file to vfs_op_names
Volker Lendecke [Mon, 5 Jan 2009 12:08:07 +0000 (13:08 +0100)]
Add create_file to vfs_op_names

12 years agoFix bug 6012: Add "get_real_filename" to full_audit
Volker Lendecke [Mon, 5 Jan 2009 11:58:23 +0000 (12:58 +0100)]
Fix bug 6012: Add "get_real_filename" to full_audit

Thanks to Hodur <coil93@gmail.com> for testing!

Volker

12 years agosmbd: prevent access to root filesystem when connecting with empty service name
Michael Adam [Thu, 18 Dec 2008 17:01:55 +0000 (18:01 +0100)]
smbd: prevent access to root filesystem when connecting with empty service name

This only applies to a setup with "registry shares = yes"

Michael
(cherry picked from commit 288fa94ac7cfdf7457b5098c33fc840bed3d5410)
(cherry picked from commit e85526b184e66f86b7faa9d0a37288a09c12c19e)

12 years agotevent: fix tevent_add_timer() and tevent_add_aio() macros
Stefan Metzmacher [Mon, 5 Jan 2009 09:53:12 +0000 (10:53 +0100)]
tevent: fix tevent_add_timer() and tevent_add_aio() macros

metze

12 years agoInitialise 'flags' in new python ldb binding for ldb_connect
Andrew Bartlett [Mon, 5 Jan 2009 09:02:02 +0000 (20:02 +1100)]
Initialise 'flags' in new python ldb binding for ldb_connect

12 years agos3: Remove a few unnecessary checks from the streams depot module and fix to work...
Tim Prouty [Mon, 5 Jan 2009 03:27:06 +0000 (19:27 -0800)]
s3: Remove a few unnecessary checks from the streams depot module and fix to work with NTRENAME

Handling of error codes when renaming a file to a stream and a stream
to a file is now done in rename_internals_fsp.

The NTRENAME stream path only passes in the stream name, so the new
base can now be different from the old base.

12 years agos3: Remove a few unnecessary checks from the streams xattr module
Tim Prouty [Mon, 5 Jan 2009 01:36:36 +0000 (17:36 -0800)]
s3: Remove a few unnecessary checks from the streams xattr module

Handling of error codes when renaming a file to a stream and a stream
to a file is now done in rename_internals_fsp.

The NTRENAME stream path only passes in the stream name, so the new
base can now be different from the old base.

12 years agos3: Allow renames of streams via NTRENAME and fix stream error codes on rename
Tim Prouty [Sun, 4 Jan 2009 18:45:34 +0000 (10:45 -0800)]
s3: Allow renames of streams via NTRENAME and fix stream error codes on rename

The test_streams_rename2 test in RAW-STREAMS verifies these changes

12 years agos4 torture: Add more rename tests to RAW-STREAMS
Tim Prouty [Fri, 19 Dec 2008 05:03:01 +0000 (21:03 -0800)]
s4 torture: Add more rename tests to RAW-STREAMS

There is one part of the new rename tests that passes against windows,
but doesn't pass against samba3 right now.  Windows allow renaming a
stream to the default stream, but none of the current streams module
support this.  When this ability is added the check for samba can be
removed from this test.

This patch also adds a missing unlink in the cleanup of
test_stream_delete and changes the order that the tests are run to be
consistent with the physical order in the file.

12 years agoMore work to have OpenLDAP accept the full AD schema
Andrew Bartlett [Mon, 5 Jan 2009 01:24:35 +0000 (12:24 +1100)]
More work to have OpenLDAP accept the full AD schema

We need to avoid handling DN+Binary and DN+String with the refint
module for now, as this is a currently unsupported syntax.

Also rename entryTTL to avoid a conflict with the operational
attribute of the same name.

Andrew Bartlett

12 years agoUse fqdn rather than gethostname when guessing realm.
Jelmer Vernooij [Sun, 4 Jan 2009 23:27:49 +0000 (00:27 +0100)]
Use fqdn rather than gethostname when guessing realm.

12 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Sun, 4 Jan 2009 21:48:23 +0000 (22:48 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

12 years agoFix bug #6009 - Setting "min receivefile size = 1" breaks writes.
Jeremy Allison [Sun, 4 Jan 2009 19:47:16 +0000 (11:47 -0800)]
Fix bug #6009 - Setting "min receivefile size = 1" breaks writes.
Jeremy.

12 years agotevent: move samba4 stuff from libtevent.m4 to samba.m4
Stefan Metzmacher [Sun, 4 Jan 2009 16:58:56 +0000 (17:58 +0100)]
tevent: move samba4 stuff from libtevent.m4 to samba.m4

metze

12 years agos4:build: add SMB_MAKE_SETTINGS() macro
Stefan Metzmacher [Sun, 4 Jan 2009 16:57:40 +0000 (17:57 +0100)]
s4:build: add SMB_MAKE_SETTINGS() macro

metze

12 years agoFix a typo found by the IBM Checker
Volker Lendecke [Sun, 4 Jan 2009 17:14:33 +0000 (18:14 +0100)]
Fix a typo found by the IBM Checker

12 years agoRemove a duplicated comment
Volker Lendecke [Sun, 4 Jan 2009 17:03:23 +0000 (18:03 +0100)]
Remove a duplicated comment

12 years agoFix the build of smbfilter
Volker Lendecke [Sun, 4 Jan 2009 16:28:24 +0000 (17:28 +0100)]
Fix the build of smbfilter

12 years agoSimulate the Windows behaviour to fire 445 and after a timeout 139
Volker Lendecke [Sun, 4 Jan 2009 00:46:05 +0000 (01:46 +0100)]
Simulate the Windows behaviour to fire 445 and after a timeout 139

12 years agoAdd open_socket_out_defer_send/recv
Volker Lendecke [Sun, 4 Jan 2009 00:45:06 +0000 (01:45 +0100)]
Add open_socket_out_defer_send/recv

12 years agoAsync wrapper for open_socket_out_send/recv
Volker Lendecke [Sat, 3 Jan 2009 18:50:05 +0000 (19:50 +0100)]
Async wrapper for open_socket_out_send/recv

12 years agoAdd a quick test of wb_trans_send/recv
Volker Lendecke [Sun, 28 Dec 2008 16:43:18 +0000 (17:43 +0100)]
Add a quick test of wb_trans_send/recv

12 years agoasync libwbclient infrastructure
Volker Lendecke [Sat, 27 Dec 2008 17:43:03 +0000 (18:43 +0100)]
async libwbclient infrastructure

12 years agoRemove wb_trans_send/recv
Volker Lendecke [Sun, 28 Dec 2008 13:49:22 +0000 (14:49 +0100)]
Remove wb_trans_send/recv

12 years agoMove winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.c
Volker Lendecke [Sun, 28 Dec 2008 13:47:40 +0000 (14:47 +0100)]
Move winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.c

12 years agoConvert async_connect to "normal" style
Volker Lendecke [Sat, 3 Jan 2009 23:26:49 +0000 (00:26 +0100)]
Convert async_connect to "normal" style

12 years agoActually do a non-blocking connect.... :-)
Volker Lendecke [Sat, 3 Jan 2009 18:23:13 +0000 (19:23 +0100)]
Actually do a non-blocking connect.... :-)

12 years agoAdd an async queueing mechanism
Volker Lendecke [Sun, 4 Jan 2009 10:28:40 +0000 (11:28 +0100)]
Add an async queueing mechanism

12 years agoAdd async timeout helpers
Volker Lendecke [Sat, 3 Jan 2009 18:10:57 +0000 (19:10 +0100)]
Add async timeout helpers

12 years agotevent: completely initialize tevent_fd structs
Stefan Metzmacher [Sun, 4 Jan 2009 08:39:17 +0000 (09:39 +0100)]
tevent: completely initialize tevent_fd structs

This fixes crash bugs... I forgot to commit and squash
this to commit e45ed828d042acca09cb1ed5b6dd7a24eb5e7ffd

metze

12 years agos4:smbd: convert to tevent_* api
Stefan Metzmacher [Sat, 3 Jan 2009 14:24:31 +0000 (15:24 +0100)]
s4:smbd: convert to tevent_* api

metze

12 years agos4:libcli/ldap: convert to tevent_* api
Stefan Metzmacher [Sat, 3 Jan 2009 11:49:50 +0000 (12:49 +0100)]
s4:libcli/ldap: convert to tevent_* api

metze

12 years agos4:auth/kerberos: convert to tevent_* api
Stefan Metzmacher [Sat, 3 Jan 2009 11:48:20 +0000 (12:48 +0100)]
s4:auth/kerberos: convert to tevent_* api

metze

12 years agotevent: raise version to 0.9.2 after AUTOCLOSE changes
Stefan Metzmacher [Sat, 3 Jan 2009 10:36:04 +0000 (11:36 +0100)]
tevent: raise version to 0.9.2 after AUTOCLOSE changes

metze

12 years agotevent: remove TEVENT_FD_AUTOCLOSE feature
Stefan Metzmacher [Sat, 3 Jan 2009 10:34:37 +0000 (11:34 +0100)]
tevent: remove TEVENT_FD_AUTOCLOSE feature

TEVENT_FD_AUTOCLOSE adds a dependency to SOCKET_WRAPPER,
which is bad. Callers should use tevent_fd_set_close_fn() now.

metze

12 years agotevent: remove dependency to SOCKET_WRAPPER via "system/network.h"
Stefan Metzmacher [Sat, 3 Jan 2009 10:30:21 +0000 (11:30 +0100)]
tevent: remove dependency to SOCKET_WRAPPER via "system/network.h"

metze

12 years agos4:socket: use a socket_wrapper aware function to auto close the fd event for sockets
Stefan Metzmacher [Sat, 3 Jan 2009 11:47:24 +0000 (12:47 +0100)]
s4:socket: use a socket_wrapper aware function to auto close the fd event for sockets

metze

12 years agos4:sysdep/inotify: use tevent_fd_set_auto_close()
Stefan Metzmacher [Sat, 3 Jan 2009 11:43:18 +0000 (12:43 +0100)]
s4:sysdep/inotify: use tevent_fd_set_auto_close()

metze

12 years agotevent: add tevent_fd_set_auto_close()
Stefan Metzmacher [Sat, 3 Jan 2009 11:39:11 +0000 (12:39 +0100)]
tevent: add tevent_fd_set_auto_close()

tevent_fd_set_auto_close() is a simple wrapper
arround tevent_fd_set_close_fn() with a callback
that uses plain close(2).

metze

12 years agotevent: add tevent_fd_set_close_fn()
Stefan Metzmacher [Sat, 3 Jan 2009 10:27:00 +0000 (11:27 +0100)]
tevent: add tevent_fd_set_close_fn()

Let callers specify a close function
as an alternative to TEVENT_FD_AUTOCLOSE.

metze

12 years agotevent: move some common tevent_fd related functions into tevent_fd.c
Stefan Metzmacher [Sat, 3 Jan 2009 10:18:14 +0000 (11:18 +0100)]
tevent: move some common tevent_fd related functions into tevent_fd.c

metze