![]() |
Crossfire Server, Trunk
1.75.0
|
#include <global.h>
#include <dlfcn.h>
#include "random_maps/random_map.h"
#include "random_maps/rproto.h"
#include <dirent.h>
Go to the source code of this file.
Data Structures | |
struct | crossfire_plugin |
One loaded plugin. More... | |
struct | hook_entry |
One function the server exposes to plugins. More... | |
Typedefs | |
typedef void(* | f_plug_api) (int *type,...) |
General API function. More... | |
typedef int(* | f_plug_init) (const char *iversion, f_plug_api gethooksptr) |
First function called in a plugin. More... | |
typedef int(* | f_plug_postinit) (void) |
Function called after the plugin was initialized. More... | |
typedef void *(* | f_plug_property) (int *type,...) |
Get various plugin properties. More... | |
Definitions for the plugin system.
Definition in file plugin.h.
#define CFAPI_ARCHETYPE_VECTOR 21 |
#define CFAPI_MAP_VECTOR 20 |
#define CFAPI_OBJECT_VECTOR 19 |
#define CFAPI_PARTY_VECTOR 23 |
#define CFAPI_REGION_VECTOR 22 |
#define plugins_dlclose | ( | lib | ) | dlclose(lib) |
#define plugins_dlopen | ( | fname | ) | dlopen(fname, RTLD_NOW|RTLD_GLOBAL) |
typedef void(* f_plug_api) (int *type,...) |
typedef int(* f_plug_init) (const char *iversion, f_plug_api gethooksptr) |
typedef int(* f_plug_postinit) (void) |