FreeRDP
Stack.c File Reference

Functions

int Stack_Count (wStack *stack)
 
BOOL Stack_IsSynchronized (wStack *stack)
 
void Stack_Clear (wStack *stack)
 
BOOL Stack_Contains (wStack *stack, void *obj)
 
void Stack_Push (wStack *stack, void *obj)
 
voidStack_Pop (wStack *stack)
 
voidStack_Peek (wStack *stack)
 
static BOOL default_stack_equals (const void *obj1, const void *obj2)
 
wStack * Stack_New (BOOL synchronized)
 
void Stack_Free (wStack *stack)
 

Function Documentation

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

Here is the caller graph for this function:

void Stack_Clear ( wStack *  stack)

Methods Removes all objects from the Stack.

Here is the call graph for this function:

BOOL Stack_Contains ( wStack *  stack,
void obj 
)

Determines whether an element is in the Stack.

Here is the call graph for this function:

int Stack_Count ( wStack *  stack)

WinPR: Windows Portable Runtime System.Collections.Stack

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# Stack Class: http://msdn.microsoft.com/en-us/library/system.collections.stack.aspx Properties Gets the number of elements contained in the Stack.

Here is the call graph for this function:

void Stack_Free ( wStack *  stack)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL Stack_IsSynchronized ( wStack *  stack)

Gets a value indicating whether access to the Stack is synchronized (thread safe).

wStack* Stack_New ( BOOL  synchronized)

Construction, Destruction

Here is the call graph for this function:

Here is the caller graph for this function:

void* Stack_Peek ( wStack *  stack)

Returns the object at the top of the Stack without removing it.

Here is the call graph for this function:

void* Stack_Pop ( wStack *  stack)

Removes and returns the object at the top of the Stack.

Here is the call graph for this function:

Here is the caller graph for this function:

void Stack_Push ( wStack *  stack,
void obj 
)

Inserts an object at the top of the Stack.

Here is the call graph for this function:

Here is the caller graph for this function: