diff options
Diffstat (limited to 'src/irc/core/query.h')
-rw-r--r-- | src/irc/core/query.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/irc/core/query.h b/src/irc/core/query.h deleted file mode 100644 index 20ce79cc..00000000 --- a/src/irc/core/query.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef __QUERY_H -#define __QUERY_H - -#include "server.h" - -typedef struct { - int type; - GHashTable *module_data; - - IRC_SERVER_REC *server; - char *nick; - - int new_data; - int last_color; - - char *address; - char *server_tag; - int unwanted:1; /* TRUE if the other side closed or some error occured (DCC chats!) */ - int destroying:1; -} QUERY_REC; - -extern GSList *queries; - -QUERY_REC *query_create(IRC_SERVER_REC *server, const char *nick, int automatic); -void query_destroy(QUERY_REC *query); - -/* Find query by name, if `server' is NULL, search from all servers */ -QUERY_REC *query_find(IRC_SERVER_REC *server, const char *nick); - -void query_change_server(QUERY_REC *query, IRC_SERVER_REC *server); - -void query_init(void); -void query_deinit(void); - -#endif |