FreeRDP
Reference.c File Reference
#include <winpr/config.h>
#include <winpr/crt.h>
#include <winpr/collections.h>

Functions

static wReference * ReferenceTable_FindEntry (wReferenceTable *referenceTable, void *ptr)
 
static wReference * ReferenceTable_GetFreeEntry (wReferenceTable *referenceTable)
 
UINT32 ReferenceTable_Add (wReferenceTable *referenceTable, void *ptr)
 
UINT32 ReferenceTable_Release (wReferenceTable *referenceTable, void *ptr)
 
wReferenceTable * ReferenceTable_New (BOOL synchronized, void *context, REFERENCE_FREE ReferenceFree)
 
void ReferenceTable_Free (wReferenceTable *referenceTable)
 

Function Documentation

◆ ReferenceTable_Add()

UINT32 ReferenceTable_Add ( wReferenceTable *  referenceTable,
void *  ptr 
)
Here is the call graph for this function:

◆ ReferenceTable_FindEntry()

static wReference* ReferenceTable_FindEntry ( wReferenceTable *  referenceTable,
void *  ptr 
)
static

WinPR: Windows Portable Runtime Reference Count Table

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. C reference counting http://msdn.microsoft.com/en-us/library/windows/desktop/ms693431/

Here is the caller graph for this function:

◆ ReferenceTable_Free()

void ReferenceTable_Free ( wReferenceTable *  referenceTable)
Here is the call graph for this function:

◆ ReferenceTable_GetFreeEntry()

static wReference* ReferenceTable_GetFreeEntry ( wReferenceTable *  referenceTable)
static
Here is the caller graph for this function:

◆ ReferenceTable_New()

wReferenceTable* ReferenceTable_New ( BOOL  synchronized,
void *  context,
REFERENCE_FREE  ReferenceFree 
)
Here is the call graph for this function:

◆ ReferenceTable_Release()

UINT32 ReferenceTable_Release ( wReferenceTable *  referenceTable,
void *  ptr 
)
Here is the call graph for this function: