HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

src/import/pull-oci.h

Git blob: 4cf02b97e9189100227d5c59fa2d8ded29111ae0

Lines 1–13 of 13

/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
 
#include "import-common.h"
#include "pull-forward.h"
 
int oci_pull_new(OciPull **ret, sd_event *event, const char *image_root, OciPullFinished on_finished, void *userdata);
OciPull* oci_pull_unref(OciPull *i);
 
DEFINE_TRIVIAL_CLEANUP_FUNC(OciPull*, oci_pull_unref);
 
int oci_pull_start(OciPull *i, const char *ref, const char *local, ImportFlags flags);