func (m *MSRecord) SrcName(quality int8) string { csrcname := C.CString("NN_SSSSS_LL_CHA_Q_0") defer C.free(unsafe.Pointer(csrcname)) C.msr_srcname((*_Ctype_struct_MSRecord_s)(m), csrcname, C.flag(quality)) return C.GoString(csrcname) }
func (m *MSRecord) Unpack(buf []byte, maxlen int, dataflag int, verbose int) { C.msr_unpack(((*C.char)(unsafe.Pointer(&buf[0]))), C.int(maxlen), (**_Ctype_struct_MSRecord_s)((unsafe.Pointer)(&m)), C.flag(dataflag), C.flag(verbose)) }
func (g *MSTraceGroup) PrintTraceList(timeformat int, details int, gaps int) { C.mst_printtracelist((*_Ctype_struct_MSTraceGroup_s)(g), C.flag(timeformat), C.flag(details), C.flag(gaps)) }
func (m *MSRecord) Print(details int8) { C.msr_print((*_Ctype_struct_MSRecord_s)(m), C.flag(details)) }
func (g *MSTraceGroup) AddMSRtoGroup(m *MSRecord, dataquality int, timetol float64, sampratetol float64) { C.mst_addmsrtogroup((*_Ctype_struct_MSTraceGroup_s)(g), (*_Ctype_struct_MSRecord_s)(m), C.flag(dataquality), C.double(timetol), C.double(sampratetol)) }