1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/nmbd
Volker Lendecke caf8c6a76b r21064: The core of this patch is
void message_register(int msg_type,
                      void (*fn)(int msg_type, struct process_id pid,
-                                void *buf, size_t len))
+                                void *buf, size_t len,
+                                void *private_data),
+                     void *private_data)
 {
        struct dispatch_fns *dfn;

So this adds a (so far unused) private pointer that is passed from
message_register to the message handler. A prerequisite to implement a tiny
samba4-API compatible wrapper around our messaging system. That itself is
necessary for the Samba4 notify system.

Yes, I know, I could import the whole Samba4 messaging system, but I want to
do it step by step and I think getting notify in is more important in this
step.

Volker
(This used to be commit c8ae60ed65)
2007-10-10 12:17:32 -05:00
..
asyncdns.c r17807: Fix a file descriptor leak pointed out by John Malmberg. Thanks! 2007-10-10 11:38:49 -05:00
nmbd_become_dmb.c r16213: Fix Klocwork #852. iface_n_ip can potentially 2007-10-10 11:17:26 -05:00
nmbd_become_lmb.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
nmbd_browserdb.c r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END() 2007-10-10 11:51:59 -05:00
nmbd_browsesync.c r12107: Move to a tdb-based wins database. At the moment we still 2007-10-10 11:05:45 -05:00
nmbd_elections.c r21064: The core of this patch is 2007-10-10 12:17:32 -05:00
nmbd_incomingdgrams.c r15450: Change profiling data macros to use stack variables rather than 2007-10-10 11:16:47 -05:00
nmbd_incomingrequests.c r12107: Move to a tdb-based wins database. At the moment we still 2007-10-10 11:05:45 -05:00
nmbd_lmhosts.c Fix the character set handling properly in nmbd. Also fix bug where 2003-08-27 01:25:01 +00:00
nmbd_logonnames.c Use "unix netbios name" type unstring - 64 bytes long to manipulate netbios 2004-03-15 21:45:45 +00:00
nmbd_mynames.c r12107: Move to a tdb-based wins database. At the moment we still 2007-10-10 11:05:45 -05:00
nmbd_namelistdb.c r16665: Fix a couple of bugs I discovered now I've looked 2007-10-10 11:19:07 -05:00
nmbd_namequery.c r17864: Fix possible null deref if client doesn't give us 2007-10-10 11:38:55 -05:00
nmbd_nameregister.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
nmbd_namerelease.c updated the 3.0 branch from the head branch - ready for alpha18 2002-07-15 10:35:28 +00:00
nmbd_nodestatus.c Fix the character set handling properly in nmbd. Also fix bug where 2003-08-27 01:25:01 +00:00
nmbd_packets.c r13887: Fix coverity bug CID #94. mem leak on error codepath. 2007-10-10 11:10:58 -05:00
nmbd_processlogon.c r18660: Fix build, one uuid->GUID was missed. 2007-10-10 11:52:20 -05:00
nmbd_responserecordsdb.c r16019: This should not be a level zero message - it's harmless 2007-10-10 11:17:18 -05:00
nmbd_sendannounce.c r17668: Fix the miscalculations in pushing announces. Fixes 2007-10-10 11:38:45 -05:00
nmbd_serverlistdb.c r16579: Fix Klocwork #2016. Possible null deref. 2007-10-10 11:19:01 -05:00
nmbd_subnetdb.c r16581: Fix Klocwork #2017. Possible null deref. 2007-10-10 11:19:01 -05:00
nmbd_synclists.c r17571: Change the return code of cli_session_setup from BOOL to NTSTATUS 2007-10-10 11:38:39 -05:00
nmbd_winsproxy.c r14007: Coverity bug CID #197. Don't compare against 0, we 2007-10-10 11:11:04 -05:00
nmbd_winsserver.c r21064: The core of this patch is 2007-10-10 12:17:32 -05:00
nmbd_workgroupdb.c r15700: Make nmbd udp sockets non-blocking to prevent problem 2007-10-10 11:17:08 -05:00
nmbd.c r21064: The core of this patch is 2007-10-10 12:17:32 -05:00