Lines Matching refs:txt
115 static void txt_record_server_data(pa_core *c, TXTRecordRef *txt) {
121 TXTRecordSetValue(txt, "server-version", strlen(PACKAGE_NAME" "PACKAGE_VERSION), PACKAGE_NAME" "PACKAGE_VERSION);
124 TXTRecordSetValue(txt, "user-name", strlen(t), t);
128 TXTRecordSetValue(txt, "machine-id", strlen(t), t);
132 TXTRecordSetValue(txt, "uname", strlen(t), t);
136 TXTRecordSetValue(txt, "fqdn", strlen(t), t);
139 TXTRecordSetValue(txt, "cookie", strlen(s), s);
193 TXTRecordRef txt;
215 TXTRecordCreate(&txt, 0, NULL);
217 txt_record_server_data(s->userdata->core, &txt);
220 TXTRecordSetValue(&txt, "device", strlen(name), name);
223 TXTRecordSetValue(&txt, "rate", strlen(tmp), tmp);
226 TXTRecordSetValue(&txt, "channels", strlen(tmp), tmp);
229 TXTRecordSetValue(&txt, "format", strlen(t), t);
232 TXTRecordSetValue(&txt, "channel_map", strlen(t), t);
235 TXTRecordSetValue(&txt, "subtype", strlen(t), t);
238 TXTRecordSetValue(&txt, "description", strlen(t), t);
240 TXTRecordSetValue(&txt, "icon-name", strlen(t), t);
242 TXTRecordSetValue(&txt, "vendor-name", strlen(t), t);
244 TXTRecordSetValue(&txt, "product-name", strlen(t), t);
246 TXTRecordSetValue(&txt, "class", strlen(t), t);
248 TXTRecordSetValue(&txt, "form-factor", strlen(t), t);
258 TXTRecordGetLength(&txt),
259 TXTRecordGetBytesPtr(&txt),
276 TXTRecordDeallocate(&txt);
365 TXTRecordRef txt;
374 TXTRecordCreate(&txt, 0, NULL);
375 txt_record_server_data(u->core, &txt);
385 TXTRecordGetLength(&txt),
386 TXTRecordGetBytesPtr(&txt),
394 TXTRecordDeallocate(&txt);