Skip to content

Document wpa_printf() and wpa_snprintf_hex() - #452

Merged
aloisklink merged 2 commits into
mainfrom
doc/document-wpa-snprintf-hex
Feb 28, 2023
Merged

Document wpa_printf() and wpa_snprintf_hex()#452
aloisklink merged 2 commits into
mainfrom
doc/document-wpa-snprintf-hex

Conversation

@aloisklink

Copy link
Copy Markdown
Contributor

Add documentation for the wpa_printf() and wpa_snprintf_hex() functions in src/radius/common.h, which are used by source code taken from hostap, see:

Source-code taken from the hostap project expects a `wpa_printf`
function/macro that can be used for logging.

Currently, we've hard-coded the function to only use `LOGC_TRACE`,
so we normally won't see any of these messages.
Source-code taken from the hostap project expects a `wpa_snprintf_hex`
function.
@aloisklink aloisklink added the documentation Improvements or additions to documentation label Feb 24, 2023
@aloisklink
aloisklink enabled auto-merge February 24, 2023 10:40
@aloisklink aloisklink mentioned this pull request Feb 24, 2023
@codecov

codecov Bot commented Feb 24, 2023

Copy link
Copy Markdown

Codecov Report

Merging #452 (b2a8c2b) into main (886b8be) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #452      +/-   ##
==========================================
- Coverage   53.18%   53.18%   -0.01%     
==========================================
  Files         144      144              
  Lines       19950    19949       -1     
==========================================
- Hits        10611    10610       -1     
  Misses       9339     9339              
Impacted Files Coverage Δ
src/radius/common.h 48.00% <ø> (ø)
src/utils/os.h 100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mereacre
mereacre self-requested a review February 28, 2023 09:49
@aloisklink
aloisklink added this pull request to the merge queue Feb 28, 2023
Merged via the queue into main with commit 57cea87 Feb 28, 2023
@aloisklink
aloisklink deleted the doc/document-wpa-snprintf-hex branch February 28, 2023 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants