summaryrefslogtreecommitdiff
path: root/source4/lib/messaging/irpc.h
AgeCommit message (Collapse)AuthorFilesLines
2010-09-16s4-irpc: Add value for "infinite" timeout for IRPC callsKamen Mazdrashki1-1/+3
2010-09-15s4-messaging: add support for no_reply in irpc messagesAndrew Tridgell1-0/+1
It can be useful for a irpc message to be one-way, where the client sends a messages and the server does not reply. This will be used for things like a triger message from an auth context to the drepl server to tell it to try a REPL_SECRET on a user in a RODC. Previously we've used raw messaging for messages that have no reply, but that doesn't allow us to use messages described by IDL Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-03s4:lib/messaging: make irpc_request private and remove unused codeStefan Metzmacher1-39/+1
metze
2010-09-03s4:lib/messaging: add irpc_binding_handle_by_name() helper functionStefan Metzmacher1-0/+4
metze
2010-09-03s4:lib/messaging: add irpc dcerpc_binding_handle backendStefan Metzmacher1-0/+9
metze
2010-09-03s4:lib/messaging: move messaging prototypes from irpc.h to messaging.hStefan Metzmacher1-28/+0
metze
2010-08-30s4:lib/messaging: add some const to messaging_send()Stefan Metzmacher1-1/+1
metze
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-2/+0
2009-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell1-0/+1
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
2009-02-01s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher1-2/+2
metze
2009-02-01s4:lib/messaging: avoid c++ reserved word 'private'Stefan Metzmacher1-7/+7
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-3/+3
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-16Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij1-0/+1
the dom_sid). No longer include it from security.idl.
2008-05-26Provide access to server_id from python bindings, add more tests.Jelmer Vernooij1-0/+1
(This used to be commit adcd87ad07abbf60a0152deae4b975a2401d701b)
2008-04-02IRPC: Add include guards for the header.Kai Blin1-0/+4
(This used to be commit 0e66e443ad42f9644aafc1858ac8d01c7c699337)
2007-12-21r26441: Remove global_loadparm uses.Jelmer Vernooij1-0/+2
(This used to be commit 32007c6277efa46341da7741b749a98633d71640)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-3/+4
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-3/+3
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r24560: rename some DCERPC_ prefixes into NDR_Stefan Metzmacher1-3/+3
metze (This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-3/+3
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher1-4/+4
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher1-1/+1
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
2007-10-10r22629: if irpc gets freed within event_loop_once() we crash...Stefan Metzmacher1-0/+1
so deferr the freeing metze (This used to be commit 3a30bc0d6137fe2b7440106b35dd0a9175cc8057)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-9/+12
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r15049: for really efficient oplock handling with thousands of open files weAndrew Tridgell1-3/+7
will need a separate messaging endpoint per open file. To make this efficient extend the messaging layer to have a new registration function for temporary message types that maps via an idtree. I have updated the LOCAL-MESSAGING test to use the new function. (This used to be commit 4b976851d8b7ccd2c40010be095cef7fecf9e722)
2007-10-10r13317: Create a new function messaging_client_init() which can be used whenAndrew Bartlett1-0/+2
we don't have a server messaging context. We should replace the datagram messages with stream sockets in this case, so we don't have to create a unique socket. Andrew Bartlett (This used to be commit fd974fb64792f8f6c532b01d2a2e012be18eef7e)
2007-10-10r10490: - allow deferred irpc replies to set the statusAndrew Tridgell1-1/+2
- add an example of deferred reply for echodata in LOCAL-IRPC (This used to be commit 858a757a6d0a614b8f13bfb6217034e8a8b69554)
2007-10-10r10489: added the ability for irpc server to defer replies instead of replyingAndrew Tridgell1-0/+10
immediately. They set m->defer_reply = True; (This used to be commit 3dcd800a5d3340d0f4855f9f08e73896ad8c3d83)
2007-10-10r8923: put the IRPC default timeout back to 10s (I didn't mean to commit ↵Andrew Tridgell1-1/+1
this, it was changed just for deugging) (This used to be commit a7c260e61feec210bcb5cad0f8f759544dc9dd1e)
2007-10-10r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC testAndrew Tridgell1-7/+8
(This used to be commit ce9a262d379b946717d0d4be4731c837e6f7373d)
2007-10-10r8277: filled in the code for finding irpc server ids by name, storing theAndrew Tridgell1-1/+4
names in a tdb (This used to be commit b603a52f27bf90e71d605440d44267dcd94c6939)
2007-10-10r8272: added the hooks for adding a name to a messaging context, so we willAndrew Tridgell1-0/+1
be able to send a message to the "ldap_server" task without having to know its task ID. (This used to be commit 8f69867867857e0c9a9246c2dec9612ccc234724)
2007-10-10r7320: added support for a private pointer in irpc registered handlersAndrew Tridgell1-3/+4
(This used to be commit eec521dffd4ca9efa7f6e31c50cf1ff365aae209)
2007-10-10r7298: ensure messages are sent in order even when under extreme load. ThisAndrew Tridgell1-1/+1
fixes a IO_TIMEOUT problem in the messaging benchmarks (This used to be commit c8b220b65de00418d19347cf298cc80d86e8accb)
2007-10-10r7295: added an irpc benchmark. It gets about 16k messages/sec on my laptop,Andrew Tridgell1-1/+4
compared to about 20k messages/sec for the raw messaging layer. I think that is quite acceptable given the extra functionality. (This used to be commit a05d38d1d91f1f54d3e3794a596b468992594852)
2007-10-10r7294: implemented the irpc messaging system. This is the core of theAndrew Tridgell1-0/+94
management system I proposed on samba-technical a couple of days ago. Essentially it is a very lightweight way for any code in Samba to make IDL based rpc calls to anywhere else in the code, without the client or server having to go to the trouble of setting up a full rpc service. It can be used with any of our existing IDL, but I expect it will mostly be used for a new set of Samba specific management calls. The LOCAL-IRPC torture test demonstrates how it can be used by calling the echo_AddOne() call over this transport. (This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)