mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
76605ad0ae
Changed configure.in's functionality so that you could tell what modules you want to build in main irssi binary and it will create automatically the .c files that need to call the module_init()/deinit() functions. Fixed several minor things.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@230 dbcabf3a-b0e7-0310-adc4-f8d773084564
22 lines
659 B
C
22 lines
659 B
C
#ifndef __MODES_H
|
|
#define __MODES_H
|
|
|
|
#include "server.h"
|
|
#include "channels.h"
|
|
|
|
#define HAS_MODE_ARG(c) ((c) == 'b' || (c) == 'e' || (c) == 'I' || \
|
|
(c) == 'v' || (c) == 'o' || (c) == 'l' || (c) == 'k')
|
|
|
|
void modes_init(void);
|
|
void modes_deinit(void);
|
|
|
|
/* add `mode' to `old' - return newly allocated mode. */
|
|
char *modes_join(const char *old, const char *mode);
|
|
|
|
void parse_channel_modes(CHANNEL_REC *channel, const char *setby, const char *modestr);
|
|
|
|
void channel_set_singlemode(IRC_SERVER_REC *server, const char *channel, const char *nicks, const char *mode);
|
|
void channel_set_mode(IRC_SERVER_REC *server, const char *channel, const char *mode);
|
|
|
|
#endif
|