diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2006-10-16 19:28:57 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2006-10-16 19:28:57 +0400 |
commit | 282b0d528da179320aabfa2ffe4f4aff32a5b4cb (patch) | |
tree | d3968fbccb2c0e0b71f68868448f3868c92fe932 /source/blender/blenkernel/BKE_verse.h | |
parent | 6468b1705bfba89221c239898fab563eca6838d3 (diff) |
* fix totblock error when quiting blender with sessions open
* add "Disconnect"-menu when RMB on verse server that is connected in
outliner
Diffstat (limited to 'source/blender/blenkernel/BKE_verse.h')
-rw-r--r-- | source/blender/blenkernel/BKE_verse.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/source/blender/blenkernel/BKE_verse.h b/source/blender/blenkernel/BKE_verse.h index 932a11f2f94..8d93cda7118 100644 --- a/source/blender/blenkernel/BKE_verse.h +++ b/source/blender/blenkernel/BKE_verse.h @@ -323,12 +323,6 @@ typedef struct VNode { void (*post_node_name_set)(struct VNode *vnode); } VNode; -typedef struct VerseServer { - struct VerseServer *next, *prev; - char *name; /* human-readable server name */ - char *ip; /* string containing IP/domain name of verse server and number of port */ - short flag; /* flag: VERSE_CONNECTING, VERSE_CONNECTED */ -} VerseServer; /* * Verse Session: verse client can be connected to several verse servers @@ -353,6 +347,13 @@ typedef struct VerseSession { void (*post_connect_update)(struct VerseSession *session); } VerseSession; +typedef struct VerseServer { + struct VerseServer *next, *prev; + char *name; /* human-readable server name */ + char *ip; /* string containing IP/domain name of verse server and number of port */ + short flag; /* flag: VERSE_CONNECTING, VERSE_CONNECTED */ + struct VerseSession *session; /* pointer to related session */ +} VerseServer; /* * list of post callback functions */ @@ -448,7 +449,7 @@ void free_verse_session(struct VerseSession *session); void b_verse_update(void); void b_vers_ms_get(void); void b_verse_connect(char *address); -void end_verse_session(struct VerseSession *session, char free); +void end_verse_session(struct VerseSession *session); void end_all_verse_sessions(void); /* functions from verse_node.c */ |