Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjentsch <mtthsjntsch@gmail.com>2015-12-07 00:49:31 +0300
committermjentsch <mtthsjntsch@gmail.com>2015-12-07 00:57:50 +0300
commit498f87eff5f498e39cc55a9330bd115c06b2c5e2 (patch)
tree2cb6b1ed3bc2e8c98f033155a8a3d49b1d1f646c /tgp-msg.h
parenta1f49d4748ec1aa876aeddda2ffe6f59f39a14e2 (diff)
Remove code duplication
Diffstat (limited to 'tgp-msg.h')
-rw-r--r--tgp-msg.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tgp-msg.h b/tgp-msg.h
index c071239..fdf173b 100644
--- a/tgp-msg.h
+++ b/tgp-msg.h
@@ -38,7 +38,9 @@ void tgp_msg_recv (struct tgl_state *TLS, struct tgl_message *M);
*/
int tgp_msg_send (struct tgl_state *TLS, const char *msg, tgl_peer_id_t to);
-void tgp_msg_err_out (struct tgl_state *TLS, const char *error, tgl_peer_id_t to);
-void tgp_msg_sys_out (struct tgl_state *TLS, const char *msg, tgl_peer_id_t to_id, int no_log);
+/**
+ * Print a special message in the conversation with a peer assuring that special flags are displayed
+ */
+void tgp_msg_special_out (struct tgl_state *TLS, const char *msg, tgl_peer_id_t to_id, int flags);
#endif