diff options
author | Florian Dold <florian.dold@gmail.com> | 2014-02-11 11:16:15 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2014-02-11 11:16:15 +0000 |
commit | f3279afd44bea2c4264dbec468a186ff11878071 (patch) | |
tree | 52a911d18e62b0e41a8b68c128e0e7714bd9e8f1 /src/main/java/org/gnunet/gns/RecordFlags.java | |
parent | 039e930a3b14781520843cf7d178aa0118953e2c (diff) | |
download | gnunet-java-f3279afd44bea2c4264dbec468a186ff11878071.tar.gz gnunet-java-f3279afd44bea2c4264dbec468a186ff11878071.zip |
- missing GNS classes
Diffstat (limited to 'src/main/java/org/gnunet/gns/RecordFlags.java')
-rw-r--r-- | src/main/java/org/gnunet/gns/RecordFlags.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/main/java/org/gnunet/gns/RecordFlags.java b/src/main/java/org/gnunet/gns/RecordFlags.java new file mode 100644 index 0000000..58a9141 --- /dev/null +++ b/src/main/java/org/gnunet/gns/RecordFlags.java | |||
@@ -0,0 +1,48 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | (C) 2014 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | 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 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | package org.gnunet.gns; | ||
22 | |||
23 | |||
24 | public interface RecordFlags { | ||
25 | /** | ||
26 | * No special options. | ||
27 | */ | ||
28 | public static final int NONE = 0; | ||
29 | /** | ||
30 | * No special options. | ||
31 | */ | ||
32 | public static final int PRIVATE = 2; | ||
33 | /** | ||
34 | * This record was added automatically by the system | ||
35 | * and is pending user confimation. | ||
36 | */ | ||
37 | public static final int PENDING = 4; | ||
38 | /** | ||
39 | * This expiration time of the record is a relative | ||
40 | * time (not an absolute time). | ||
41 | */ | ||
42 | public static final int EXPIRATION = 8; | ||
43 | /** | ||
44 | * This record should not be used unless all (other) records with an absolute | ||
45 | * expiration time have expired. | ||
46 | */ | ||
47 | public static final int SHADOW_RECORD = 16; | ||
48 | } | ||