Cope with includes.h splitup in COM code.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 12 Sep 2008 11:58:05 +0000 (13:58 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 15 Sep 2008 15:39:41 +0000 (17:39 +0200)
source4/lib/com/com.h
source4/lib/com/dcom/dcom.h

index 2a40dae3d7aee41589dc6701d2c61d68d1627b48..f88c914a0400c1e713a31f883aede8f0ea07e4ae 100644 (file)
 #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);
 
index 13881919f75d85f9e684f9ab72da2ccde137a354..727db716ee81fe46b58900983771350227d80133 100644 (file)
@@ -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);