From bf1ffa283caef6a3c98b5cc7f5bc8205c2818b06 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 5 Jun 2005 06:53:07 +0000 Subject: 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) --- source4/ntvfs/common/brlock.c | 1 + source4/ntvfs/common/opendb.c | 1 + 2 files changed, 2 insertions(+) (limited to 'source4/ntvfs/common') diff --git a/source4/ntvfs/common/brlock.c b/source4/ntvfs/common/brlock.c index 5e404768e0..e06cb0602e 100644 --- a/source4/ntvfs/common/brlock.c +++ b/source4/ntvfs/common/brlock.c @@ -30,6 +30,7 @@ #include "lib/tdb/include/tdb.h" #include "messages.h" #include "db_wrap.h" +#include "lib/messaging/irpc.h" /* in this module a "DATA_BLOB *file_key" is a blob that uniquely identifies diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c index 4109992bc0..008f15d078 100644 --- a/source4/ntvfs/common/opendb.c +++ b/source4/ntvfs/common/opendb.c @@ -44,6 +44,7 @@ #include "messages.h" #include "librpc/gen_ndr/ndr_security.h" #include "db_wrap.h" +#include "lib/messaging/irpc.h" struct odb_context { struct tdb_wrap *w; -- cgit