X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fgns%2Fw32resolver.h;h=c73559cf0bdcafb3a8e25c5ee8f28cde8fb9d32d;hb=6485325f72b588c838f8b6d9e12c50c642e493b8;hp=47078ad9d7eaa55a8074600c4c0eb1006e44a7cc;hpb=ec59e6a4f56f68916cf8ec8fefca3282a70d16d2;p=oweals%2Fgnunet.git diff --git a/src/gns/w32resolver.h b/src/gns/w32resolver.h index 47078ad9d..c73559cf0 100644 --- a/src/gns/w32resolver.h +++ b/src/gns/w32resolver.h @@ -1,21 +1,21 @@ /* This file is part of GNUnet. - (C) 2009, 2012 Christian Grothoff (and other contributing authors) + Copyright (C) 2009, 2012 GNUnet e.V. - GNUnet is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 2, or (at your - option) any later version. + GNUnet is free software: you can redistribute it and/or modify it + under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, + or (at your option) any later version. GNUnet is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . - You should have received a copy of the GNU General Public License - along with GNUnet; see the file COPYING. If not, write to the - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. + SPDX-License-Identifier: AGPL3.0-or-later */ /** @@ -25,6 +25,8 @@ #ifndef W32RESOLVER_H #define W32RESOLVER_H +#include "platform.h" +#include "gnunet_crypto_lib.h" #include "gnunet_common.h" /** @@ -60,7 +62,7 @@ struct GNUNET_W32RESOLVER_GetMessage uint32_t sc_data1 GNUNET_PACKED; uint16_t sc_data2 GNUNET_PACKED; uint16_t sc_data3 GNUNET_PACKED; - uint64_t sc_data4 GNUNET_PACKED; + uint8_t sc_data4[8]; /* followed by 0-terminated string for A/AAAA lookup */ };