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

Functions

int ListDictionary_Count (wListDictionary *listDictionary)
 
BOOL ListDictionary_IsFixedSized (wListDictionary *listDictionary)
 
BOOL ListDictionary_IsReadOnly (wListDictionary *listDictionary)
 
BOOL ListDictionary_IsSynchronized (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)
 
voidListDictionary_Remove (wListDictionary *listDictionary, const void *key)
 
voidListDictionary_Remove_Head (wListDictionary *listDictionary)
 
voidListDictionary_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

static BOOL default_equal_function ( const void obj1,
const void obj2 
)
static

Here is the caller graph for this function:

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:

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:

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:

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:

void ListDictionary_Free ( wListDictionary *  listDictionary)

Here is the call graph for this function:

Here is the caller graph for this function:

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:

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:

BOOL ListDictionary_IsFixedSized ( wListDictionary *  listDictionary)

Gets a value indicating whether the ListDictionary has a fixed size.

BOOL ListDictionary_IsReadOnly ( wListDictionary *  listDictionary)

Gets a value indicating whether the ListDictionary is read-only.

BOOL ListDictionary_IsSynchronized ( wListDictionary *  listDictionary)

Gets a value indicating whether the ListDictionary is synchronized (thread safe).

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:

wListDictionary* ListDictionary_New ( BOOL  synchronized)

Construction, Destruction

Here is the call graph for this function:

Here is the caller graph for this function:

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:

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:

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:

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: