diff options
| author | Nakidai Perumenei <nakidai@disroot.org> | 2026-12-02 20:52:27 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2026-01-30 15:32:45 +0300 |
| commit | 0e426a3395a95f08b47bdad512a0eaabbc5701d4 (patch) | |
| tree | e341bfe72b67d2f5bfccee9345b62e9740cea25a /ircd.h | |
| parent | 559fac39d83083f1720b235e33a8219ed07de653 (diff) | |
| download | libreircd-0e426a3395a95f08b47bdad512a0eaabbc5701d4.tar.gz libreircd-0e426a3395a95f08b47bdad512a0eaabbc5701d4.zip | |
Move announcing code to writef.c
Well, I guess that code is needed more then once, so it'll be good to move it to some function
Diffstat (limited to 'ircd.h')
| -rw-r--r-- | ircd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ircd.h b/ircd.h index 8def73a..0cb20dc 100644 --- a/ircd.h +++ b/ircd.h @@ -98,6 +98,7 @@ int parse_message(char *buf, struct Message *msg); int handle(struct Peer *peer); int reply(const struct Peer *peer, int number, ...); Handler *find(const char *command); +void announce(struct Peer *peer, const char *fmt, ...); int writef(int fd, const char *fmt, ...); int writechanf(const struct Peer *except, const struct Channel *channel, const char *fmt, ...); void ircd(void); |