FreeRDP
|
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) |
|
static |
BOOL ListDictionary_Add | ( | wListDictionary * | listDictionary, |
const void * | key, | ||
void * | value | ||
) |
Adds an entry with the specified key and value into the ListDictionary.
void ListDictionary_Clear | ( | wListDictionary * | listDictionary | ) |
Removes all entries from the ListDictionary.
BOOL ListDictionary_Contains | ( | wListDictionary * | listDictionary, |
const void * | key | ||
) |
Determines whether the ListDictionary contains a specific key.
int ListDictionary_Count | ( | wListDictionary * | listDictionary | ) |
WinPR: Windows Portable Runtime System.Collections.Specialized.ListDictionary
Copyright 2012 Marc-Andre Moreau marca ndre .more au@g mail. 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.
void ListDictionary_Free | ( | wListDictionary * | listDictionary | ) |
void* ListDictionary_GetItemValue | ( | wListDictionary * | listDictionary, |
const void * | key | ||
) |
Get an item value using key
int ListDictionary_GetKeys | ( | wListDictionary * | listDictionary, |
ULONG_PTR ** | ppKeys | ||
) |
Methods Gets the list of keys as an array
void ListDictionary_Lock | ( | wListDictionary * | listDictionary | ) |
Lock access to the ListDictionary
wListDictionary* ListDictionary_New | ( | BOOL | synchronized | ) |
Construction, Destruction
void* ListDictionary_Remove | ( | wListDictionary * | listDictionary, |
const void * | key | ||
) |
Removes the entry with the specified key from the ListDictionary.
void* ListDictionary_Remove_Head | ( | wListDictionary * | listDictionary | ) |
Removes the first (head) entry from the list
BOOL ListDictionary_SetItemValue | ( | wListDictionary * | listDictionary, |
const void * | key, | ||
void * | value | ||
) |
Set an item value using key
void ListDictionary_Unlock | ( | wListDictionary * | listDictionary | ) |
Unlock access to the ListDictionary