Home
last modified time | relevance | path

Searched refs:irc_network (Results 1 – 25 of 34) sorted by relevance

12

/dports/irc/ctrlproxy/ctrlproxy-3.0.8/lib/
H A Dconnection.h41 struct irc_network;
90 gboolean (*init) (struct irc_network *);
92 void (*fini) (struct irc_network *);
102 struct irc_login_details *(*get_login_details) (struct irc_network *);
109 struct irc_network { struct
155 G_MODULE_EXPORT gboolean connect_network(struct irc_network *);
156 G_MODULE_EXPORT void network_select_next_server(struct irc_network *n);
157 G_MODULE_EXPORT gboolean disconnect_network(struct irc_network *s);
159 G_MODULE_EXPORT gboolean network_send_args(struct irc_network *s, ...);
168 G_MODULE_EXPORT struct irc_network *network_ref(struct irc_network *);
[all …]
H A Dconnection.c29 static gboolean close_server(struct irc_network *s);
30 static void reconnect(struct irc_network *server);
373 static gboolean bindsock(struct irc_network *s, in bindsock()
719 struct irc_network *s = data;
878 struct irc_network *s;
880 s = g_new0(struct irc_network, 1);
973 struct irc_network *n = gl->data;
995 struct irc_network *n = gl->data;
1012 struct irc_network *n = (struct irc_network *)gl->data;
1057 struct irc_network *network_ref(struct irc_network *n)
[all …]
H A Dclient.h43 struct irc_network *(*on_connect) (struct irc_client *, const char *hostname, guint16 port);
62 struct irc_network *network;
/dports/irc/ctrlproxy/ctrlproxy-3.0.8/src/
H A Dinternals.h56 gboolean network_set_iochannel(struct irc_network *s, GIOChannel *ioc);
59 void free_channels(struct irc_network *s);
71 G_MODULE_EXPORT void unload_network(struct irc_network *);
72 typedef void (*new_network_notify_fn) (struct irc_network *, void *);
77 void server_disconnected_hook_execute(struct irc_network *);
78 void server_connected_hook_execute(struct irc_network *);
95 struct irc_network *net,
100 struct irc_network *net,
111 void handle_network_log(enum log_level level, const struct irc_network *n,
113 char *custom_subst(struct irc_network *network,
[all …]
H A Dctcp.h37 gboolean ctcp_network_redirect_response(struct irc_network *, const struct irc_line *);
39 gboolean ctcp_process_request(struct irc_network *, const struct irc_line *);
41 G_MODULE_EXPORT G_GNUC_NULL_TERMINATED void ctcp_send(struct irc_network *, const char *, ...);
43 struct irc_network *ctcp_get_network(struct ctcp_handle *h);
H A Dauto_away.c49 struct irc_network *s = (struct irc_network *)sl->data; in check_time()
66 static gboolean log_data(struct irc_network *n, const struct irc_line *l, in log_data()
81 struct irc_network *s = (struct irc_network *)sl->data; in log_data()
H A Dnetwork.c67 static gboolean network_process_ctcp_request(struct irc_network *n, const struct irc_line *l) in network_process_ctcp_request()
87 static gboolean process_from_server(struct irc_network *n, const struct irc_line *l) in process_from_server()
228 struct irc_network *find_network_by_hostname(struct global *global, in find_network_by_hostname()
241 struct irc_network *n = gl->data; in find_network_by_hostname()
279 struct irc_network *n; in find_network_by_hostname()
324 static struct irc_login_details *get_login_details(struct irc_network *s) in get_login_details()
383 struct irc_network *load_network(struct global *global, struct network_config *sc) in load_network()
385 struct irc_network *net; in load_network()
432 struct irc_network *n; in load_networks()
444 void unload_network(struct irc_network *s) in unload_network()
H A Dnickserv.c35 const char *nickserv_find_nick(struct irc_network *n, const char *nick) in nickserv_find_nick()
51 const char *nickserv_nick(struct irc_network *n) in nickserv_nick()
56 void nickserv_identify_me(struct irc_network *network, char *nick) in nickserv_identify_me()
80 static void cache_nickserv_pass(struct irc_network *n, const char *newpass) in cache_nickserv_pass()
115 static gboolean log_data(struct irc_network *n, const struct irc_line *l, enum data_direction dir, … in log_data()
H A Dhooks.h33 typedef gboolean (*server_filter_function) (struct irc_network *n, const struct irc_line *, enum da…
55 typedef void (*server_connected_hook) (struct irc_network *, void *userdata);
59 typedef void (*server_disconnected_hook) (struct irc_network *, void *userdata);
H A Dlog_custom.c58 struct irc_network *network, const char *fmt, in file_write_line()
83 struct irc_network *network, const char *fmt, in file_write_line_target()
99 struct irc_network *network, const char *fmt, in file_write_target()
124 struct irc_network *network, const char *fmt, in file_write_channel_only()
134 struct irc_network *network, const char *fmt, in file_write_channel_query()
170 static gboolean log_custom_data(struct irc_network *network, in log_custom_data()
H A Dredirect.c504 static gboolean handle_465(struct irc_network *n, const struct irc_line *l) in handle_465()
510 static gboolean handle_451(struct irc_network *n, const struct irc_line *l) in handle_451()
516 static gboolean handle_462(struct irc_network *n, const struct irc_line *l) in handle_462()
522 static gboolean handle_463(struct irc_network *n, const struct irc_line *l) in handle_463()
528 static gboolean handle_464(struct irc_network *n, const struct irc_line *l) in handle_464()
546 gboolean (*handler) (struct irc_network *n, const struct irc_line *);
590 struct irc_network *network, in redirect_response()
674 const struct irc_network *n, struct irc_client *c, in redirect_record()
H A Dlog.h23 struct irc_network;
27 G_GNUC_PRINTF(3, 4) G_MODULE_EXPORT void network_log(enum log_level, const struct irc_network *, co…
H A Dredirect.h26 const struct irc_network *n, struct irc_client *c,
29 struct irc_network *network,
H A Dadmin.h22 struct irc_network *network;
51 G_MODULE_EXPORT struct irc_network *admin_get_network(admin_handle h);
H A Dlog.c34 void log_entry(enum log_level level, const struct irc_network *n, const struct irc_client *c, const… in log_entry()
64 void log_network_line(const struct irc_network *n, const struct irc_line *l, gboolean incoming) in log_network_line()
86 void handle_network_log(enum log_level level, const struct irc_network *n, in handle_network_log()
H A Dctcp.c30 struct irc_network *network;
75 void ctcp_send(struct irc_network *n, const char *nick, ...) in ctcp_send()
169 gboolean ctcp_process_request (struct irc_network *n, const struct irc_line *l) in ctcp_process_request()
227 struct irc_network *ctcp_get_network(struct ctcp_handle *h) in ctcp_get_network()
H A Dhooks.c76 static gboolean filter_class_execute(GList *gl, struct irc_network *s, enum data_direction dir, con… in filter_class_execute()
106 gboolean run_##n##_filter(struct irc_network *s, const struct irc_line *l, enum data_direction dir)\
274 void server_connected_hook_execute(struct irc_network *c) in server_connected_hook_execute()
319 void server_disconnected_hook_execute(struct irc_network *c) in server_disconnected_hook_execute()
H A Dadmin.c47 static char *admin_hostmask(struct irc_network *n) in admin_hostmask()
192 struct irc_network *n; in cmd_add_server()
235 struct irc_network *s; in cmd_connect_network()
272 struct irc_network *n; in cmd_disconnect_network()
305 struct irc_network *n; in cmd_next_server()
346 struct irc_network *n; in add_network_helper()
363 struct irc_network *n; in rename_network_helper()
438 struct irc_network *n = gl->data; in list_networks_helper()
532 struct irc_network *n; in dump_joined_channels()
577 struct irc_network *n; in cmd_backlog()
[all …]
H A Dclient.c232 static struct irc_network *client_connect_command(struct irc_client *client, const char *hostname, … in client_connect_command()
236 struct irc_network *network; in client_connect_command()
270 struct irc_client *client_init_iochannel(struct irc_network *n, GIOChannel *c, const char *desc) in client_init_iochannel()
285 struct irc_client *client_init(struct irc_network *n, struct irc_transport *transport, const char *… in client_init()
/dports/irc/ctrlproxy/ctrlproxy-3.0.8/testsuite/
H A Dtest-redirect.c26 static void test_redirect_response(struct query_stack **stack, struct irc_network *n, const char *l… in test_redirect_response()
33 struct irc_network *n = dummy_network();
39 struct irc_network *n = dummy_network();
45 struct irc_network *n = dummy_network();
51 struct irc_network *n = dummy_network();
57 struct irc_network *n = dummy_network();
63 struct irc_network *n = dummy_network();
H A Dtest-network.c30 struct irc_network *n;
38 struct irc_network *n;
52 struct irc_network *n;
H A Dtest-nickserv.c27 const char *nickserv_find_nick(struct irc_network *n, char *nick);
28 const char *nickserv_nick(struct irc_network *n);
29 void nickserv_identify_me(struct irc_network *network, char *nick);
H A Dtorture.c66 struct irc_network *dummy_network(void) in dummy_network()
71 struct irc_network *n; in dummy_network()
H A Dtest-client.c59 struct irc_network n = {
82 struct irc_network n = {
H A Dtorture.h12 struct irc_network *dummy_network(void);

12