[SCM] Samba Shared Repository - branch v3-4-test updated -
release-4-0-0alpha7-520-ge1055c3
Günther Deschner
gd at samba.org
Wed Mar 18 19:03:07 GMT 2009
The branch, v3-4-test has been updated
via e1055c372a3b77fdd28f17635465a7a0a9c578fa (commit)
from 6ac0a8d45e14deede30f56ab8c4d8288b83f15b4 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit e1055c372a3b77fdd28f17635465a7a0a9c578fa
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 18 18:10:01 2009 +0100
s3-rpc_client: remove unused CLI_DO_RPC_WERR macro.
Guenther
(cherry picked from commit e966719049702827c482c5e19783b9a7c725bdb1)
-----------------------------------------------------------------------
Summary of changes:
source3/include/rpc_client.h | 30 ------------------------------
1 files changed, 0 insertions(+), 30 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/include/rpc_client.h b/source3/include/rpc_client.h
index afa1889..84ac8b1 100644
--- a/source3/include/rpc_client.h
+++ b/source3/include/rpc_client.h
@@ -41,34 +41,4 @@
#define prs_init_empty( _ps_, _ctx_, _io_ ) (void) prs_init((_ps_), 0, (_ctx_), (_io_))
-/* macro to expand cookie-cutter code in cli_xxx() using rpc_api_pipe_req() */
-
-#define CLI_DO_RPC_WERR( pcli, ctx, interface, opnum, q_in, r_out, \
- q_ps, r_ps, q_io_fn, r_io_fn, default_error ) \
-{\
- SMB_ASSERT(ndr_syntax_id_equal(&pcli->abstract_syntax, interface)); \
- if (!prs_init( &q_ps, RPC_MAX_PDU_FRAG_LEN, ctx, MARSHALL )) { \
- return WERR_NOMEM;\
- }\
- if ( q_io_fn("", &q_in, &q_ps, 0) ) {\
- NTSTATUS _smb_pipe_stat_ = rpc_api_pipe_req(ctx, pcli, opnum, &q_ps, &r_ps); \
- if (!NT_STATUS_IS_OK(_smb_pipe_stat_)) {\
- prs_mem_free( &q_ps );\
- prs_mem_free( &r_ps );\
- return ntstatus_to_werror(_smb_pipe_stat_);\
- }\
- if (!r_io_fn("", &r_out, &r_ps, 0)) {\
- prs_mem_free( &q_ps );\
- prs_mem_free( &r_ps );\
- return default_error;\
- }\
- } else {\
- prs_mem_free( &q_ps );\
- prs_mem_free( &r_ps );\
- return default_error;\
- }\
- prs_mem_free( &q_ps );\
- prs_mem_free( &r_ps );\
-}
-
#endif /* _RPC_CLIENT_H */
--
Samba Shared Repository
More information about the samba-cvs
mailing list