[][src]Module weechat::hooks

Weechat Hook module. Weechat hooks are used for many different things, to create commands, to listen to events on a file descriptor, add completions to weechat, etc. This module contains hook creation methods for the Weechat object.

Structs

CommandDescription

Description for a weechat command that should will be hooked. The fields of this struct accept the same string formats that are described in the weechat API documentation.

CommandHook

Hook for a weechat command, the command is removed when the object is dropped.

FdHook

Hook for a file descriptor, the hook is removed when the object is dropped.

Enums

FdHookMode

Setting for the FdHook.