summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij4-46/+77
2009-03-01Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij3-2/+117
2009-03-01Merge branch 'master' of git://git.samba.org/samba into teventfixJelmer Vernooij23-576/+1022
Conflicts: lib/tevent/pytevent.c
2009-03-01Avoid using tevent_util.h, which won't be available if we use the systemJelmer Vernooij1-2/+2
tevent.
2009-03-01Move next_token_talloc to util.c, as util_str.c is only compiled inside samba 4.Jelmer Vernooij2-100/+100
2009-03-01Move next_token_talloc() to top-level.Jelmer Vernooij2-0/+115
2009-03-01Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij2-2/+3
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij4-23/+31
consistency with Samba 3.
2009-02-28Simplify async_connect_send slightlyVolker Lendecke1-9/+6
2009-02-26lib/torture: fix depency to map_nt_error_from_unix()Stefan Metzmacher1-1/+3
This should fix the build on Mac OS 10 metze
2009-02-26tevent: add tevent_queue infrastructureStefan Metzmacher3-1/+221
metze
2009-02-26Add tevent_ntstatusVolker Lendecke2-0/+83
2009-02-26s3:libsmbconf: add transactions to the libsmbconf apiMichael Adam4-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
2009-02-26Speed up "net conf list"Volker Lendecke1-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>
2009-02-26libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher1-2/+4
-DSOCKET_WRAPPER_DISABLE=1 metze
2009-02-25lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() ↵Stefan Metzmacher1-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
2009-02-25tevent: add private_print function feature to tevent_reqStefan Metzmacher2-3/+35
metze
2009-02-25tevent: add tevent_req_poll() functionStefan Metzmacher2-0/+18
metze
2009-02-25Remove async_req based async_sendVolker Lendecke2-240/+0
2009-02-25Remove async_req based async_recvVolker Lendecke2-71/+0
2009-02-25Attempt to fix the OpenChange build -- sorry for the breakVolker Lendecke1-1/+1
2009-02-24Add more conventional async_recvVolker Lendecke2-0/+72
2009-02-24Add more conventional async_sendVolker Lendecke2-0/+73
2009-02-24Remove unused param_connect structVolker Lendecke1-11/+0
2009-02-24Remove unused recvallVolker Lendecke2-115/+0
2009-02-24Add async read_packetVolker Lendecke2-0/+128
2009-02-24Fix async writevVolker Lendecke1-1/+1
2009-02-24Remove async sendallVolker Lendecke2-116/+0
2009-02-24Add async writevVolker Lendecke2-0/+109
2009-02-24Convert async_connect to tevent_reqVolker Lendecke2-32/+33
2009-02-24tevent.h requires bool and uint[16|32|64]_tVolker Lendecke1-0/+1
2009-02-24Add tevent_req_is_unix_errorVolker Lendecke2-0/+73
2009-02-23Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman3-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().
2009-02-23More warning fixes for Solaris.Jeremy Allison1-9/+0
Jeremy.
2009-02-23all BSDs use this evironment variableBjörn Jacke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-02-21Fix shadowed declaration warningTim Prouty1-1/+1
2009-02-21pytevent: Fix include path - tevent_util is not installed.Jelmer Vernooij1-1/+1
2009-02-20Moved become_daemon() and close_low_fds() to shared util libSteven Danneman2-14/+17
2009-02-18tevent: add tevent_wakeup_send/recv()Stefan Metzmacher3-1/+76
This can be used as tevent_req based timer event. metze
2009-02-18tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime()Stefan Metzmacher2-2/+2
This makes more clear what the function does. metze
2009-02-17async_sock: Use tevent_timeval instead of timeval functionsKai Blin1-3/+4
2009-02-17tevent: Rename ev_timeval* functions to tevent_timeval, export them.Kai Blin7-23/+61
Also add tevent_timeval_add() and tevent_timeval_current_ofs() to help not depending on lub/util/time.c for things that just need tevent
2009-02-16tevent: fix compiler warning in pytevent.cStefan Metzmacher1-1/+3
metze
2009-02-16lib/tevent: change to LGPLv3+Stefan Metzmacher16-188/+253
metze
2009-02-14Add missing prototype for "tevent_req_print"Volker Lendecke1-0/+2
2009-02-14Fix a warning and a bug: pipe(2) can failVolker Lendecke1-1/+4
2009-02-14Add two variable assignments to shut up gccVolker Lendecke1-2/+4
2009-02-13tevent: raise version to 0.9.3Stefan Metzmacher1-1/+1
- aio events are removed - tevent_req infrastructure was added metze
2009-02-13lib/tevent: add tevent_req infrastructureStefan Metzmacher4-202/+303
This is almost a copy of the async_req code, which will be removed later. metze
2009-02-13lib/tevent: add tevent_req.c as copy of lib/async_req/async_req.cStefan Metzmacher1-0/+338
metze