summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-modelist.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-25 10:01:36 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-03-25 10:01:36 +0200
commit8f3c9a73784ddba6dcf1ed942725e595183235ac (patch)
tree5b2c61cec7f4fe1811d5d91451b295b9387bb051 /src/plugins/irc/irc-modelist.h
parent126a8259248e477e3c9d8affd0f22b3197b790ee (diff)
downloadweechat-8f3c9a73784ddba6dcf1ed942725e595183235ac.zip
irc: reorder modelist functions
Diffstat (limited to 'src/plugins/irc/irc-modelist.h')
-rw-r--r--src/plugins/irc/irc-modelist.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/plugins/irc/irc-modelist.h b/src/plugins/irc/irc-modelist.h
index bac711727..3f9eee869 100644
--- a/src/plugins/irc/irc-modelist.h
+++ b/src/plugins/irc/irc-modelist.h
@@ -54,8 +54,22 @@ struct t_irc_modelist
struct t_irc_modelist *next_modelist; /* pointer to next modelist */
};
+extern int irc_modelist_valid (struct t_irc_channel *channel,
+ struct t_irc_modelist *modelist);
+extern struct t_irc_modelist *irc_modelist_search (struct t_irc_channel *channel,
+ char type);
+extern struct t_irc_modelist *irc_modelist_new (struct t_irc_channel *channel,
+ char type);
+extern void irc_modelist_free (struct t_irc_channel *channel,
+ struct t_irc_modelist *modelist);
+extern void irc_modelist_free_all (struct t_irc_channel *channel);
+
extern int irc_modelist_item_valid (struct t_irc_modelist *modelist,
struct t_irc_modelist_item *item);
+extern struct t_irc_modelist_item *irc_modelist_item_search (struct t_irc_modelist *modelist,
+ const char *mask);
+extern struct t_irc_modelist_item *irc_modelist_item_number (struct t_irc_modelist *modelist,
+ int number);
extern struct t_irc_modelist_item *irc_modelist_item_new (struct t_irc_modelist *modelist,
const char *mask,
const char *setter,
@@ -63,20 +77,6 @@ extern struct t_irc_modelist_item *irc_modelist_item_new (struct t_irc_modelist
extern void irc_modelist_item_free (struct t_irc_modelist *modelist,
struct t_irc_modelist_item *item);
extern void irc_modelist_item_free_all (struct t_irc_modelist *modelist);
-extern struct t_irc_modelist_item *irc_modelist_item_search (struct t_irc_modelist *modelist,
- const char *mask);
-extern struct t_irc_modelist_item *irc_modelist_item_number (struct t_irc_modelist *modelist,
- int number);
-
-extern int irc_modelist_valid (struct t_irc_channel *channel,
- struct t_irc_modelist *modelist);
-extern struct t_irc_modelist *irc_modelist_new (struct t_irc_channel *channel,
- char type);
-extern void irc_modelist_free (struct t_irc_channel *channel,
- struct t_irc_modelist *modelist);
-extern void irc_modelist_free_all (struct t_irc_channel *channel);
-extern struct t_irc_modelist *irc_modelist_search (struct t_irc_channel *channel,
- char type);
extern struct t_hdata *irc_modelist_hdata_item_cb (const void *pointer,
void *data,