projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed SessionMsgType enum and its use, since it is useless.
[claws.git]
/
src
/
common
/
session.h
diff --git
a/src/common/session.h
b/src/common/session.h
index cd4b774dbd6b5f705acca0bc364f1344541d3306..72b451261c5a08eec72b67c79b511cdf85760c1f 100644
(file)
--- a/
src/common/session.h
+++ b/
src/common/session.h
@@
-55,16
+55,6
@@
typedef enum {
SESSION_DISCONNECTED
} SessionState;
SESSION_DISCONNECTED
} SessionState;
-typedef enum
-{
- SESSION_MSG_NORMAL,
- SESSION_MSG_SEND_DATA,
- SESSION_MSG_RECV_DATA,
- SESSION_MSG_CONTROL,
- SESSION_MSG_ERROR,
- SESSION_MSG_UNKNOWN
-} SessionMsgType;
-
typedef gint (*RecvMsgNotify) (Session *session,
const gchar *msg,
gpointer user_data);
typedef gint (*RecvMsgNotify) (Session *session,
const gchar *msg,
gpointer user_data);
@@
-203,7
+193,6
@@
gint session_start_tls (Session *session);
#endif
gint session_send_msg (Session *session,
#endif
gint session_send_msg (Session *session,
- SessionMsgType type,
const gchar *msg);
gint session_recv_msg (Session *session);
gint session_send_data (Session *session,
const gchar *msg);
gint session_recv_msg (Session *session);
gint session_send_data (Session *session,