Crossfire Server, Trunk
|
#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 |
struct | hook_entry |
Typedefs | |
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) |
typedef void *(* | f_plug_property) (int *type,...) |
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 CFAPI_SSTRING 17 /* Shared string that shouldn't be changed, or const char* */ |
#define CFAPI_STRING 4 /* String with a length that must be given too. */ |
#define plugins_dlclose | ( | lib | ) | dlclose(lib) |
#define plugins_dlopen | ( | fname | ) | dlopen(fname, RTLD_NOW|RTLD_GLOBAL) |
#define plugins_dlsym | ( | lib, | |
name | |||
) | dlsym(lib, name) |
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) |