mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d01b094151
commit
c95034c6de
206 changed files with 31247 additions and 0 deletions
30
src/irc/core/query.h
Normal file
30
src/irc/core/query.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#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;
|
||||
|
||||
char *address;
|
||||
char *server_tag;
|
||||
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);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue