GNUnet  0.20.0
gnu_name_system_record_flags.h
Go to the documentation of this file.
1 /*
2  This file is part of GNUnet
3  Copyright (C) 2012-2022 GNUnet e.V.
4 
5  GNUnet is free software: you can redistribute it and/or modify it
6  under the terms of the GNU Affero General Public License as published
7  by the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  GNUnet is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Affero General Public License for more details.
14 
15  You should have received a copy of the GNU Affero General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18  SPDX-License-Identifier: AGPL3.0-or-later
19  */
20 #ifndef GNU_NAME_SYSTEM_RECORD_FLAGS_H
21 #define GNU_NAME_SYSTEM_RECORD_FLAGS_H
22 
45 {
50 
51 
55  GNUNET_GNSRECORD_RF_CRITICAL = 1 << (15 - 15),
56 
57 
61  GNUNET_GNSRECORD_RF_SHADOW = 1 << (15 - 14),
62 
63 
68 
69 
74 
75 
79  GNUNET_GNSRECORD_RF_PRIVATE = 1 << (15 - 0),
80 
81 };
82 
83 #if 0 /* keep Emacsens' auto-indent happy */
84 {
85 #endif
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif
GNUNET_GNSRECORD_Flags
Flags that can be set for a record.
@ GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION
This expiration time of the record is a relative time (not an absolute time).
@ GNUNET_GNSRECORD_RF_CRITICAL
This record is critical.
@ GNUNET_GNSRECORD_RF_SUPPLEMENTAL
This is a supplemental record.
@ GNUNET_GNSRECORD_RF_SHADOW
This record should not be used unless all (other) records in the set with an absolute expiration time...
@ GNUNET_GNSRECORD_RF_PRIVATE
This is a private record of this peer and it should thus not be published.
@ GNUNET_GNSRECORD_RF_NONE
Entry for no flags / cleared flags.