Changeset 83e92bf for irc.h


Ignore:
Timestamp:
2010-03-27T12:30:00Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
9b69eb7
Parents:
b95932e
Message:

Topic handling changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    rb95932e r83e92bf  
    118118        char *name;
    119119        char *topic;
     120        char *topic_who;
     121        time_t topic_time;
    120122        char mode[8];
    121123        GSList *users;
     
    145147irc_channel_t *irc_channel_new( irc_t *irc, const char *name );
    146148irc_channel_t *irc_channel_by_name( irc_t *irc, const char *name );
     149int irc_channel_free( irc_channel_t *ic );
    147150int irc_channel_add_user( irc_channel_t *ic, irc_user_t *iu );
    148151int irc_channel_del_user( irc_channel_t *ic, irc_user_t *iu );
    149 int irc_channel_set_topic( irc_channel_t *ic, const char *topic );
     152int irc_channel_set_topic( irc_channel_t *ic, const char *topic, const irc_user_t *who );
    150153
    151154/* irc_commands.c */
     
    160163void irc_send_part( irc_channel_t *ic, irc_user_t *iu, const char *reason );
    161164void irc_send_names( irc_channel_t *ic );
    162 void irc_send_topic( irc_channel_t *ic );
     165void irc_send_topic( irc_channel_t *ic, gboolean topic_change );
    163166void irc_send_whois( irc_user_t *iu );
    164167
Note: See TracChangeset for help on using the changeset viewer.