- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
14
lld_blob.h
14
lld_blob.h
@ -17,7 +17,7 @@
|
||||
|
||||
/* ---- LL blob system management and maintenance --------------------- */
|
||||
|
||||
int LLDblobCreate( void );
|
||||
int LLDblobCreate(void);
|
||||
/* returns list number to use or -1 on failure. */
|
||||
/* MUST be called before using a list of blobs. */
|
||||
int LLDdeleteBlob(int List);
|
||||
@ -26,20 +26,20 @@ int LLDdeleteBlob(int List);
|
||||
Functions changing current node pointer to the new node.
|
||||
A return value of -1 indicates a memory allocation problem.
|
||||
*/
|
||||
int LLDblobInsert( int List, void * Source, unsigned Size );
|
||||
int LLDblobInsert(int List, void *Source, unsigned Size);
|
||||
/* insert BEFORE current node */
|
||||
int LLDblobAdd( int List, void * Source, unsigned Size );
|
||||
int LLDblobAdd(int List, void *Source, unsigned Size);
|
||||
/* insert AFTER current node */
|
||||
|
||||
/* Functions NOT changing the current node pointer.
|
||||
Especially intended for implementation of Queue's and Stacks.
|
||||
*/
|
||||
int LLDblobPrepend( int List, void * Source, unsigned Size );
|
||||
int LLDblobPrepend(int List, void *Source, unsigned Size);
|
||||
/* insert as first node */
|
||||
int LLDblobAppend( int List, void * Source, unsigned Size );
|
||||
int LLDblobAppend(int List, void *Source, unsigned Size);
|
||||
/* insert as last node */
|
||||
|
||||
void LLDblobDelete( int List );
|
||||
void LLDblobDelete(int List);
|
||||
/* remove current node and free() the data. */
|
||||
/* current node ptr moved to next node. UNLESS the deleted node */
|
||||
/* was the last node: then current ptr moved to previous node */
|
||||
@ -49,6 +49,6 @@ void LLDblobDelete( int List );
|
||||
The data is transferred to Destination.
|
||||
If 'Destination' is NULL, the only action is returning the size.
|
||||
*/
|
||||
unsigned LLDblobData( int List, void * Destination );
|
||||
unsigned LLDblobData(int List, void *Destination);
|
||||
|
||||
/* ==== LLD_BLOB.h end =============================================== */
|
||||
|
Reference in New Issue
Block a user