diff options
Diffstat (limited to 'src/include/gnunetgtk_common.h')
-rw-r--r-- | src/include/gnunetgtk_common.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/gnunetgtk_common.h b/src/include/gnunetgtk_common.h index 678a5a71..4125550e 100644 --- a/src/include/gnunetgtk_common.h +++ b/src/include/gnunetgtk_common.h | |||
@@ -98,6 +98,25 @@ GNUNET_GTK_shutdown_logger(); | |||
98 | #define GNUNET_GTK_NOTIFY_LEVEL_NORMAL 1 | 98 | #define GNUNET_GTK_NOTIFY_LEVEL_NORMAL 1 |
99 | #define GNUNET_GTK_NOTIFY_LEVEL_CRITICAL 2 | 99 | #define GNUNET_GTK_NOTIFY_LEVEL_CRITICAL 2 |
100 | 100 | ||
101 | typedef enum | ||
102 | { | ||
103 | GNUNET_GTK_STATUS_NODAEMON, | ||
104 | GNUNET_GTK_STATUS_DISCONNECTED, | ||
105 | GNUNET_GTK_STATUS_CONNECTED, | ||
106 | GNUNET_GTK_STATUS_UNKNOWN | ||
107 | } GNUNET_GTK_STATUS; | ||
108 | |||
109 | /* | ||
110 | * Update the status bar indicator and the status icon | ||
111 | * about daemon and connexions status. | ||
112 | * | ||
113 | * @param status current status of gnunetd | ||
114 | * @param peers number of connected peers (with GNUNET_GTK_STATUS_CONNECTED) | ||
115 | */ | ||
116 | void | ||
117 | GNUNET_GTK_display_daemon_status (GNUNET_GTK_STATUS status, | ||
118 | unsigned long long peers); | ||
119 | |||
101 | /** | 120 | /** |
102 | * Sends a message to libnotify | 121 | * Sends a message to libnotify |
103 | */ | 122 | */ |