3652872add
Let's allow passing in creds to containers, so that PID 1 inside the container can pick them up.
13 lines
236 B
C
13 lines
236 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
#include <sys/types.h>
|
|
|
|
typedef struct Credential {
|
|
char *id;
|
|
void *data;
|
|
size_t size;
|
|
} Credential;
|
|
|
|
void credential_free_all(Credential *creds, size_t n);
|