Split definitions for md5.c out of crypt.h and into their own header
Tom Lane <tgl@sss.pgh.pa.us>
Split definitions for md5.c out of crypt.h and into their own header libpq/md5.h, so that there's a clear separation between backend-only definitions and shared frontend/backend definitions. (Turns out this is reversing a bad decision from some years ago...) Fix up references to crypt.h as needed. I looked into moving the code into src/port, but the headers in src/include/libpq are sufficiently intertwined that it seems more work than it's worth to do that.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/user.c | modified | +2 −2 |
| src/backend/libpq/crypt.c | modified | +2 −1 |
| src/backend/libpq/hba.c | modified | +1 −2 |
| src/backend/libpq/ip.c | modified | +1 −2 |
| src/backend/libpq/md5.c | modified | +3 −3 |
| src/backend/utils/adt/varlena.c | modified | +2 −2 |
| src/include/libpq/crypt.h | modified | +1 −13 |
| src/include/libpq/ip.h | modified | +4 −1 |
| src/include/libpq/md5.h | added | +29 −0 |
| src/interfaces/libpq/fe-auth.c | modified | +2 −2 |