Files
s390-tools/pvattest/src/common.h
Marc Hartmayer 2ee1387f34 libpv/genprotimg/pvattest: use glib/gi18n.h
Replace `<glib/gi18n-lib.h>` with `<glib/gi18n.h>` since `<glib/gi18n-lib.h>` should only be used
for libraries (see https://docs.gtk.org/glib/i18n.html).

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2022-11-03 17:45:38 +01:00

38 lines
865 B
C

/*
* Common functions for pvattest.
*
* IBM Corp. 2022
*
* s390-tools is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef PVATTEST_COMMON_H
#define PVATTEST_COMMON_H
/* Must be included before any other header */
#include "config.h"
#include <glib/gi18n.h>
#include <stdio.h>
#include "libpv/glib-helper.h"
#include "libpv/macros.h"
#include "lib/zt_common.h"
#include "types.h"
#define COPYRIGHT_NOTICE "Copyright IBM Corp. 2022"
#define AES_256_GCM_TAG_SIZE 16
gboolean wrapped_g_file_set_content(const char *filename, GBytes *bytes, mode_t mode,
GError **error);
/**
* just ref's up if one of them is NULL.
* If both NULL returns NULL.
* Otherwise returns lh ++ rh
*/
GBytes *secure_gbytes_concat(GBytes *lh, GBytes *rh);
#endif /* PVATTEST_COMMON_H */