aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-gns-gtk.c')
-rw-r--r--src/gns/gnunet-gns-gtk.c70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/gns/gnunet-gns-gtk.c b/src/gns/gnunet-gns-gtk.c
index 4ece8faa..afd3a90a 100644
--- a/src/gns/gnunet-gns-gtk.c
+++ b/src/gns/gnunet-gns-gtk.c
@@ -27,6 +27,76 @@
27#include "gnunet-gns-gtk.h" 27#include "gnunet-gns-gtk.h"
28#include <gnunet/gnunet_namestore_service.h> 28#include <gnunet/gnunet_namestore_service.h>
29 29
30
31/**
32 * Columns in the gns model.
33 */
34enum GNS_ModelColumns
35 {
36 /**
37 * A gchararray
38 */
39 GNS_MC_NAME = 0,
40
41 /**
42 * A gboolean
43 */
44 GNS_MC_IS_PUBLIC = 1,
45
46 /**
47 * A guint
48 */
49 GNS_MC_RECORD_TYPE = 2,
50
51 /**
52 * A gchararray
53 */
54 GNS_MC_RECORD_TYPE_AS_STRING = 3,
55
56 /**
57 * A guint64
58 */
59 GNS_MC_EXPIRATION_TIME = 4,
60
61 /**
62 * A gboolean
63 */
64 GNS_MC_EXPIRATION_TIME_IS_RELATIVE = 5,
65
66 /**
67 * A gchararray
68 */
69 GNS_MC_EXPIRATION_TIME_AS_STRING = 6,
70
71 /**
72 * A gchararray
73 */
74 GNS_MC_VALUE_AS_STRING = 7,
75
76 /**
77 * A gchararray
78 */
79 GNS_MC_VALUE_COLOR = 8,
80 };
81
82
83/**
84 * Columns in the gns type model.
85 */
86enum GNS_TypeModelColumns
87 {
88 /**
89 * A guint
90 */
91 GNS_TYPE_MC_TYPE = 0,
92
93 /**
94 * A gchararray
95 */
96 GNS_TYPE_MC_TYPENAME = 1,
97 };
98
99
30/** 100/**
31 * Handle to our main loop. 101 * Handle to our main loop.
32 */ 102 */