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

#include <plugins.h>

Public Attributes

REMOTE_COMMANDS cmd
 The command to execute, or reply if from the bot to client. More...
 
uint32 datalen
 The length of data following the header (little-endian) More...
 

Detailed Description

This is the packet header for the remote protocol. It consists of a command and the length of data that follows the header (if needed).
It is designed to be extremely simple to implement, and is binary-compatible back to IRCBot v2 (of course, new commands that didn't exist back during the v2 days won't work with v2)

See also
http://wiki.shoutirc.com/index.php/Remote_Commands

Member Data Documentation

REMOTE_COMMANDS REMOTE_HEADER::cmd

The command to execute, or reply if from the bot to client.

uint32 REMOTE_HEADER::datalen

The length of data following the header (little-endian)


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