Implementation of commands.h.
More...
#include "commands.h"
#include "bot.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
|
#define | OK 1 |
|
#define | ERROR 0 |
|
Implementation of commands.h.
- Author
- Mateusz Makowski
- Date
- 16.09.2018
◆ commands_ident()
int commands_ident |
( |
struct IRC_Bot * |
bot | ) |
|
Send an ident response to the server.
- Parameters
-
- Returns
- 0 on failure, 1 on success
◆ commands_pong()
int commands_pong |
( |
struct IRC_Bot * |
bot, |
|
|
const char |
pong_id[] |
|
) |
| |
Send a PONG message to the server.
- Parameters
-
- Returns
- 0 on failure, 1 on success