summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorMatthias Gerstner <matthias.gerstner@suse.de>2022-10-27 12:32:47 +0200
committerDaniel Wagner <wagi@monom.org>2022-11-03 08:10:27 +0100
commit208c213fdded129ea39c421e90df217cf15078db (patch)
treea064b1dbf4d0d8fe63b5c523c77475aee206eef7 /INSTALL
parent05394a85e0298bafa7d1c6fe64582330f82f0121 (diff)
downloadconnman-208c213fdded129ea39c421e90df217cf15078db.tar.gz
dnsproxy: first bits of refactoring data types, global variables, simpler functions
- move all type declarations to the top of the unit to have them all in one place, same for global variables - introduce enums for having more descriptive identifiers for some of the DNS header constants - remove unnecessary zero initializations for global variables - move variable declarations into more local scopes where possible (e.g. in for loops). Shorter lifetimes of variables can make the code more easy to follow. - avoid some repetitive code sequences like `cache_free_ipv4()` by moving them into separate functions - use const variables in parameters where possible to make certain guarantees of function calls more clear and avoid erroneous assignments.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions