summaryrefslogtreecommitdiffstats
path: root/rpminfo.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'rpminfo.stub.php')
-rw-r--r--rpminfo.stub.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/rpminfo.stub.php b/rpminfo.stub.php
index aa87215..afaa2fa 100644
--- a/rpminfo.stub.php
+++ b/rpminfo.stub.php
@@ -1,4 +1,17 @@
<?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 */
@@ -13,3 +26,10 @@ function rpminfo(string $path, bool $full = false, ?string &$error = null): Arra
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 {}
+