projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving files, first attempt at gcrypt compatibility, more interface
[tinc]
/
src
/
pokey
/
interface.h
diff --git
a/src/pokey/interface.h
b/src/pokey/interface.h
index
199ca51
..
3720b22
100644
(file)
--- a/
src/pokey/interface.h
+++ b/
src/pokey/interface.h
@@
-17,17
+17,21
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: interface.h,v 1.
1 2002/04/11 14:23:5
6 zarq Exp $
+ $Id: interface.h,v 1.
2 2002/04/28 12:46:2
6 zarq Exp $
*/
#ifndef __TINC_INTERFACE_H__
#define __TINC_INTERFACE_H__
#include <gtk/gtk.h>
*/
#ifndef __TINC_INTERFACE_H__
#define __TINC_INTERFACE_H__
#include <gtk/gtk.h>
+#include <glade/glade.h>
+#include <libgnomeui/gnome-canvas.h>
#include "node.h"
#include "edge.h"
#include "node.h"
#include "edge.h"
+#define INTERFACE_FILE "pokey.glade"
+
typedef struct graph_t {
struct graph_t *attractors[20];
struct graph_t *repellors[20];
typedef struct graph_t {
struct graph_t *attractors[20];
struct graph_t *repellors[20];
@@
-36,20
+40,23
@@
typedef struct graph_t {
node_t *node;
} graph_t;
node_t *node;
} graph_t;
-extern int build_graph;
+struct if_subnet_data {
+ GnomeCanvasItem *item; /* The gnome canvas item associated with the line */
+ GtkCTreeNode *ctn;
+};
-void log_message(int, const char *, ...);
-GtkCTreeNode *if_node_add(node_t *);
-void if_node_del(node_t *);
-void if_subnet_add(subnet_t *);
-void if_subnet_del(subnet_t *);
-void if_edge_add(edge_t *);
-void if_edge_del(edge_t *);
+struct if_node_data {
+ double x, y;
+ int visible;
+ int id;
+ GnomeCanvasItem *item;
+ GtkCTreeNode *ctn;
+ GladeXML *hi_xml;
+};
-void if_build_graph(void);
-void if_graph_add_node(node_t *);
-void if_graph_add_edge(edge_t *);
+extern int build_graph;
+void if_build_graph(void);
int init_interface(void);
#endif /* __TINC_INTERFACE_H__ */
int init_interface(void);
#endif /* __TINC_INTERFACE_H__ */