/* Returns the value of a flag set by ident_set_authflag. As with that
function, ident_set_authtype must be called before this function. The
value returned in value points to internal memory and should not be
- manipulated.
+ manipulated. Note that value may be set to NULL if the flag was not set at
+ all (but was recognized as valid).
Returns IDENT_AUTH_OKAY if the flag is valid or IDENT_FLAG_NOT_SUPPORTED if
- it is not a recognized flag or if it isn't set. */
+ it is not a recognized flag. */
extern int ident_get_authflag(char *flag, char **value);
/* Interogates the error string returned from the responder for a given flag
Returns the number of bytes sent to the remote server on success, -1 on
failure. On failure, errno is set. */
+int id_query(ident_t *id, int resp_port, int req_port, struct timeval *timeout,
+ struct ident_auth_client_data *auth_data);
/* Parses the reply to a query sent off by id_query() and returns information
to the locations pointed to by resp_port, req_port, identifier, opsys, and