1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Moved ChatSession typedef

This commit is contained in:
James Booth 2013-01-12 19:51:32 +00:00
parent d7b969b135
commit 306f00d3e8
2 changed files with 4 additions and 3 deletions

View File

@ -32,7 +32,6 @@
#define PAUSED_TIMOUT 10.0 #define PAUSED_TIMOUT 10.0
#define INACTIVE_TIMOUT 30.0 #define INACTIVE_TIMOUT 30.0
static void _chat_session_free(ChatSession session);
typedef enum { typedef enum {
CHAT_STATE_STARTED, CHAT_STATE_STARTED,
@ -51,8 +50,12 @@ struct chat_session_t {
gboolean sent; gboolean sent;
}; };
typedef struct chat_session_t *ChatSession;
static GHashTable *sessions; static GHashTable *sessions;
static void _chat_session_free(ChatSession session);
void void
chat_sessions_init(void) chat_sessions_init(void)
{ {

View File

@ -25,8 +25,6 @@
#include <glib.h> #include <glib.h>
typedef struct chat_session_t *ChatSession;
void chat_sessions_init(void); void chat_sessions_init(void);
void chat_sessions_clear(void); void chat_sessions_clear(void);
void chat_session_start(const char * const recipient, void chat_session_start(const char * const recipient,