*** empty log message ***
This commit is contained in:
15
lld_blob.c
15
lld_blob.c
@ -28,6 +28,21 @@ int LLDblobCreate( void )
|
||||
return LLDcreate( sizeof( struct BlobDesc ));
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
int LLDdeleteBlob(int List)
|
||||
{
|
||||
struct BlobDesc Blob ;
|
||||
int status;
|
||||
|
||||
status = LLDnodePtr2First(List);
|
||||
while(status == 1){
|
||||
LLDnodeDataTo( List, & Blob );
|
||||
free(Blob.data);
|
||||
status = LLDnodePtr2Next(List);
|
||||
}
|
||||
LLDdelete(List);
|
||||
return 1;
|
||||
}
|
||||
/* ---- LL blob node mangement ---------------------------------------- */
|
||||
|
||||
int LLDblobInsert( int List, void * Source, unsigned Size )
|
||||
|
Reference in New Issue
Block a user