postgresql/src/common
Andres Freund 0ba99c84e8 Replace most usages of ntoh[ls] and hton[sl] with pg_bswap.h.
All postgres internal usages are replaced, it's just libpq example
usages that haven't been converted. External users of libpq can't
generally rely on including postgres internal headers.

Note that this includes replacing open-coded byte swapping of 64bit
integers (using two 32 bit swaps) with a single 64bit swap.

Where it looked applicable, I have removed netinet/in.h and
arpa/inet.h usage, which previously provided the relevant
functionality. It's perfectly possible that I missed other reasons for
including those, the buildfarm will tell.

Author: Andres Freund
Discussion: https://postgr.es/m/20170927172019.gheidqy6xvlxb325@alap3.anarazel.de
2017-10-01 15:36:14 -07:00
..
unicode Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
base64.c Fix comments in SCRAM-SHA-256 patch. 2017-03-07 15:24:27 +02:00
config_info.c Change pg_ctl to detect server-ready by watching status in postmaster.pid. 2017-06-28 17:31:32 -04:00
controldata_utils.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
exec.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
fe_memutils.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
file_utils.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
ip.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
keywords.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
Makefile Use SASLprep to normalize passwords for SCRAM authentication. 2017-04-07 14:56:05 +03:00
md5.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pg_lzcompress.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pgfnames.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
psprintf.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
relpath.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
restricted_token.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
rmtree.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
saslprep.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
scram-common.c Replace most usages of ntoh[ls] and hton[sl] with pg_bswap.h. 2017-10-01 15:36:14 -07:00
sha2.c Update copyright in recently added files 2017-07-26 18:17:18 -04:00
sha2_openssl.c Update copyright in recently added files 2017-07-26 18:17:18 -04:00
string.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
unicode_norm.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
username.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
wait_error.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00