4 extern GSList
*serv_list
;
6 /* eventually need to keep the tcp_* functions isolated to server.c */
7 int tcp_send_len (server
*serv
, char *buf
, int len
);
8 int tcp_send (server
*serv
, char *buf
);
9 void tcp_sendf (server
*serv
, char *fmt
, ...);
10 int tcp_send_real (void *ssl
, int sok
, char *encoding
, int using_irc
, char *buf
, int len
);
12 server
*server_new (void);
13 int is_server (server
*serv
);
14 void server_fill_her_up (server
*serv
);
15 void server_set_encoding (server
*serv
, char *new_encoding
);
16 void server_set_defaults (server
*serv
);
17 char *server_get_network (server
*serv
, gboolean fallback
);
18 void server_set_name (server
*serv
, char *name
);
19 void server_free (server
*serv
);
21 void server_away_save_message (server
*serv
, char *nick
, char *msg
);
22 struct away_msg
*server_away_find_message (server
*serv
, char *nick
);
24 void base64_encode (char *to
, char *from
, unsigned int len
);