diff options
author | Samuel Cabrero <scabrero@samba.org> | 2019-10-03 18:05:04 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-10-18 16:07:37 +0000 |
commit | 3f33fdf2e36742ec98e3406f2ecaaa4758ce2a51 (patch) | |
tree | 8599d3f12a2403604542d15c1cde07a034354f1e /librpc | |
parent | 480dd6163b28d97ba89ceccbf84d7a730d7017aa (diff) | |
download | samba-3f33fdf2e36742ec98e3406f2ecaaa4758ce2a51.tar.gz |
librpc: Add new dcerpc server core library
Next commits will move the core of s4 rpc server to this library.
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/rpc/dcesrv_core.c | 25 | ||||
-rw-r--r-- | librpc/rpc/dcesrv_core.h | 27 | ||||
-rw-r--r-- | librpc/wscript_build | 10 |
3 files changed, 62 insertions, 0 deletions
diff --git a/librpc/rpc/dcesrv_core.c b/librpc/rpc/dcesrv_core.c new file mode 100644 index 00000000000..94f7680597e --- /dev/null +++ b/librpc/rpc/dcesrv_core.c @@ -0,0 +1,25 @@ +/* + Unix SMB/CIFS implementation. + + server side dcerpc core code + + Copyright (C) Andrew Tridgell 2003-2005 + Copyright (C) Stefan (metze) Metzmacher 2004-2005 + Copyright (C) Samuel Cabrero <scabrero@samba.org> 2019 + + 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 3 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, see <http://www.gnu.org/licenses/>. +*/ + +#include "includes.h" +#include "dcesrv_core.h" diff --git a/librpc/rpc/dcesrv_core.h b/librpc/rpc/dcesrv_core.h new file mode 100644 index 00000000000..b78023f45a7 --- /dev/null +++ b/librpc/rpc/dcesrv_core.h @@ -0,0 +1,27 @@ +/* + Unix SMB/CIFS implementation. + + server side dcerpc defines + + Copyright (C) Andrew Tridgell 2003-2005 + Copyright (C) Stefan (metze) Metzmacher 2004-2005 + Copyright (C) Samuel Cabrero <scabrero@samba.org> 2019 + + 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 3 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, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _LIBRPC_RPC_DCESRV_CORE_H_ +#define _LIBRPC_RPC_DCESRV_CORE_H_ + +#endif /* _LIBRPC_RPC_DCESRV_CORE_H_ */ diff --git a/librpc/wscript_build b/librpc/wscript_build index dcfef5c633b..812697f3eae 100644 --- a/librpc/wscript_build +++ b/librpc/wscript_build @@ -632,6 +632,16 @@ bld.SAMBA_LIBRARY('dcerpc-binding', public_headers='rpc/rpc_common.h', vnum='0.0.1') +bld.SAMBA_LIBRARY('dcerpc-server-core', + source=''' + rpc/dcesrv_core.c + ''', + deps='ndr dcerpc-binding', + pc_files=[], + public_headers='rpc/dcesrv_core.h', + autoproto='rpc/dcesrv_core_proto.h', + vnum='0.0.1') + bld.SAMBA_SUBSYSTEM('NDR_WINBIND', source='gen_ndr/ndr_winbind.c', public_deps='ndr NDR_LSA' |