blob: afaa2fa734aaab75d17611b941fa04a415fbe66b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<?php
/*
+----------------------------------------------------------------------+
| rpminfo extension for PHP |
+----------------------------------------------------------------------+
| SPDX-FileCopyrightText: Copyright (c) Remi Collet <remi@php.net> |
+----------------------------------------------------------------------+
| This source file is subject to the Modified BSD License that is |
| bundled with this package in the file LICENSE, and is available |
| through the WWW at <https://opensource.org/license/BSD-3-Clause>. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
+----------------------------------------------------------------------+
*/
/** @generate-function-entries */
function rpmaddtag(int $rpmtag): bool {}
function rpmdbinfo(string $nevr, bool $full = false): Array|null {}
function rpmdbsearch(string $pattern, int $rpmtag = RPMTAG_NAME, int $rpmmire = -1, bool $full = false): Array|null {}
function rpminfo(string $path, bool $full = false, ?string &$error = null): Array|null {}
function rpmvercmp(string $evr1, string $evr2, ?string $operator = null): int|bool {}
function rpmgetsymlink(string $path, string $name): string|null {}
function rpmexpand(string $text): string {}
function rpmexpandnumeric(string $text): int {}
function rpmdefine(string $macro): bool {}
|