88 userheader->pattern[0] =
'D';
89 userheader->pattern[1] =
'U';
90 userheader->pattern[2] =
'H';
91 userheader->pattern[3] = 1;
92 userheader->message = mtype;
104 return ((userheader->pattern[0] ==
'D') &&
105 (userheader->pattern[1] ==
'U') &&
106 (userheader->pattern[2] ==
'H') &&
107 (userheader->pattern[3] == 1));
113 uint32_t bytes_written;
121 iov[0].iov_base = ptr1;
122 iov[0].iov_len = len1;
123 iov[1].iov_base = ptr2;
124 iov[1].iov_len = len2;
126 bytes_written = writev(handle, iov, 2);
128 if (bytes_written!=(len1+len2))
139 uint32_t bytes_written;
147 iov[0].iov_base = ptr1;
148 iov[0].iov_len = len1;
149 iov[1].iov_base = ptr2;
150 iov[1].iov_len = len2;
151 iov[2].iov_base = ptr3;
152 iov[2].iov_len = len3;
154 bytes_written = writev(handle, iov, 3);
156 if (bytes_written!=(len1+len2+len3))
DltReturnValue dlt_user_log_out2(int handle, void *ptr1, size_t len1, void *ptr2, size_t len2)
DltReturnValue dlt_user_log_out3(int handle, void *ptr1, size_t len1, void *ptr2, size_t len2, void *ptr3, size_t len3)
int dlt_user_check_userheader(DltUserHeader *userheader)
DltReturnValue dlt_user_set_userheader(DltUserHeader *userheader, uint32_t mtype)