projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git+ssh://gnunet.org/gnunet
[oweals/gnunet.git]
/
src
/
gns
/
nss
/
nss_gns_query.h
diff --git
a/src/gns/nss/nss_gns_query.h
b/src/gns/nss/nss_gns_query.h
index 48cab4b224ac55b69df9144223fe3bd1abb0b0ae..30ba76fd92b087477e216f3aee31ba5831e213b0 100644
(file)
--- 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 <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ SPDX-License-Identifier: AGPL3.0-or-later
*/
#ifndef NSS_GNS_QUERY_H
#define NSS_GNS_QUERY_H
*/
#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)
* @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,
*/
int
gns_resolve_name(int af,