IRCBot Plugin API
v5
|
#include <plugins.h>
Public Attributes | |
void(* | find )(const char *fn, int max_results, int start, USER_PRESENCE *ut, find_finish_type find_finish) |
Sent to the source plugin when someone does an @find. More... | |
bool(* | request_from_find )(USER_PRESENCE *pres, FIND_RESULT *res, char *reply, size_t replySize) |
Called when someone does a !request with a # that matches a @find result. More... | |
bool(* | request )(USER_PRESENCE *pres, const char *txt, char *reply, size_t replySize) |
Called when a !request is done with a filename or # after results have expired. More... | |
This structure contains contains the result of a @find. The bot keeps track of the last @find result so people can use !request # and not the full filename.
void(* REQUEST_INTERFACE::find)(const char *fn, int max_results, int start, USER_PRESENCE *ut, find_finish_type find_finish) |
Sent to the source plugin when someone does an @find.
bool(* REQUEST_INTERFACE::request_from_find)(USER_PRESENCE *pres, FIND_RESULT *res, char *reply, size_t replySize) |
Called when someone does a !request with a # that matches a @find result.
bool(* REQUEST_INTERFACE::request)(USER_PRESENCE *pres, const char *txt, char *reply, size_t replySize) |
Called when a !request is done with a filename or # after results have expired.