diff options
Diffstat (limited to 'source4/lib/dcom')
-rw-r--r-- | source4/lib/dcom/config.m4 | 1 | ||||
-rw-r--r-- | source4/lib/dcom/config.mk | 8 | ||||
-rw-r--r-- | source4/lib/dcom/main.c | 65 | ||||
-rw-r--r-- | source4/lib/dcom/procedure | 8 |
4 files changed, 82 insertions, 0 deletions
diff --git a/source4/lib/dcom/config.m4 b/source4/lib/dcom/config.m4 new file mode 100644 index 0000000000..206b916fa6 --- /dev/null +++ b/source4/lib/dcom/config.m4 @@ -0,0 +1 @@ +SMB_SUBSYSTEM_MK(LIBDCOM,lib/dcom/config.mk) diff --git a/source4/lib/dcom/config.mk b/source4/lib/dcom/config.mk new file mode 100644 index 0000000000..ef7cbf40c8 --- /dev/null +++ b/source4/lib/dcom/config.mk @@ -0,0 +1,8 @@ +################################################ +# Start SUBSYSTEM LIBDCOM +[SUBSYSTEM::LIBDCOM] +INIT_OBJ_FILES = \ + lib/dcom/main.o +# +# End SUBSYSTEM LIBDCOM +################################################ diff --git a/source4/lib/dcom/main.c b/source4/lib/dcom/main.c new file mode 100644 index 0000000000..515322e27a --- /dev/null +++ b/source4/lib/dcom/main.c @@ -0,0 +1,65 @@ +/* + Unix SMB/CIFS implementation. + Main DCOM functionality + Copyright (C) 2004 Jelmer Vernooij <jelmer@samba.org> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#include "includes.h" + +void CoInitializeEx(void *reserved, uint32 thread_options) +{ + /* FIXME */ +} + +void CoInitialize(void *reserved) +{ + CoInitializeEx(reserved, 0); +} + +void CoUnitialize(void) +{ + /* FIXME */ +} + +void CoRegisterClassObject(void) +{ + /* FIXME */ +} + +void CoUnregisterClassObject(void) +{ + /* FIXME */ +} + +void CoCreateInstanceEx(struct GUID *clsid, void *iface, uint32 context, struct COSERVERINFO *pcsi, uint32 num, struct MULTI_QI *results) +{ + /* FIXME: Connect to remote server and :*/ + + /* FIXME: Call RemoteActivation() */ + /* FIXME: Call ServerAlive() on IOXIDResolver */ + +} + +void CoCreateInstance(void) +{ + CoCreateInstanceEx(/*FIXME*/); +} + +void CoRegisterClassObject(void) +{ + /* FIXME */ +} diff --git a/source4/lib/dcom/procedure b/source4/lib/dcom/procedure new file mode 100644 index 0000000000..dc89d00bb2 --- /dev/null +++ b/source4/lib/dcom/procedure @@ -0,0 +1,8 @@ +Required infrastructure: + - CoCreateInstance function + - Proxy and Stub (class ?) + + + - Bind to IOXIDResolver + - ServerAlive2() + - Bind to ISystemActivator |