summaryrefslogtreecommitdiff
path: root/source4/lib/dcom/common
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/dcom/common')
-rw-r--r--source4/lib/dcom/common/tables.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/source4/lib/dcom/common/tables.c b/source4/lib/dcom/common/tables.c
index d6b7cfa78f..f9f1c49380 100644
--- a/source4/lib/dcom/common/tables.c
+++ b/source4/lib/dcom/common/tables.c
@@ -72,7 +72,7 @@ const void *dcom_proxy_vtable_by_iid(const struct GUID *iid)
return iface->proxy_vtable;
}
-static NTSTATUS dcom_register_interface(const void *_iface)
+NTSTATUS dcom_register_interface(const void *_iface)
{
const struct dcom_interface *iface = _iface;
struct interface_list *l = talloc_zero_p(interfaces, struct interface_list);
@@ -84,7 +84,7 @@ static NTSTATUS dcom_register_interface(const void *_iface)
return NT_STATUS_OK;
}
-static NTSTATUS dcom_register_class(const void *_class)
+NTSTATUS dcom_register_class(const void *_class)
{
const struct dcom_class *class = _class;
struct class_list *l = talloc_zero_p(classes, struct class_list);
@@ -95,20 +95,3 @@ static NTSTATUS dcom_register_class(const void *_class)
return NT_STATUS_OK;
}
-
-NTSTATUS libdcom_init(void)
-{
- NTSTATUS status;
-
- status = register_subsystem("dcom_interface", dcom_register_interface);
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- register_subsystem("dcom_class", dcom_register_class);
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- return status;
-}