/* External socket support
 *
 * (C) 2003 Anope Team
 * Contact us at info@anope.org
 *
 * Please read COPYING and README for further details.
 *
 * Based on the original code of Epona by Lara.
 * Based on the original code of Services by Andy Church. 
 * 
 */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "language.h"

#define MAXQUEUE 10
#define BUFFERSIZE 255

/**********************************************************************
 * ExtSock Returns
 **********************************************************************/
#define EXTSOCK_FAIL 0
#define EXTSOCK_OK   1

/**********************************************************************
 * ExtSock Function Declarations
 **********************************************************************/
void extsock_init(int port);
void extsock_process(void);
void extsock_close(void);
int extsock_val_clnt(struct in_addr clnt_addr);
/* EOF */
