4
<!-- Manpage converted by man2html 3.0.1 -->
6
Grid Engine List Library - a library providing generic list
7
functionality and database like list management
10
The Grid Engine List Library provides the functionality of a
11
generic list. This means the list functions are applicable
12
to every list based on a number of certain basic types. List
13
definitions are extensible on a per program basis as long as
14
the old fields remain in the list definition.
17
The list library provides the following functions. These are
18
explained in detail in the stated man pages.
21
<B><A HREF="../htmlman3/lCreateList.html">lCreateList(3)</A></B>
24
<B><A HREF="../htmlman3/lCreateElemList.html">lCreateElemList(3)</A></B>
25
create a generic list with a certain number of empty
28
<B><A HREF="../htmlman3/lFreeList.html">lFreeList(3)</A></B>
29
free the memory allocated for a generic list and all
32
<B><A HREF="../htmlman3/lCopyList.html">lCopyList(3)</A></B>
33
copy a generic list with all its sub-lists and strings
35
<B><A HREF="../htmlman3/lAddList.html">lAddList(3)</A></B>
36
concatenate two generic lists
38
<B><A HREF="../htmlman3/lSortList.html">lSortList(3)</A></B>
41
<B><A HREF="../htmlman3/lDumpList.html">lDumpList(3)</A></B>
42
dump a generic list to file
44
<B><A HREF="../htmlman3/lUndumpList.html">lUndumpList(3)</A></B>
45
undump a generic list with all its data from file
47
<B><A HREF="../htmlman3/lWriteList.html">lWriteList(3)</A></B>
48
write a generic list to stdout
50
<B><A HREF="../htmlman3/lGetListName.html">lGetListName(3)</A></B>
51
return the name of a generic list
53
<B><A HREF="../htmlman3/lGetListDescr.html">lGetListDescr(3)</A></B>
54
return a pointer to the descriptor of a generic list
56
<B><A HREF="../htmlman3/lGetNumberOfElem.html">lGetNumberOfElem(3)</A></B>
57
return the number of list elements contained in a gen-
60
<B><A HREF="../htmlman3/lGetNumberOfRemainingElem.html">lGetNumberOfRemainingElem(3)</A></B>
61
return the number of list elements contained in the
62
remainder of a generic list after a specified list ele-
65
LIST ELEMENT FUNCTIONS
66
<B><A HREF="../htmlman3/lCreateElem.html">lCreateElem(3)</A></B>
67
create a generic list element
69
<B><A HREF="../htmlman3/lFreeElem.html">lFreeElem(3)</A></B>
70
frees the memory allocated for a generic list element,
71
its strings and its sub-lists
73
<B><A HREF="../htmlman3/lCopyElem.html">lCopyElem(3)</A></B>
74
duplicate a list element with all its sub-lists and
77
<B><A HREF="../htmlman3/lAppendElem.html">lAppendElem(3)</A></B>
78
append a list element to an existing list
80
<B><A HREF="../htmlman3/lInsertElem.html">lInsertElem(3)</A></B>
81
insert a list element into an existing list after a
84
<B><A HREF="../htmlman3/lDechainElem.html">lDechainElem(3)</A></B>
85
dechain a list element from a list, the dechained ele-
88
<B><A HREF="../htmlman3/lFirst.html">lFirst(3)</A></B>
89
get the first list element
91
<B><A HREF="../htmlman3/lLast.html">lLast(3)</A></B>
92
get the last list element
94
<B><A HREF="../htmlman3/lNext.html">lNext(3)</A></B>
95
get the successor of the list element
97
<B><A HREF="../htmlman3/lPrev.html">lPrev(3)</A></B>
98
get the predecessor of the list element
100
<B><A HREF="../htmlman3/lFindFirst.html">lFindFirst(3)</A></B>
101
find the first list element matching specified condi-
104
<B><A HREF="../htmlman3/lFindLast.html">lFindLast(3)</A></B>
105
find the last list element matching specified condi-
108
<B><A HREF="../htmlman3/lFindNext.html">lFindNext(3)</A></B>
109
find the next list element starting at a certain list
110
element matching specified conditions
112
<B><A HREF="../htmlman3/lFindPrev.html">lFindPrev(3)</A></B>
113
find the previous list element starting at a certain
114
list element matching specified conditions
116
<B><A HREF="../htmlman3/lDumpElem.html">lDumpElem(3)</A></B>
117
dump a list element to file
119
<B><A HREF="../htmlman3/lUndumpElem.html">lUndumpElem(3)</A></B>
120
undump a list element from file into memory
122
<B><A HREF="../htmlman3/lWriteElem.html">lWriteElem(3)</A></B>
123
write a list element to stdout
125
<B><A HREF="../htmlman3/lGetPosViaElem.html">lGetPosViaElem(3)</A></B>
126
get the field position of a list element field with
129
FIELD ACCESS FUNCTIONS
130
<B><A HREF="../htmlman3/lGetInt.html">lGetInt(3)</A></B>
132
<B><A HREF="../htmlman3/lGetUlong.html">lGetUlong(3)</A></B>
134
<B><A HREF="../htmlman3/lGetString.html">lGetString(3)</A></B>
136
<B><A HREF="../htmlman3/lGetList.html">lGetList(3)</A></B>
138
<B><A HREF="../htmlman3/lGetFloat.html">lGetFloat(3)</A></B>
140
<B><A HREF="../htmlman3/lGetDouble.html">lGetDouble(3)</A></B>
142
<B><A HREF="../htmlman3/lGetChar.html">lGetChar(3)</A></B>
144
<B><A HREF="../htmlman3/lGetLong.html">lGetLong(3)</A></B>
146
get the value of the specified type from a list element
147
field; the element and the field name are delivered as
150
<B><A HREF="../htmlman3/lSetInt.html">lSetInt(3)</A></B>
152
<B><A HREF="../htmlman3/lSetUlong.html">lSetUlong(3)</A></B>
154
<B><A HREF="../htmlman3/lSetString.html">lSetString(3)</A></B>
156
<B><A HREF="../htmlman3/lSetList.html">lSetList(3)</A></B>
158
<B><A HREF="../htmlman3/lSetFloat.html">lSetFloat(3)</A></B>
160
<B><A HREF="../htmlman3/lSetDouble.html">lSetDouble(3)</A></B>
161
<B><A HREF="../htmlman3/lSetChar.html">lSetChar(3)</A></B>
163
<B><A HREF="../htmlman3/lSetLong.html">lSetLong(3)</A></B>
165
set the value of the specified type in a corresponding
166
list element field; the element, the field name and a
167
new value are delivered as arguments
169
<B><A HREF="../htmlman3/lGetPosInt.html">lGetPosInt(3)</A></B>
171
<B><A HREF="../htmlman3/lGetPosUlong.html">lGetPosUlong(3)</A></B>
173
<B><A HREF="../htmlman3/lGetPosString.html">lGetPosString(3)</A></B>
175
<B><A HREF="../htmlman3/lGetPosList.html">lGetPosList(3)</A></B>
177
<B><A HREF="../htmlman3/lGetPosFloat.html">lGetPosFloat(3)</A></B>
179
<B><A HREF="../htmlman3/lGetPosDouble.html">lGetPosDouble(3)</A></B>
181
<B><A HREF="../htmlman3/lGetPosChar.html">lGetPosChar(3)</A></B>
183
<B><A HREF="../htmlman3/lGetPosLong.html">lGetPosLong(3)</A></B>
185
get the value of the specified type in a corresponding
186
list element field; the element and the field position
187
are delivered as arguments
189
<B><A HREF="../htmlman3/lSetPosInt.html">lSetPosInt(3)</A></B>
191
<B><A HREF="../htmlman3/lSetPosUlong.html">lSetPosUlong(3)</A></B>
193
<B><A HREF="../htmlman3/lSetPosString.html">lSetPosString(3)</A></B>
195
<B><A HREF="../htmlman3/lSetPosList.html">lSetPosList(3)</A></B>
197
<B><A HREF="../htmlman3/lSetPosFloat.html">lSetPosFloat(3)</A></B>
199
<B><A HREF="../htmlman3/lSetPosDouble.html">lSetPosDouble(3)</A></B>
201
<B><A HREF="../htmlman3/lSetPosChar.html">lSetPosChar(3)</A></B>
203
<B><A HREF="../htmlman3/lSetPosLong.html">lSetPosLong(3)</A></B>
205
set the value of the specified type in a corresponding
206
list element field; the element, the field position and
207
the new value are delivered as arguments
209
LIST DESCRIPTOR FUNCTIONS
210
<B><A HREF="../htmlman3/lInit.html">lInit(3)</A></B>
211
initialize the name to string conversion
213
<B><A HREF="../htmlman3/lNm2Str.html">lNm2Str(3)</A></B>
214
convert an int value specifying a field name to its
215
corresponding name string
217
<B><A HREF="../htmlman3/_lNm2Str.html">_lNm2Str(3)</A></B>
218
convert an int value specifying a field name to its
219
corresponding name string using a specified name space
221
<B><A HREF="../htmlman3/lStr2Nm.html">lStr2Nm(3)</A></B>
222
convert a field name to its corresponding field id
224
<B><A HREF="../htmlman3/_lStr2Nm.html">_lStr2Nm(3)</A></B>
225
convert a field name to its corresponding field id
226
using a specified name space
228
<B><A HREF="../htmlman3/lCountDescr.html">lCountDescr(3)</A></B>
229
get the number of fields of a descriptor
231
<B><A HREF="../htmlman3/lGetPosInDescr.html">lGetPosInDescr(3)</A></B>
232
get the position of the field named 'nm' from the
235
<B><A HREF="../htmlman3/lDumpDescr.html">lDumpDescr(3)</A></B>
236
dump a list descriptor to a file
238
<B><A HREF="../htmlman3/lUndumpDescr.html">lUndumpDescr(3)</A></B>
239
undump a list descriptor from a file to memory
241
<B><A HREF="../htmlman3/lWriteDescr.html">lWriteDescr(3)</A></B>
242
write a descriptor to stdout
244
LIST DATABASE FUNCTIONS
245
<B><A HREF="../htmlman3/lSelect.html">lSelect(3)</A></B>
246
select returns a list of elements that match the speci-
249
<B><A HREF="../htmlman3/lSelectDestroy.html">lSelectDestroy(3)</A></B>
250
select reduces a list to those elements matching the
251
specified conditions.
253
<B><A HREF="../htmlman3/lSplit.html">lSplit(3)</A></B>
254
splits a list into two parts. One part contains all
255
elements fulfilling the specified condition the other
256
part contains the elements not fulfilling the condi-
259
<B><A HREF="../htmlman3/lJoinSublist.html">lJoinSublist(3)</A></B>
260
join a specified list with one of its sub-lists; one
261
can specify conditions for the list and the sub-list.
262
The joined list is returned and the original list is
265
<B><A HREF="../htmlman3/lJoin.html">lJoin(3)</A></B>
266
join two lists which fulfill the specified conditions
267
to a new list that contains the enumerated fields. The
268
joined list is returned and the original lists are
271
<B><A HREF="../htmlman3/lWhere.html">lWhere(3)</A></B>
272
build a lCondition data structure which is used as con-
273
dition for various functions as lSelect or lJoin
275
<B><A HREF="../htmlman3/_lWhere.html">_lWhere(3)</A></B>
276
build a lCondition data structure which is used as con-
277
dition for various functions as lSelect or lJoin
279
<B><A HREF="../htmlman3/lOrWhere.html">lOrWhere(3)</A></B>
280
build a lCondition data structure composed of two con-
281
ditions connected by logical or
283
<B><A HREF="../htmlman3/lAndWhere.html">lAndWhere(3)</A></B>
284
build a lCondition data structure composed of two con-
285
ditions connected by logical and
287
<B><A HREF="../htmlman3/lFreeWhere.html">lFreeWhere(3)</A></B>
288
free a lCondition data structure
290
<B><A HREF="../htmlman3/lWriteWhere.html">lWriteWhere(3)</A></B>
291
write a lCondition data structure to stdout
293
<B><A HREF="../htmlman3/lWhat.html">lWhat(3)</A></B>
294
build a lEnumeration data structure which is used to
295
specify the fields that are contained in a newly
298
<B><A HREF="../htmlman3/lFreeWhat.html">lFreeWhat(3)</A></B>
299
free a lEnumeration data structure
301
<B><A HREF="../htmlman3/lWriteWhat.html">lWriteWhat(3)</A></B>
302
write a lEnumeration data structure to stdout
304
<B><A HREF="../htmlman3/lCountWhat.html">lCountWhat(3)</A></B>
305
count the number of fields in a lEnumeration data
309
The following essential data structures are used by the
310
various list library functions.
313
The descriptor contains the information which fields
314
(name, type) are contained in a list.
317
The lList pointer specifies a list created by lCreateL-
318
ist or any of the other functions generating a list.
319
Here the name of the list, a reference to the descrip-
320
tor, the number of contained list elements and a refer-
321
ence to the first and last list element are stored.
323
lListElem *list_element
324
The lListElem pointer is returned on creation of a new
325
list element and contains the actual data.
327
lCondition *conditions
328
The lCondition pointer is a representation of logically
329
connected compare operations. It serves to decide
330
whether it should be operated on a special list ele-
333
lEnumeration *field_enumerations
334
The lEnumeration pointer specifies which fields of a
335
given list element shall be involved in a specified
336
action. It is possible under certain circumstances to
337
specify all fields or no field at all.
339
lSortOrder *sorting_order
340
The lSortOrder pointer is used to specify sorting cri-
341
teria for a generic list. It is possible to declare
342
combined sorting keys.
345
<B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B>.
348
See <B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B> for a full statement of rights and permis-
372
Man(1) output converted with
373
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>