mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 22:16:21 +00:00
Moved ChatSession typedef
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user