1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-10-06 20:03:46 -04: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 INACTIVE_TIMOUT 30.0
static void _chat_session_free(ChatSession session);
typedef enum {
CHAT_STATE_STARTED,
@ -51,8 +50,12 @@ struct chat_session_t {
gboolean sent;
};
typedef struct chat_session_t *ChatSession;
static GHashTable *sessions;
static void _chat_session_free(ChatSession session);
void
chat_sessions_init(void)
{

View File

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