Changeset df67b48 for irc.h


Ignore:
Timestamp:
2017-04-03T20:55:50Z (7 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
b1b9453
Parents:
c39cd8e
Message:

Add PROXY command. Not actually an IRC protocol command, it's a HAProxy
trick supported by stunnel to indicate where the connection originally
came from. Looks a little better on public servers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    rc39cd8e rdf67b48  
    2626#ifndef _IRC_H
    2727#define _IRC_H
     28
     29#include <sys/socket.h>
    2830
    2931#define IRC_MAX_LINE 512
     
    271273
    272274irc_t *irc_new(int fd);
     275void irc_set_hosts(irc_t *irc, const struct sockaddr *remote_addr, const socklen_t remote_addrlen);
    273276void irc_abort(irc_t *irc, int immed, char *format, ...) G_GNUC_PRINTF(3, 4);
    274277void irc_free(irc_t *irc);
Note: See TracChangeset for help on using the changeset viewer.