diff options
author | mjentsch <mtthsjntsch@gmail.com> | 2015-12-07 00:49:31 +0300 |
---|---|---|
committer | mjentsch <mtthsjntsch@gmail.com> | 2015-12-07 00:57:50 +0300 |
commit | 498f87eff5f498e39cc55a9330bd115c06b2c5e2 (patch) | |
tree | 2cb6b1ed3bc2e8c98f033155a8a3d49b1d1f646c /tgp-msg.h | |
parent | a1f49d4748ec1aa876aeddda2ffe6f59f39a14e2 (diff) |
Remove code duplication
Diffstat (limited to 'tgp-msg.h')
-rw-r--r-- | tgp-msg.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |