Searched defs:header (Results 1 - 18 of 18) sorted by relevance

/systemd/src/journal-remote/
H A Djournal-upload.h30 struct curl_slist *header; member in struct:Uploader
H A Djournal-gatewayd.c265 const char *header; local
270 header = MHD_lookup_connection_value(connection, MHD_HEADER_KIND, "Accept");
271 if (!header)
274 if (streq(header, mime_types[OUTPUT_JSON]))
276 else if (streq(header, mime_types[OUTPUT_JSON_SSE]))
278 else if (streq(header, mime_types[OUTPUT_EXPORT]))
475 return mhd_respond(connection, MHD_HTTP_BAD_REQUEST, "Failed to parse Accept header.\n");
478 return mhd_respond(connection, MHD_HTTP_BAD_REQUEST, "Failed to parse Range header.\n");
633 return mhd_respond(connection, MHD_HTTP_BAD_REQUEST, "Failed to parse Accept header.\n");
H A Djournal-remote.c567 const char *header; local
591 header = MHD_lookup_connection_value(connection,
593 if (!header || !streq(header, "application/vnd.fdo.journal"))
/systemd/src/resolve/
H A Dresolved-dns-stream.c67 struct cmsghdr header; /* For alignment */ member in union:__anon249
H A Dresolved-manager.c611 struct cmsghdr header; /* For alignment */ member in union:__anon251
804 struct cmsghdr header; /* For alignment */ member in union:__anon252
853 struct cmsghdr header; /* For alignment */ member in union:__anon253
/systemd/src/boot/efi/
H A Dlinux.c32 UINT32 header; member in struct:SetupHeader
94 if (image_setup->signature != 0xAA55 || image_setup->header != SETUP_MAGIC)
/systemd/src/journal/
H A Djournal-send.c400 char *header; local
424 header = alloca(l + 1 + 1 + 2 + 2 + 2 + 2 + 2);
426 memcpy(header, identifier, l);
427 header[l++] = '\n';
428 header[l++] = '\n'; /* unit id */
429 header[l++] = '0' + priority;
430 header[l++] = '\n';
431 header[l++] = '0' + !!level_prefix;
432 header[l++] = '\n';
433 header[
[all...]
H A Djournal-file.h89 Header *header; member in struct:JournalFile
H A Djournald-audit.c476 struct nlmsghdr header; member in union:__anon98::__anon99
481 .header.nlmsg_len = NLMSG_LENGTH(sizeof(struct audit_status)),
482 .header.nlmsg_type = AUDIT_SET,
483 .header.nlmsg_flags = NLM_F_REQUEST,
484 .header.nlmsg_seq = 1,
485 .header.nlmsg_pid = 0,
H A Dcatalog.c394 CatalogHeader header; local
413 zero(header);
414 memcpy(header.signature, CATALOG_SIGNATURE, sizeof(header.signature));
415 header.header_size = htole64(ALIGN_TO(sizeof(CatalogHeader), 8));
416 header.catalog_item_size = htole64(sizeof(CatalogItem));
417 header.n_items = htole64(n);
421 k = fwrite(&header, 1, sizeof(header), w);
422 if (k != sizeof(header)) {
667 find_header(const char *s, const char *header) argument
[all...]
/systemd/src/import/
H A Dqcow2-util.c63 #define HEADER_MAGIC(header) be32toh((header)->magic)
64 #define HEADER_VERSION(header) be32toh((header)->version)
65 #define HEADER_CLUSTER_BITS(header) be32toh((header)->cluster_bits)
66 #define HEADER_CLUSTER_SIZE(header) (1ULL << HEADER_CLUSTER_BITS(header))
67 #define HEADER_L2_BITS(header) (HEADER_CLUSTER_BITS(header)
164 normalize_offset( const Header *header, uint64_t p, uint64_t *ret, bool *compressed, uint64_t *compressed_size) argument
210 verify_header(const Header *header) argument
251 Header header; local
[all...]
/systemd/src/libsystemd/sd-bus/
H A Dbus-message.h101 struct bus_header *header; member in struct:sd_bus_message
151 return m->header->endian != BUS_NATIVE_ENDIAN;
167 if (m->header->version == 2)
168 return BUS_MESSAGE_BSWAP64(m, m->header->dbus2.cookie);
170 return BUS_MESSAGE_BSWAP32(m, m->header->dbus1.serial);
187 return (uint8_t*) m->header + sizeof(struct bus_header);
191 return m->header->version == 2;
200 void *header,
H A Dbus-kernel.c207 bloom_add_pair(data, m->bus->bloom_size, m->bus->bloom_n_hash, "message-type", bus_message_type_to_string(m->header->type));
307 /* Add in fixed header, fields header and payload */
317 /* Add in well-known destination header */
337 ((m->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED) ? 0 : KDBUS_MSG_EXPECT_REPLY) |
338 ((m->header->flags & BUS_MESSAGE_NO_AUTO_START) ? KDBUS_MSG_NO_AUTO_START : 0) |
339 ((m->header->type == SD_BUS_MESSAGE_SIGNAL) ? KDBUS_MSG_SIGNAL : 0);
343 m->kdbus->cookie = m->header->dbus2.cookie;
346 if (m->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED)
361 append_payload_vec(&d, m->header, BUS_MESSAGE_BODY_BEGI
445 struct bus_header *header = NULL; local
[all...]
H A Dbus-message.c128 free(m->header);
177 return (uint8_t*) m->header + old_size;
180 np = realloc(m->header, ALIGN8(new_size));
184 /* Initially, the header is allocated as part of of
192 memcpy(np, m->header, sizeof(struct bus_header));
199 op = m->header;
200 m->header = np;
204 m->path = adjust_pointer(m->path, op, old_size, m->header);
205 m->interface = adjust_pointer(m->interface, op, old_size, m->header);
206 m->member = adjust_pointer(m->member, op, old_size, m->header);
426 bus_message_from_header( sd_bus *bus, void *header, size_t header_accessible, void *footer, size_t footer_accessible, size_t message_size, int *fds, unsigned n_fds, const char *label, size_t extra, sd_bus_message **ret) argument
[all...]
/systemd/src/shared/
H A Defivars.c355 struct boot_option *header; local
368 header = (struct boot_option *)buf;
369 title_size = utf16_size(header->title);
374 s = utf16_to_utf8(header->title, title_size);
379 if (header->path_len > 0) {
385 while (dnext < header->path_len) {
437 *active = !!(header->attr & LOAD_OPTION_ACTIVE);
496 /* header */
/systemd/src/basic/
H A Dlog.c483 char *header,
490 snprintf(header, size,
531 char header[LINE_MAX]; local
538 log_do_header(header, sizeof(header), level, error, file, line, func, object_field, object);
540 IOVEC_SET_STRING(iovec[0], header);
881 char header[LINE_MAX]; local
891 log_do_header(header, sizeof(header), level, error, file, line, func, NULL, NULL);
892 IOVEC_SET_STRING(iovec[n++], header);
482 log_do_header( char *header, size_t size, int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object) argument
[all...]
/systemd/src/udev/cdrom_id/
H A Dcdrom_id.c488 unsigned char header[32]; local
492 scsi_cmd_set(udev, &sc, 8, sizeof(header));
494 err = scsi_cmd_run(udev, &sc, fd, header, sizeof(header));
511 if (header[2] & 16) {
514 } else if ((header[2] & 3) < 2 && cd_cd_r) {
616 unsigned char header[32]; local
627 scsi_cmd_set(udev, &sc, 8, sizeof(header) & 0xff);
629 err = scsi_cmd_run(udev, &sc, fd, header, sizeof(header));
769 unsigned char header[12]; local
[all...]
/systemd/src/libsystemd/sd-resolve/
H A Dsd-resolve.c123 struct RHeader header; member in struct:AddrInfoRequest
133 struct RHeader header; member in struct:AddrInfoResponse
151 struct RHeader header; member in struct:NameInfoRequest
158 struct RHeader header; member in struct:NameInfoResponse
237 .header.type = RESPONSE_ADDRINFO,
238 .header.id = id,
239 .header.length = sizeof(AddrInfoResponse),
259 p = serialize_addrinfo(p, k, &resp.header.length, (uint8_t*) &buffer + BUFSIZE - (uint8_t*) p);
271 iov[1] = (struct iovec) { .iov_base = &buffer, .iov_len = resp.header.length - sizeof(AddrInfoResponse) };
292 .header
[all...]

Completed in 53 milliseconds