public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
1fc5d9fd443c7266cb9db070462d2b4caff7e614 blob 488 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright Red Hat
 * Author: David Gibson <david@gibson.dropbear.id.au>
 *
 * Helper functions used by both passt/pasta and pesto (the configuration update
 * client).
 */

#ifndef PESTO_UTIL_H
#define PESTO_UTIL_H

#include <stddef.h>

/* FPRINTF() intentionally silences cert-err33-c clang-tidy warnings */
#define FPRINTF(f, ...)	(void)fprintf(f, __VA_ARGS__)

int read_all_buf(int fd, void *buf, size_t len);

#endif /* PESTO_UTIL_H */
debug log:

solving 1fc5d9fd ...
found 1fc5d9fd in https://archives.passt.top/passt-dev/20260316054629.239002-6-david@gibson.dropbear.id.au/

applying [1/1] https://archives.passt.top/passt-dev/20260316054629.239002-6-david@gibson.dropbear.id.au/
diff --git a/pesto_util.h b/pesto_util.h
new file mode 100644
index 00000000..1fc5d9fd

Checking patch pesto_util.h...
Applied patch pesto_util.h cleanly.

index at:
100644 1fc5d9fd443c7266cb9db070462d2b4caff7e614	pesto_util.h

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).