-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7700 from garazdawi/lukas/inets/add-callback-attr…
…ibutes/OTP-18786/OTP-18787/OTP-18788 Add callback attributes to tftp, inets and ssl
- Loading branch information
Showing
11 changed files
with
198 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!DOCTYPE erlref SYSTEM "erlref.dtd"> | ||
|
||
<erlref> | ||
<header> | ||
<copyright> | ||
<year>2023</year><year>2023</year> | ||
<holder>Ericsson AB. All Rights Reserved.</holder> | ||
</copyright> | ||
<legalnotice> | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
|
||
</legalnotice> | ||
|
||
<title>tftp_logger</title> | ||
<prepared></prepared> | ||
<docno></docno> | ||
<date></date> | ||
<rev></rev> | ||
</header> | ||
<module since="OTP 18.1">tftp_logger</module> | ||
<modulesummary>Trivial FTP logger.</modulesummary> | ||
<description> | ||
<p>A <c>tftp_logger</c> callback module is to be implemented as a | ||
<c>tftp_logger</c> behavior and export the following functions:</p> | ||
</description> | ||
|
||
<funcs> | ||
<func> | ||
<name since="OTP 18.1">Module:error_msg(Format, Data) -> ok</name> | ||
<fsummary>Logs an error message.</fsummary> | ||
<type> | ||
<v>Format = string()</v> | ||
<v>Data = [term()]</v> | ||
<v>Reason = term()</v> | ||
</type> | ||
<desc> | ||
<p>Logs an error message. | ||
See <seemfa marker="kernel:error_logger#error_msg/2"> | ||
<c>error_logger:error_msg/2</c></seemfa> for details.</p> | ||
</desc> | ||
</func> | ||
|
||
<func> | ||
<name since="OTP 18.1">Module:info_msg(Format, Data) -> ok</name> | ||
<fsummary>Logs an info message.</fsummary> | ||
<type> | ||
<v>Format = string()</v> | ||
<v>Data = [term()]</v> | ||
<v>Reason = term()</v> | ||
</type> | ||
<desc> | ||
<p>Logs an info message. | ||
See <seemfa marker="kernel:error_logger#info_msg/2"> | ||
<c>error_logger:info_msg/2</c></seemfa> for details.</p> | ||
</desc> | ||
</func> | ||
|
||
<func> | ||
<name since="OTP 18.1">Module:warning_msg(Format, Data) -> ok</name> | ||
<fsummary>Logs a warning message.</fsummary> | ||
<type> | ||
<v>Format = string()</v> | ||
<v>Data = [term()]</v> | ||
<v>Reason = term()</v> | ||
</type> | ||
<desc> | ||
<p>Logs a warning message. | ||
See <seemfa marker="kernel:error_logger#warning_msg/2"> | ||
<c>error_logger:warning_msg/2</c></seemfa> for details.</p> | ||
</desc> | ||
</func> | ||
</funcs> | ||
</erlref> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters