mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
Updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@641 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
28a7908e73
commit
755a8d40eb
31 changed files with 386 additions and 217 deletions
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
/* Returns QUERY_REC if it's query, NULL if it isn't. */
|
||||
#define QUERY(query) \
|
||||
MODULE_CHECK_CAST(query, QUERY_REC, type, "QUERY")
|
||||
MODULE_CHECK_CAST_MODULE(query, QUERY_REC, type, \
|
||||
"WINDOW ITEM TYPE", "QUERY")
|
||||
|
||||
#define IS_QUERY(query) \
|
||||
(QUERY(query) ? TRUE : FALSE)
|
||||
|
|
@ -20,6 +21,10 @@ extern GSList *queries;
|
|||
void query_init(QUERY_REC *query, int automatic);
|
||||
void query_destroy(QUERY_REC *query);
|
||||
|
||||
/* Create a new query */
|
||||
QUERY_REC *query_create(int chat_type, SERVER_REC *server,
|
||||
const char *nick, int automatic);
|
||||
|
||||
/* Find query by name, if `server' is NULL, search from all servers */
|
||||
QUERY_REC *query_find(SERVER_REC *server, const char *nick);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue