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

Functions

int ListDictionary_Count (wListDictionary *listDictionary)
 
void ListDictionary_Lock (wListDictionary *listDictionary)
 
void ListDictionary_Unlock (wListDictionary *listDictionary)
 
int ListDictionary_GetKeys (wListDictionary *listDictionary, ULONG_PTR **ppKeys)
 
BOOL ListDictionary_Add (wListDictionary *listDictionary, const void *key, void *value)
 
void ListDictionary_Clear (wListDictionary *listDictionary)
 
BOOL ListDictionary_Contains (wListDictionary *listDictionary, const void *key)
 
void * ListDictionary_Remove (wListDictionary *listDictionary, const void *key)
 
void * ListDictionary_Remove_Head (wListDictionary *listDictionary)
 
void * ListDictionary_GetItemValue (wListDictionary *listDictionary, const void *key)
 
BOOL ListDictionary_SetItemValue (wListDictionary *listDictionary, const void *key, void *value)
 
static BOOL default_equal_function (const void *obj1, const void *obj2)
 
wListDictionary * ListDictionary_New (BOOL synchronized)
 
void ListDictionary_Free (wListDictionary *listDictionary)
 

Function Documentation

◆ default_equal_function()

static BOOL default_equal_function ( const void *  obj1,
const void *  obj2 
)
static
Here is the caller graph for this function:

◆ ListDictionary_Add()

BOOL ListDictionary_Add ( wListDictionary *  listDictionary,
const void *  key,
void *  value 
)

Adds an entry with the specified key and value into the ListDictionary.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_Clear()

void ListDictionary_Clear ( wListDictionary *  listDictionary)

Removes all entries from the ListDictionary.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_Contains()

BOOL ListDictionary_Contains ( wListDictionary *  listDictionary,
const void *  key 
)

Determines whether the ListDictionary contains a specific key.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_Count()

int ListDictionary_Count ( wListDictionary *  listDictionary)

WinPR: Windows Portable Runtime System.Collections.Specialized.ListDictionary

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 equivalent of the C# ListDictionary Class: http://msdn.microsoft.com/en-us/library/system.collections.specialized.listdictionary.aspx

Internal implementation uses a singly-linked list Properties Gets the number of key/value pairs contained in the ListDictionary.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_Free()

void ListDictionary_Free ( wListDictionary *  listDictionary)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_GetItemValue()

void* ListDictionary_GetItemValue ( wListDictionary *  listDictionary,
const void *  key 
)

Get an item value using key

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_GetKeys()

int ListDictionary_GetKeys ( wListDictionary *  listDictionary,
ULONG_PTR **  ppKeys 
)

Methods Gets the list of keys as an array

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_Lock()

void ListDictionary_Lock ( wListDictionary *  listDictionary)

Lock access to the ListDictionary

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_New()

wListDictionary* ListDictionary_New ( BOOL  synchronized)

Construction, Destruction

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_Remove()

void* ListDictionary_Remove ( wListDictionary *  listDictionary,
const void *  key 
)

Removes the entry with the specified key from the ListDictionary.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_Remove_Head()

void* ListDictionary_Remove_Head ( wListDictionary *  listDictionary)

Removes the first (head) entry from the list

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_SetItemValue()

BOOL ListDictionary_SetItemValue ( wListDictionary *  listDictionary,
const void *  key,
void *  value 
)

Set an item value using key

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ListDictionary_Unlock()

void ListDictionary_Unlock ( wListDictionary *  listDictionary)

Unlock access to the ListDictionary

Here is the call graph for this function:
Here is the caller graph for this function: