diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-02 14:52:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:21 -0500 |
commit | 5f6ec5270df147f1bd534a25f86866831aa816e8 (patch) | |
tree | ffc493c26fcedd299ec69f6a27a2d3678ebd03a9 /source4/rpc_server/dcom/remact.c | |
parent | a2fd2488c79902dfe1de764bea4f619ec6107fed (diff) | |
download | samba-5f6ec5270df147f1bd534a25f86866831aa816e8.tar.gz samba-5f6ec5270df147f1bd534a25f86866831aa816e8.tar.bz2 samba-5f6ec5270df147f1bd534a25f86866831aa816e8.zip |
r3486: Add RemoteActivation server
(This used to be commit 0987a5fdd6425a85823f57fe5b596bb6c404bce8)
Diffstat (limited to 'source4/rpc_server/dcom/remact.c')
-rw-r--r-- | source4/rpc_server/dcom/remact.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/source4/rpc_server/dcom/remact.c b/source4/rpc_server/dcom/remact.c new file mode 100644 index 0000000000..605422d750 --- /dev/null +++ b/source4/rpc_server/dcom/remact.c @@ -0,0 +1,42 @@ +/* + Unix SMB/CIFS implementation. + + endpoint server for the IRemoteActivation pipe + + Copyright (C) Jelmer Vernooij 2004 + + 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" +#include "rpc_server/dcerpc_server.h" +#include "rpc_server/common/common.h" +#include "librpc/gen_ndr/ndr_remact.h" + +/* + RemoteActivation +*/ +static WERROR RemoteActivation(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct RemoteActivation *r) +{ + /* FIXME: CoGetClassObject() */ + /* FIXME: IClassFactory::CreateInstance() */ + /* FIXME: IClassFactory::ReleaseInstance() */ + return WERR_NOT_SUPPORTED; +} + + +/* include the generated boilerplate */ +#include "librpc/gen_ndr/ndr_remact_s.c" |