Skip to content

Commit

Permalink
add missing header
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Jan 21, 2025
1 parent dd6b6c8 commit 0044ce0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions libpkg/private/add.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*-
* Copyright (c) 2024-2025 Baptiste Daroussin <[email protected]>
*
* SPDX-License-Identifier: BSD-2-Clause
*/

#pragma once

#include <private/pkg.h>

struct pkg_add_context {
int rootfd;
c_charv_t *symlinks_allowed;
struct pkgdb *db;
struct pkg *pkg;
};

struct tempdir *open_tempdir(struct pkg_add_context *, const char *path);

0 comments on commit 0044ce0

Please sign in to comment.