logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mstl_init - Initializing and freeing MSTraceList structures

Author

       Chad Trabant
       IRIS Data Management Center

Libmseed API                                       2008/11/21                                       MSTL_INIT(3)

Description

mstl_init  will initialize a MSTraceList structure.  If the mstl parameter is not NULL the structure will
       be cleared before being reallocated any  memory  allocated  for  associated  MSTraceID  and  relate  sub-
       structures will be freed.

       mstl_free  will  free  all  memory  associated with a MSTraceList structure and set the structure pointer
       (*ppmstl) to 0.  If the freeprvtptr flag is true any memory pointed to by  the  prvtptr  members  of  the
       MSTraceID or MSTraceSeg structures.

Name

       mstl_init - Initializing and freeing MSTraceList structures

Return Values

mstl_init returns a pointer to the MSTraceList structure initialized on success or NULL on error.

See Also

mstl_addmsr(3).

Synopsis

#include<libmseed.h>MSTrace*mstl_init(MSTrace*mstl);voidmstl_free(MSTrace**ppmstl,flagfreeprvtptr);

See Also