X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Finclude%2Fgnunet_namestore_plugin.h;h=3b603b4c0b3c98103109db87cee8e251cddeb54f;hb=6e626937fd5133188d2bd06f280a1b889219eef2;hp=5ab6ec7065a4cd7b66cab4d15bb008d8953fa53c;hpb=09b6a814e0ddcca0497c5cbf37940c27e6a5d9de;p=oweals%2Fgnunet.git diff --git a/src/include/gnunet_namestore_plugin.h b/src/include/gnunet_namestore_plugin.h index 5ab6ec706..3b603b4c0 100644 --- a/src/include/gnunet_namestore_plugin.h +++ b/src/include/gnunet_namestore_plugin.h @@ -11,9 +11,11 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 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 . + + SPDX-License-Identifier: AGPL3.0-or-later */ /** @@ -45,7 +47,8 @@ extern "C" * Function called for each matching record. * * @param cls closure - * @param serial unique serial number of the record + * @param serial unique serial number of the record, MUST NOT BE ZERO, + * and must be monotonically increasing while iterating * @param zone_key private key of the zone * @param label name that is being mapped (at most 255 characters long) * @param rd_count number of entries in @a rd array @@ -113,7 +116,9 @@ struct GNUNET_NAMESTORE_PluginFunctions * * @param cls closure (internal context for the plugin) * @param zone private key of the zone, NULL for all zones - * @param serial serial (to exclude) in the list of matching records + * @param serial serial (to exclude) in the list of matching records; + * 0 means to exclude nothing; results must be returned using + * the minimum possible sequence number first (ordered by serial) * @param limit maximum number of results to return to @a iter * @param iter function to call with the result * @param iter_cls closure for @a iter