1
0
forked from bip/bip
bip/src/bip.h

70 lines
1.3 KiB
C
Raw Normal View History

2005-04-28 10:26:44 +02:00
/*
* $Id: bip.h,v 1.6 2005/04/12 19:34:35 nohar Exp $
*
* This file is part of the bip project
2005-10-09 13:47:20 +02:00
* Copyright (C) 2004 2005 Arnaud Cornet and Lo<EFBFBD>c Gomez
2005-04-28 10:26:44 +02:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* See the file "COPYING" for the exact licensing terms.
*/
#ifndef BIP_H
#define BIP_H
struct c_network
{
char *name;
#ifdef HAVE_LIBSSL
int ssl;
#endif
list_t serverl;
};
struct c_user
{
char *name;
unsigned char *password;
unsigned int seed;
2005-07-09 14:55:01 +02:00
char *default_user;
char *default_nick;
char *default_realname;
#ifdef HAVE_LIBSSL
int ssl_check_mode;
char *ssl_check_store;
#endif
2005-04-28 10:26:44 +02:00
list_t connectionl;
};
struct c_connection
{
char *name;
struct c_network *network;
char *realname, *user, *nick;
char *password; /* server pass */
char *vhost;
unsigned short source_port;
list_t channell;
int follow_nick;
int ignore_first_nick;
char *away_nick;
char *on_connect_send;
struct client *client;
};
struct c_channel
{
char *name;
char *key;
};
2005-08-25 10:17:10 +02:00
int adm_bip(struct link_client *ic, struct line *line);
int ssl_check_trust(struct link_client *ic);
void adm_blreset(struct link_client *ic);
2005-04-28 10:26:44 +02:00
#endif