|
IRCBot Plugin API
v5
|
#include <plugins.h>
Public Attributes | |
| char | query [128] |
| int | start |
| FIND_RESULT | songs [MAX_FIND_RESULTS] |
| int | num_songs |
| bool | have_more |
| int | plugin |
| void(* | free )(FIND_RESULTS *res) |
| The bot will call this when it is done with the structure, the source plugin should delete the structure and any associated resources. 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.
| char FIND_RESULTS::query[128] |
| int FIND_RESULTS::start |
| FIND_RESULT FIND_RESULTS::songs[MAX_FIND_RESULTS] |
| int FIND_RESULTS::num_songs |
| bool FIND_RESULTS::have_more |
| int FIND_RESULTS::plugin |
| void(* FIND_RESULTS::free)(FIND_RESULTS *res) |
The bot will call this when it is done with the structure, the source plugin should delete the structure and any associated resources.
1.8.8