Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf4263c

Browse files
committed
Switch position of some declarations in libpq.h
This makes the header more consistent with the surroundings, withdeclarations associated to a given file grouped together.Author: Daniel GustafssonDiscussion:https://postgr.es/m/20190608012439.GB7228@paquier.xyz
1 parentb880e22 commitcf4263c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎src/include/libpq/libpq.h

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ extern const PGDLLIMPORT PQcommMethods *PqCommMethods;
5353
/*
5454
* prototypes for functions in pqcomm.c
5555
*/
56+
externWaitEventSet*FeBeWaitSet;
57+
5658
externintStreamServerPort(intfamily,char*hostName,
5759
unsigned shortportNumber,char*unixSocketDir,
5860
pgsocketListenSocket[],intMaxListen);
@@ -83,6 +85,9 @@ extern char *ssl_crl_file;
8385
externchar*ssl_dh_params_file;
8486
externchar*ssl_passphrase_command;
8587
externboolssl_passphrase_command_supports_reload;
88+
#ifdefUSE_SSL
89+
externboolssl_loaded_verify_locations;
90+
#endif
8691

8792
externintsecure_initialize(boolisServerStart);
8893
externboolsecure_loaded_verify_locations(void);
@@ -93,14 +98,14 @@ extern ssize_t secure_read(Port *port, void *ptr, size_t len);
9398
externssize_tsecure_write(Port*port,void*ptr,size_tlen);
9499
externssize_tsecure_raw_read(Port*port,void*ptr,size_tlen);
95100
externssize_tsecure_raw_write(Port*port,constvoid*ptr,size_tlen);
101+
102+
/*
103+
* prototypes for functions in be-secure-gssapi.c
104+
*/
96105
#ifdefENABLE_GSS
97106
externssize_tsecure_open_gssapi(Port*port);
98107
#endif
99108

100-
externboolssl_loaded_verify_locations;
101-
102-
externWaitEventSet*FeBeWaitSet;
103-
104109
/* GUCs */
105110
externchar*SSLCipherSuites;
106111
externchar*SSLECDHCurve;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp