curl/docs/examples/.checksrc
Viktor Szakats 5e74b2df34
REUSE: move copyright headers to .checksrc
To make it simpler to move them around, create and delete them without
syncing with `REUSE.toml`.

Also:
- checksrc: allow empty lines in `.checksrc`.
- comment on why curl printfs are disallowed in examples.

Closes #19024
2025-10-13 11:54:22 +02:00

27 lines
549 B
Text

# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl
allowfunc fclose
allowfunc fdopen
allowfunc fopen
allowfunc fprintf
allowfunc gmtime
allowfunc localtime
allowfunc open
allowfunc printf
allowfunc snprintf
allowfunc socket
allowfunc sscanf
allowfunc strerror
allowfunc vsnprintf
# Use of curl printf functions is discouraged
banfunc curl_maprintf
banfunc curl_mfprintf
banfunc curl_mprintf
banfunc curl_msnprintf
banfunc curl_mvaprintf
banfunc curl_mvfprintf
banfunc curl_mvprintf
banfunc curl_mvsnprintf