Wiki

Clone wiki

asss / Module

Module

Modules are the fundamental building blocks that comprise an asss server. Most modules are written in C, though there is limited support for Python modules as well. Module source code exists in one file, though some modules also provide a header file to define Interface, Callback, and Adviser types, as well as other constants that other modules will use.

C Modules

C modules should start with an #include "asss.h" directive. All C modules also have an Entry Point. Any other globals defined should be declared local (an alias for static.)

Python modules

Python modules can do most of the things C modules can do, but not all functionality may be available.

Updated