mirror of
https://github.com/samba-team/samba.git
synced 2025-11-07 12:23:51 +03:00
r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
473bca74dc
commit
4adbebef5d
@@ -62,7 +62,7 @@ typedef NTSTATUS (*irpc_function_t)(struct irpc_message *, void *r);
|
||||
*/
|
||||
struct irpc_request {
|
||||
struct messaging_context *msg_ctx;
|
||||
const struct dcerpc_interface_table *table;
|
||||
const struct ndr_interface_table *table;
|
||||
int callnum;
|
||||
int callid;
|
||||
void *r;
|
||||
@@ -103,16 +103,16 @@ void messaging_deregister(struct messaging_context *msg, uint32_t msg_type, void
|
||||
|
||||
|
||||
NTSTATUS irpc_register(struct messaging_context *msg_ctx,
|
||||
const struct dcerpc_interface_table *table,
|
||||
const struct ndr_interface_table *table,
|
||||
int call, irpc_function_t fn, void *private);
|
||||
struct irpc_request *irpc_call_send(struct messaging_context *msg_ctx,
|
||||
struct server_id server_id,
|
||||
const struct dcerpc_interface_table *table,
|
||||
const struct ndr_interface_table *table,
|
||||
int callnum, void *r, TALLOC_CTX *ctx);
|
||||
NTSTATUS irpc_call_recv(struct irpc_request *irpc);
|
||||
NTSTATUS irpc_call(struct messaging_context *msg_ctx,
|
||||
struct server_id server_id,
|
||||
const struct dcerpc_interface_table *table,
|
||||
const struct ndr_interface_table *table,
|
||||
int callnum, void *r, TALLOC_CTX *ctx);
|
||||
|
||||
NTSTATUS irpc_add_name(struct messaging_context *msg_ctx, const char *name);
|
||||
|
||||
@@ -620,7 +620,7 @@ struct messaging_context *messaging_client_init(TALLOC_CTX *mem_ctx,
|
||||
struct irpc_list {
|
||||
struct irpc_list *next, *prev;
|
||||
struct GUID uuid;
|
||||
const struct dcerpc_interface_table *table;
|
||||
const struct ndr_interface_table *table;
|
||||
int callnum;
|
||||
irpc_function_t fn;
|
||||
void *private;
|
||||
@@ -631,7 +631,7 @@ struct irpc_list {
|
||||
register a irpc server function
|
||||
*/
|
||||
NTSTATUS irpc_register(struct messaging_context *msg_ctx,
|
||||
const struct dcerpc_interface_table *table,
|
||||
const struct ndr_interface_table *table,
|
||||
int callnum, irpc_function_t fn, void *private)
|
||||
{
|
||||
struct irpc_list *irpc;
|
||||
@@ -843,7 +843,7 @@ static void irpc_timeout(struct event_context *ev, struct timed_event *te,
|
||||
*/
|
||||
struct irpc_request *irpc_call_send(struct messaging_context *msg_ctx,
|
||||
struct server_id server_id,
|
||||
const struct dcerpc_interface_table *table,
|
||||
const struct ndr_interface_table *table,
|
||||
int callnum, void *r, TALLOC_CTX *ctx)
|
||||
{
|
||||
struct irpc_header header;
|
||||
@@ -933,7 +933,7 @@ NTSTATUS irpc_call_recv(struct irpc_request *irpc)
|
||||
*/
|
||||
NTSTATUS irpc_call(struct messaging_context *msg_ctx,
|
||||
struct server_id server_id,
|
||||
const struct dcerpc_interface_table *table,
|
||||
const struct ndr_interface_table *table,
|
||||
int callnum, void *r,
|
||||
TALLOC_CTX *mem_ctx)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user