1
0
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:
Stefan Metzmacher 2014-02-07 15:50:29 +01:00 committed by Günther Deschner
parent 6ab76219cd
commit 166766e772
2 changed files with 7 additions and 5 deletions

View File

@ -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) {

View File

@ -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.