botnet_bot Struct Reference

#include <botnet.h>


Detailed Description

This is a bot in our botnet.

This struct contains only the minimum information nesessary to maintain the botnet. All the messy details are stored in the module's or script's client_data.

Definition at line 71 of file botnet.h.


Data Fields

char * name
 The name of the bot.
unsigned flags
 Some flags.
user_tuser
 The user entry for this bot. NULL if it's not local.
struct botnet_botuplink
 The bot directly linked to this bot. NULL if it's local.
struct botnet_botdirection
 The bot we have to talk to to reach this bot. Must not be NULL.
botnet_handler_thandler
 Handler struct containing functions to call to get stuff done. May be NULL if it's not local..
void * client_data
 Some data passed back to every callback function.
event_owner_towner
 The owner of this bot.
partymember_tpartys
 Start of the list of partymembers on this bot.
xml_node_tinfo
 Save anything you want here.
struct botnet_botprev
 Previous bot in the list.
struct botnet_botnext
 Next bot in the list.
struct botnet_botprev_local
 Previous bot in the list of local bots. NULL if this bot isn't local.
struct botnet_botnext_local
 Next bot in the list of local bots. NULL if this bot isn't local.

Field Documentation

The user entry for this bot. NULL if it's not local.

Definition at line 74 of file botnet.h.

Referenced by botnet_delete(), botnet_link_success(), botnet_new(), botnet_recursive_delete(), and got_handshake().

The bot directly linked to this bot. NULL if it's local.

Definition at line 75 of file botnet.h.

Referenced by botnet_count_subtree(), botnet_delete(), botnet_new(), botnet_really_delete(), botnet_recursive_delete(), botnet_recursive_replay_net(), on_new_bot(), and on_unlink().

The owner of this bot.

Definition at line 79 of file botnet.h.

Referenced by botnet_delete_by_owner(), botnet_extension(), botnet_new(), and botnet_recursive_delete().

Save anything you want here.

Definition at line 81 of file botnet.h.

Referenced by botnet_get_info(), botnet_new(), botnet_really_delete(), botnet_set_info(), and botnet_set_info_int().

struct botnet_bot* botnet_bot::prev [read]

Previous bot in the list.

Definition at line 82 of file botnet.h.

Referenced by botnet_new(), and botnet_really_delete().

struct botnet_bot* botnet_bot::next [read]

Previous bot in the list of local bots. NULL if this bot isn't local.

Definition at line 84 of file botnet.h.

Referenced by botnet_new(), and botnet_really_delete().


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

Generated on Sun Nov 30 18:43:37 2008 for eggdrop1.9 by  doxygen 1.5.6