summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* socket_wrapper: add multiple interface support for ipv6Stefan Metzmacher2009-03-041-10/+39
| | | | | | We use FD00::5357:5FXX in the same way we use 127.0.0.XX metze
* socket_wrapper: add ipv6 pcap supportStefan Metzmacher2009-03-041-3/+87
| | | | metze
* socket_wrapper: pass down sockaddr instead of sockaddr_in to prepare pcap ↵Stefan Metzmacher2009-03-041-78/+100
| | | | | | support for ipv6 metze
* socket_wrapper: prepare pcap support for ipv6 trafficStefan Metzmacher2009-03-041-148/+170
| | | | metze
* socket_wrapper: don't crash if we get EAGAIN from real_recv()Stefan Metzmacher2009-03-041-1/+1
| | | | | | This fixes a crash in the ldaps tests with socket wrapper pcap support. metze
* lib/util: remove samba specific talloc_get_type_abort()Stefan Metzmacher2009-03-032-22/+0
| | | | metze
* talloc: add talloc_get_type_abort()Stefan Metzmacher2009-03-032-0/+26
| | | | metze
* Make struct tevent_req opaqueSimo Sorce2009-03-024-120/+157
| | | | | | | | | | | | | | | | Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future.
* Import ISO-8859-1, 646 from Samba 3 iconv.Jelmer Vernooij2009-03-021-0/+29
|
* Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij2009-03-013-38/+122
|
* s4: Use same function signature for convert_* as s3.Jelmer Vernooij2009-03-014-46/+77
|
* Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij2009-03-013-2/+117
|\
| * Merge branch 'master' of git://git.samba.org/samba into teventfixJelmer Vernooij2009-03-0123-576/+1022
| |\ | | | | | | | | | | | | Conflicts: lib/tevent/pytevent.c
| | * Move next_token_talloc to util.c, as util_str.c is only compiled inside samba 4.Jelmer Vernooij2009-03-012-100/+100
| | |
| | * Move next_token_talloc() to top-level.Jelmer Vernooij2009-03-012-0/+115
| | |
| * | Avoid using tevent_util.h, which won't be available if we use the systemJelmer Vernooij2009-03-011-2/+2
| | | | | | | | | | | | tevent.
* | | Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij2009-03-012-2/+3
| | |
* | | Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij2009-03-014-23/+31
| |/ |/| | | | | consistency with Samba 3.
* | Simplify async_connect_send slightlyVolker Lendecke2009-02-281-9/+6
| |
* | lib/torture: fix depency to map_nt_error_from_unix()Stefan Metzmacher2009-02-261-1/+3
| | | | | | | | | | | | This should fix the build on Mac OS 10 metze
* | tevent: add tevent_queue infrastructureStefan Metzmacher2009-02-263-1/+221
| | | | | | | | metze
* | Add tevent_ntstatusVolker Lendecke2009-02-262-0/+83
| |
* | s3:libsmbconf: add transactions to the libsmbconf apiMichael Adam2009-02-264-0/+39
| | | | | | | | | | | | | | | | | | This is useful for wrapping higher level aggregate operations in transactions. The text backend implementations just return WERR_OK, the registry backend implementatoins use the regdb_transaction_start|commit|cancel routines just added. Michael
* | Speed up "net conf list"Volker Lendecke2009-02-261-4/+0
| | | | | | | | | | | | | | With 1000 shares in the registry, this changed the time of "net conf list" from 1.1 seconds to .6 seconds. Signed-off-by: Michael Adam <obnox@samba.org>
* | libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher2009-02-261-2/+4
| | | | | | | | | | | | -DSOCKET_WRAPPER_DISABLE=1 metze
* | lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() ↵Stefan Metzmacher2009-02-251-0/+5
| | | | | | | | | | | | | | | | | | should be a noop The reason for tdb_reopen_all() is that the seek pointer on fds are shared between parent and child. metze
* | tevent: add private_print function feature to tevent_reqStefan Metzmacher2009-02-252-3/+35
| | | | | | | | metze
* | tevent: add tevent_req_poll() functionStefan Metzmacher2009-02-252-0/+18
| | | | | | | | metze
* | Remove async_req based async_sendVolker Lendecke2009-02-252-240/+0
| |
* | Remove async_req based async_recvVolker Lendecke2009-02-252-71/+0
| |
* | Attempt to fix the OpenChange build -- sorry for the breakVolker Lendecke2009-02-251-1/+1
| |
* | Add more conventional async_recvVolker Lendecke2009-02-242-0/+72
| |
* | Add more conventional async_sendVolker Lendecke2009-02-242-0/+73
| |
* | Remove unused param_connect structVolker Lendecke2009-02-241-11/+0
| |
* | Remove unused recvallVolker Lendecke2009-02-242-115/+0
| |
* | Add async read_packetVolker Lendecke2009-02-242-0/+128
| |
* | Fix async writevVolker Lendecke2009-02-241-1/+1
| |
* | Remove async sendallVolker Lendecke2009-02-242-116/+0
| |
* | Add async writevVolker Lendecke2009-02-242-0/+109
| |
* | Convert async_connect to tevent_reqVolker Lendecke2009-02-242-32/+33
| |
* | tevent.h requires bool and uint[16|32|64]_tVolker Lendecke2009-02-241-0/+1
| |
* | Add tevent_req_is_unix_errorVolker Lendecke2009-02-242-0/+73
| |
* | Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman2009-02-233-3/+42
| | | | | | | | | | | | | | | | | | | | This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
* | More warning fixes for Solaris.Jeremy Allison2009-02-231-9/+0
| | | | | | | | Jeremy.
* | all BSDs use this evironment variableBjörn Jacke2009-02-231-1/+1
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* | Fix shadowed declaration warningTim Prouty2009-02-211-1/+1
| |
* | pytevent: Fix include path - tevent_util is not installed.Jelmer Vernooij2009-02-211-1/+1
| |
* | Moved become_daemon() and close_low_fds() to shared util libSteven Danneman2009-02-202-14/+17
|/
* tevent: add tevent_wakeup_send/recv()Stefan Metzmacher2009-02-183-1/+76
| | | | | | This can be used as tevent_req based timer event. metze
* tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime()Stefan Metzmacher2009-02-182-2/+2
| | | | | | This makes more clear what the function does. metze