diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-05 06:53:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:37 -0500 |
commit | bf1ffa283caef6a3c98b5cc7f5bc8205c2818b06 (patch) | |
tree | 11b434e632aaee2472c906b7ddb9d14fdfd48e38 /source4/smbd | |
parent | 03840652354598db203a3596077ecc55726880c8 (diff) | |
download | samba-bf1ffa283caef6a3c98b5cc7f5bc8205c2818b06.tar.gz samba-bf1ffa283caef6a3c98b5cc7f5bc8205c2818b06.tar.bz2 samba-bf1ffa283caef6a3c98b5cc7f5bc8205c2818b06.zip |
r7294: implemented the irpc messaging system. This is the core of the
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)
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/service_stream.c | 1 | ||||
-rw-r--r-- | source4/smbd/service_task.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/smbd/service_stream.c b/source4/smbd/service_stream.c index 4da4453ac7..3cecd8076e 100644 --- a/source4/smbd/service_stream.c +++ b/source4/smbd/service_stream.c @@ -26,6 +26,7 @@ #include "lib/events/events.h" #include "lib/socket/socket.h" #include "smbd/service_stream.h" +#include "lib/messaging/irpc.h" /* the range of ports to try for dcerpc over tcp endpoints */ #define SERVER_TCP_LOW_PORT 1024 diff --git a/source4/smbd/service_task.c b/source4/smbd/service_task.c index 68aba69019..c09cf2a0ac 100644 --- a/source4/smbd/service_task.c +++ b/source4/smbd/service_task.c @@ -24,6 +24,7 @@ #include "process_model.h" #include "lib/events/events.h" #include "smbd/service_task.h" +#include "lib/messaging/irpc.h" /* terminate a task service |