summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/com/com.h5
-rw-r--r--source4/lib/com/dcom/dcom.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/source4/lib/com/com.h b/source4/lib/com/com.h
index 2a40dae3d7..f88c914a04 100644
--- a/source4/lib/com/com.h
+++ b/source4/lib/com/com.h
@@ -20,6 +20,11 @@
#ifndef __SAMBA_COM_H__
#define __SAMBA_COM_H__
+#include "librpc/gen_ndr/misc.h"
+
+struct com_context;
+struct event_context;
+
struct IUnknown *com_class_by_clsid(struct com_context *ctx, const struct GUID *clsid);
NTSTATUS com_register_running_class(struct GUID *clsid, const char *progid, struct IUnknown *p);
diff --git a/source4/lib/com/dcom/dcom.h b/source4/lib/com/dcom/dcom.h
index 13881919f7..727db716ee 100644
--- a/source4/lib/com/dcom/dcom.h
+++ b/source4/lib/com/dcom/dcom.h
@@ -47,6 +47,8 @@ NTSTATUS dcom_OBJREF_from_IUnknown(struct OBJREF *o, struct IUnknown *p);
NTSTATUS dcom_IUnknown_from_OBJREF(struct com_context *ctx, struct IUnknown **_p, struct OBJREF *o);
uint64_t dcom_get_current_oxid(void);
+#include "librpc/gen_ndr/com_dcom.h"
+
NTSTATUS dcom_register_proxy(struct IUnknown_vtable *proxy_vtable);
struct IUnknown_vtable *dcom_proxy_vtable_by_iid(struct GUID *iid);