Changeset 55ec2d6 for irc.h


Ignore:
Timestamp:
2006-01-20T12:22:30Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f73b969
Parents:
fc50d48 (diff), b8c2ace (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging IPC branch, it's too different from the main code to keep it
separated (and it's pretty stable now). Have fun. :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    rfc50d48 r55ec2d6  
    3333#define IRC_PING_STRING "PinglBee"
    3434
    35 #define UMODES "ias"
     35#define UMODES "iasw"
    3636#define UMODES_PRIV "Ro"
    3737#define CMODES "nt"
     
    4141typedef enum
    4242{
    43         USTATUS_OFFLINE,
     43        USTATUS_OFFLINE = 0,
    4444        USTATUS_AUTHORIZED,
    4545        USTATUS_LOGGED_IN,
    4646        USTATUS_IDENTIFIED,
    47         USTATUS_SHUTDOWN
     47        USTATUS_SHUTDOWN = -1
    4848} irc_status_t;
    4949
     
    110110int irc_exec( irc_t *irc, char **cmd );
    111111int irc_process( irc_t *irc );
    112 int irc_process_line( irc_t *irc, char *line );
     112char **irc_parse_line( char *line );
     113char *irc_build_line( char **cmd );
    113114
    114115void irc_vawrite( irc_t *irc, char *format, va_list params );
     
    120121
    121122void irc_login( irc_t *irc );
     123int irc_check_login( irc_t *irc );
    122124void irc_motd( irc_t *irc );
    123125void irc_names( irc_t *irc, char *channel );
Note: See TracChangeset for help on using the changeset viewer.