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:
parent
d7b969b135
commit
306f00d3e8
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user