Changeset f7cc734 for irc.h


Ignore:
Timestamp:
2018-07-31T04:41:25Z (16 months ago)
Author:
dequis <dx@…>
Branches:
master
Children:
9767d03
Parents:
c82e4ca
git-author:
Philippe Daouadi <philippe@…> (15-03-17 17:06:52)
git-committer:
dequis <dx@…> (31-07-18 04:41:25)
Message:

irc: implement server-time capability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    rc82e4ca rf7cc734  
    7676        CAP_AWAY_NOTIFY = (1 << 3),
    7777        CAP_USERHOST_IN_NAMES = (1 << 4),
     78        CAP_SERVER_TIME = (1 << 5),
    7879} irc_cap_flag_t;
    7980
     
    342343void irc_send_whois(irc_user_t *iu);
    343344void irc_send_who(irc_t *irc, GSList *l, const char *channel);
    344 void irc_send_msg(irc_user_t *iu, const char *type, const char *dst, const char *msg, const char *prefix);
    345 void irc_send_msg_raw(irc_user_t *iu, const char *type, const char *dst, const char *msg);
     345void irc_send_msg(irc_user_t *iu, const char *type, const char *dst, const char *msg, const char *prefix, time_t ts);
     346void irc_send_msg_raw(irc_user_t *iu, const char *type, const char *dst, const char* tags, const char *msg);
    346347void irc_send_msg_f(irc_user_t *iu, const char *type, const char *dst, const char *format, ...) G_GNUC_PRINTF(4, 5);
    347348void irc_send_nick(irc_user_t *iu, const char *new_nick);
     
    364365char *set_eval_timezone(struct set *set, char *value);
    365366char *irc_format_timestamp(irc_t *irc, time_t msg_ts);
     367char *irc_format_servertime(irc_t *irc, time_t msg_ts);
    366368char *set_eval_self_messages(struct set *set, char *value);
    367369
Note: See TracChangeset for help on using the changeset viewer.