Changeset 355e2ad for irc.h


Ignore:
Timestamp:
2015-10-01T01:01:48Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
3cbf71d
Parents:
d797fb4
git-author:
dequis <dx@…> (18-08-15 05:53:17)
git-committer:
dequis <dx@…> (01-10-15 01:01:48)
Message:

Move CAP commands to irc_cap.c; use enum for flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    rd797fb4 r355e2ad  
    6565        IRC_UTF8_NICKS = 0x10000, /* Disable ASCII restrictions on buddy nicks. */
    6666} irc_status_t;
     67
     68typedef enum {
     69        CAP_FOO = (1 << 0),
     70        CAP_BAR = (1 << 1),
     71} irc_cap_flag_t;
    6772
    6873struct irc_user;
     
    352357void bee_irc_user_nick_reset(irc_user_t *iu);
    353358
     359/* irc_cap.c */
     360void irc_cmd_cap(irc_t *irc, char **cmd);
     361
    354362#endif
Note: See TracChangeset for help on using the changeset viewer.