/
githubmirror
/
pkgconf
Обзор
Документация
Войти
/
githubmirror
/
pkgconf
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
cli/spdxtool/simplelicensing.h
36 строк
927 B
Elizabeth Kiara Regina Ashford
spdxtool: refactor serialization API to signal allocation failure
16 апр 2026, 02:17
16 апр 2026, 02:17
c2dfdc7
Код
Авторство
О чём код?
/* * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2025 The FreeBSD Foundation * * Portions of this software were developed by * Tuukka Pasanen <tuukka.pasanen@ilmi.fi> under sponsorship from * the FreeBSD Foundation */ #include <stdlib.h> #include <string.h> #include "util.h" #ifndef CLI__SPDXTOOL__SIMPLELICENSING_H #define CLI__SPDXTOOL__SIMPLELICENSING_H #ifdef __cplusplus extern "C" { #endif spdxtool_simplelicensing_license_expression_t * spdxtool_simplelicensing_licenseExpression_new(pkgconf_client_t *client, const char *license); void spdxtool_simplelicensing_licenseExpression_free(spdxtool_simplelicensing_license_expression_t *expression); spdxtool_serialize_value_t * spdxtool_simplelicensing_licenseExpression_to_object(pkgconf_client_t *client, const char *creation_info, const spdxtool_simplelicensing_license_expression_t *expression); #ifdef __cplusplus } #endif #endif