mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:dcerpc_ep: make struct dcerpc_binding_vector private
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
6ab76219cd
commit
166766e772
@ -29,6 +29,12 @@
|
||||
|
||||
#define EPM_MAX_ANNOTATION_SIZE 64
|
||||
|
||||
struct dcerpc_binding_vector {
|
||||
struct dcerpc_binding *bindings;
|
||||
uint32_t count;
|
||||
uint32_t allocated;
|
||||
};
|
||||
|
||||
static bool binding_vector_realloc(struct dcerpc_binding_vector *bvec)
|
||||
{
|
||||
if (bvec->count >= bvec->allocated) {
|
||||
|
@ -20,11 +20,7 @@
|
||||
#ifndef _DCERPC_EP_H_
|
||||
#define _DCERPC_EP_H_
|
||||
|
||||
struct dcerpc_binding_vector {
|
||||
struct dcerpc_binding *bindings;
|
||||
uint32_t count;
|
||||
uint32_t allocated;
|
||||
};
|
||||
struct dcerpc_binding_vector;
|
||||
|
||||
/**
|
||||
* @brief Allocate a new binding vector.
|
||||
|
Loading…
Reference in New Issue
Block a user