1MSTL_INIT(3) Library Functions Manual MSTL_INIT(3)
2
3
4
6 mstl_init - Initializing and freeing MSTraceList structures
7
8
10 #include <libmseed.h>
11
12 MSTrace *mstl_init ( MSTrace *mstl );
13
14 void mstl_free ( MSTrace **ppmstl, flag freeprvtptr );
15
16
18 mstl_init will initialize a MSTraceList structure. If the mstl parameā
19 ter is not NULL the structure will be cleared before being reallocated
20 any memory allocated for associated MSTraceID and relate sub-structures
21 will be freed.
22
23 mstl_free will free all memory associated with a MSTraceList structure
24 and set the structure pointer (*ppmstl) to 0. If the freeprvtptr flag
25 is true any memory pointed to by the prvtptr members of the MSTraceID
26 or MSTraceSeg structures.
27
28
30 mstl_init returns a pointer to the MSTraceList structure initialized on
31 success or NULL on error.
32
33
35 mstl_addmsr(3).
36
37
39 Chad Trabant
40 IRIS Data Management Center
41
42
43
44Libmseed API 2008/11/21 MSTL_INIT(3)