aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth-sasl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/libpq/fe-auth-sasl.h')
-rw-r--r--src/interfaces/libpq/fe-auth-sasl.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/interfaces/libpq/fe-auth-sasl.h b/src/interfaces/libpq/fe-auth-sasl.h
index 0aec588a9eb..3d7ee576f2a 100644
--- a/src/interfaces/libpq/fe-auth-sasl.h
+++ b/src/interfaces/libpq/fe-auth-sasl.h
@@ -78,11 +78,12 @@ typedef struct pg_fe_sasl_mech
* Output parameters, to be set by the callback function:
*
* output: A malloc'd buffer containing the client's response to
- * the server, or NULL if the exchange should be aborted.
- * (*success should be set to false in the latter case.)
+ * the server (can be empty), or NULL if the exchange should
+ * be aborted. (*success should be set to false in the
+ * latter case.)
*
- * outputlen: The length of the client response buffer, or zero if no
- * data should be sent due to an exchange failure
+ * outputlen: The length (0 or higher) of the client response buffer,
+ * ignored if output is NULL.
*
* done: Set to true if the SASL exchange should not continue,
* because the exchange is either complete or failed