X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fgns%2Fnss%2Fnss_gns_query.h;h=30ba76fd92b087477e216f3aee31ba5831e213b0;hb=557f5487b3e82416ff315989528e2ba6714cc650;hp=48cab4b224ac55b69df9144223fe3bd1abb0b0ae;hpb=061526a35bf19cd71e375ae7eb9dc3b5fd6c711f;p=oweals%2Fgnunet.git diff --git a/src/gns/nss/nss_gns_query.h b/src/gns/nss/nss_gns_query.h index 48cab4b22..30ba76fd9 100644 --- a/src/gns/nss/nss_gns_query.h +++ b/src/gns/nss/nss_gns_query.h @@ -14,6 +14,8 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + + SPDX-License-Identifier: AGPL3.0-or-later */ #ifndef NSS_GNS_QUERY_H #define NSS_GNS_QUERY_H @@ -57,7 +59,10 @@ struct userdata * @param af address family * @param name the name to resolve * @param u the userdata (result struct) - * @return -1 on error else 0 + * @return -1 on internal error, + * -2 if request is not for GNS, + * -3 on timeout, + * else 0 */ int gns_resolve_name(int af,