Shared Persistent Heap Data Environment Manual  1.1.0
sasstringbtreeenum.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2005-2014 IBM Corporation.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation, Steven Munroe - initial API and implementation
10  */
11 
12 #ifndef __SAS_STRINGBTREEENUM_H
13 #define __SAS_STRINGBTREEENUM_H
14 
103 #include "sastype.h"
104 #include "sasstringbtree.h"
105 
113 typedef void *SASStringBTreeEnum_t;
114 
115 #ifdef __cplusplus
116 #define __C__ "C"
117 #else
118 #define __C__
119 #endif
120 
135 
151 SASStringBTreeEnumCreateStartAt (SASStringBTree_t btree, char *start_key);
152 
158 
165 
184 
194 
204 extern __C__ void *SASStringBTreeEnumNext (SASStringBTreeEnum_t sbtenum);
205 
220 
221 #endif /* __SAS_STRINGBTREEENUM_H */
void * SASStringBTreeEnum_t
Handle to an instance of String BTree Enumeration.
Definition: sasstringbtreeenum.h:113
__C__ int SASStringBTreeEnumHasMore(SASStringBTreeEnum_t sbtenum)
Return status of a SASStringBTreeEnum_t enumeration.
__C__ void SASStringBTreeEnumDestroy(SASStringBTreeEnum_t sbtenum)
Destroy an instance of SASStringBTreeEnum_t enumeration.
void * SASStringBTree_t
Handle to an instance of String B-tree.
Definition: sasstringbtree.h:102
__C__ SASStringBTreeEnum_t SASStringBTreeEnumCreateStartAt(SASStringBTree_t btree, char *start_key)
Create a SASStringBTreeEnum_t enumeration that can be used to iterate over the name space of a String...
#define __C__
ignore this macro behind the curtain
Definition: sasmsync.h:32
__C__ SASStringBTreeEnum_t SASStringBTreeEnumCreate(SASStringBTree_t btree)
Create a SASStringBTreeEnum_t enumeration that can be used to iterate over the name space of a String...
__C__ long SASStringBTreeEnumCount(SASStringBTreeEnum_t sbtenum)
Return number of entries a SASStringBTreeEnum_t enumeration contains.
__C__ void * SASStringBTreeEnumNext_nolock(SASStringBTreeEnum_t sbtenum)
Move the enumeration to the next String BTree key entry and return the associated address value...
Shared Address Space B-tree.
__C__ char * SASStringBTreeEnumCurrent(SASStringBTreeEnum_t sbtenum)
Return the C string pointer for the current enumeration key value.
__C__ void * SASStringBTreeEnumNext(SASStringBTreeEnum_t sbtenum)
Move the enumeration to the next String BTree key entry and return the associated address value...