lsyncd/core/mci.h
2018-06-19 09:06:18 +02:00

37 lines
780 B
C

/*
| mci.h from Lsyncd -- the Live (Mirror) Syncing Demon
|
| The (generic) C part of the inteface between mantle and core.
|
| License: GPLv2 (see COPYING) or any later version
| Authors: Axel Kittenberger <axkibe@gmail.com>
*/
#ifndef LSYNCD_MCI_H
#define LSYNCD_MCI_H
// Prints a stack dump of the current state
extern int l_stackdump( lua_State* L );
// Registers Lsyncd's core library.
extern void register_core( lua_State *L );
// Pushes a runner function and the runner error handler onto Lua stack
extern void load_mci(lua_State *L, const char *name);
// loads the Lsyncd mantle
extern void mci_load_mantle( lua_State *L );
// loads Lsyncd's default configuration
extern void mci_load_default( lua_State *L );
// cleans up mci
extern void mci_tidy( );
#endif