Files
moonwell-core/deps/libsidecar/include/events-servers-registry.h
Anton Popovichenko 6f0ba8e896 feat(Core): Add clustering support (#16832)
Co-authored-by: 3kynox <thierry.prost@gmail.com>
Co-authored-by: nox <nox@noxen.net>
Co-authored-by: Ludwig <sudlud@users.noreply.github.com>
2026-07-27 18:51:04 +02:00

24 lines
598 B
C

#ifndef __EVENT_SERVERS_REGISTRY__
#define __EVENT_SERVERS_REGISTRY__
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
enum ServersRegistryStatus {
ServersRegistryHookStatusOK = 0,
ServersRegistryHookStatusNoHook = 1
};
typedef void (*OnMapsReassignedHook) (uint32_t* /*maps_added*/, int /*maps_added_size*/, uint32_t* /*maps_removed*/, int /*maps_removed_size*/);
void SetOnMapsReassignedHook(OnMapsReassignedHook h);
int CallOnMapsReassignedHook(uint32_t* maps_added, int maps_added_size, uint32_t* maps_removed, int maps_removed_size);
#ifdef __cplusplus
}
#endif
#endif