src/irc_proto.h
changeset 100 cfb7776bd6f0
parent 87 f0db6ebf18b9
equal deleted inserted replaced
99:155a6c7d3886 100:cfb7776bd6f0
     6  *
     6  *
     7  * General IRC protocol things, such as prefix/nickmask/nickname parsing
     7  * General IRC protocol things, such as prefix/nickmask/nickname parsing
     8  */
     8  */
     9 #include "error.h"
     9 #include "error.h"
    10 #include <stddef.h>
    10 #include <stddef.h>
       
    11 
       
    12 /**
       
    13  * Default TCP port for normal connections
       
    14  */
       
    15 #define IRC_PORT "6667"
       
    16 
       
    17 /**
       
    18  * Default TCP port for SSL connections
       
    19  */
       
    20 #define IRC_SSL_PORT "6697"
    11 
    21 
    12 /**
    22 /**
    13  * Maximum length of an IRC nickname including terminating NUL.
    23  * Maximum length of an IRC nickname including terminating NUL.
    14  */
    24  */
    15 #define IRC_NICK_MAX (30 + 1)
    25 #define IRC_NICK_MAX (30 + 1)