IRCBot Plugin API  v5
Public Attributes | List of all members
FIND_RESULTS Struct Reference

#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...
 

Detailed Description

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.

See also
REQUEST_INTERFACE

Member Data Documentation

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.


The documentation for this struct was generated from the following file: