]> eyrie.org Git - kerberos/sident.git/commitdiff
The prototype for id_query was missing somehow. Update the documentation
authorRuss Allbery <rra@stanford.edu>
Thu, 17 Jun 2004 01:26:49 +0000 (01:26 +0000)
committerRuss Allbery <rra@stanford.edu>
Thu, 17 Jun 2004 01:26:49 +0000 (01:26 +0000)
for ident_getauthflag.

include/sident.h

index f17edf6b15ad011f739c2c95e5f0662120f040e5..7daca80834acc6fe605a2eb380a71bef6ee8cf2b 100644 (file)
@@ -223,10 +223,11 @@ extern int ident_set_authflag(char *flag, char *value);
 /* 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
@@ -286,6 +287,8 @@ extern int id_close(ident_t *id);
 
    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