1/* autogenerated file by ../../../../scripts/create_api_includes.sh */ 2/* check-sources:disable-copyright-check */ 3 4/* C API functions */ 5 6/* static bRC PyParsePluginDefinition(PluginContext* bareos_plugin_ctx, void* value); */ 7#define Bareosfd_PyParsePluginDefinition_NUM 0 8#define Bareosfd_PyParsePluginDefinition_RETURN bRC 9#define Bareosfd_PyParsePluginDefinition_PROTO (PluginContext* bareos_plugin_ctx, void* value) 10 11/* static bRC PyGetPluginValue(PluginContext* bareos_plugin_ctx, pVariable var, void* value); */ 12#define Bareosfd_PyGetPluginValue_NUM 1 13#define Bareosfd_PyGetPluginValue_RETURN bRC 14#define Bareosfd_PyGetPluginValue_PROTO (PluginContext* bareos_plugin_ctx, pVariable var, void* value) 15 16/* static bRC PySetPluginValue(PluginContext* bareos_plugin_ctx, pVariable var, void* value); */ 17#define Bareosfd_PySetPluginValue_NUM 2 18#define Bareosfd_PySetPluginValue_RETURN bRC 19#define Bareosfd_PySetPluginValue_PROTO (PluginContext* bareos_plugin_ctx, pVariable var, void* value) 20 21/* static bRC PyHandlePluginEvent(PluginContext* bareos_plugin_ctx, bEvent* event, void* value); */ 22#define Bareosfd_PyHandlePluginEvent_NUM 3 23#define Bareosfd_PyHandlePluginEvent_RETURN bRC 24#define Bareosfd_PyHandlePluginEvent_PROTO (PluginContext* bareos_plugin_ctx, bEvent* event, void* value) 25 26/* static bRC PyStartBackupFile(PluginContext* bareos_plugin_ctx, struct save_pkt* sp); */ 27#define Bareosfd_PyStartBackupFile_NUM 4 28#define Bareosfd_PyStartBackupFile_RETURN bRC 29#define Bareosfd_PyStartBackupFile_PROTO (PluginContext* bareos_plugin_ctx, struct save_pkt* sp) 30 31/* static bRC PyEndBackupFile(PluginContext* bareos_plugin_ctx); */ 32#define Bareosfd_PyEndBackupFile_NUM 5 33#define Bareosfd_PyEndBackupFile_RETURN bRC 34#define Bareosfd_PyEndBackupFile_PROTO (PluginContext* bareos_plugin_ctx) 35 36/* static bRC PyPluginIO(PluginContext* bareos_plugin_ctx, struct io_pkt* io); */ 37#define Bareosfd_PyPluginIO_NUM 6 38#define Bareosfd_PyPluginIO_RETURN bRC 39#define Bareosfd_PyPluginIO_PROTO (PluginContext* bareos_plugin_ctx, struct io_pkt* io) 40 41/* static bRC PyStartRestoreFile(PluginContext* bareos_plugin_ctx, const char* cmd); */ 42#define Bareosfd_PyStartRestoreFile_NUM 7 43#define Bareosfd_PyStartRestoreFile_RETURN bRC 44#define Bareosfd_PyStartRestoreFile_PROTO (PluginContext* bareos_plugin_ctx, const char* cmd) 45 46/* static bRC PyEndRestoreFile(PluginContext* bareos_plugin_ctx); */ 47#define Bareosfd_PyEndRestoreFile_NUM 8 48#define Bareosfd_PyEndRestoreFile_RETURN bRC 49#define Bareosfd_PyEndRestoreFile_PROTO (PluginContext* bareos_plugin_ctx) 50 51/* static bRC PyCreateFile(PluginContext* bareos_plugin_ctx, struct restore_pkt* rp); */ 52#define Bareosfd_PyCreateFile_NUM 9 53#define Bareosfd_PyCreateFile_RETURN bRC 54#define Bareosfd_PyCreateFile_PROTO (PluginContext* bareos_plugin_ctx, struct restore_pkt* rp) 55 56/* static bRC PySetFileAttributes(PluginContext* bareos_plugin_ctx, struct restore_pkt* rp); */ 57#define Bareosfd_PySetFileAttributes_NUM 10 58#define Bareosfd_PySetFileAttributes_RETURN bRC 59#define Bareosfd_PySetFileAttributes_PROTO (PluginContext* bareos_plugin_ctx, struct restore_pkt* rp) 60 61/* static bRC PyCheckFile(PluginContext* bareos_plugin_ctx, char* fname); */ 62#define Bareosfd_PyCheckFile_NUM 11 63#define Bareosfd_PyCheckFile_RETURN bRC 64#define Bareosfd_PyCheckFile_PROTO (PluginContext* bareos_plugin_ctx, char* fname) 65 66/* static bRC PyGetAcl(PluginContext* bareos_plugin_ctx, acl_pkt* ap); */ 67#define Bareosfd_PyGetAcl_NUM 12 68#define Bareosfd_PyGetAcl_RETURN bRC 69#define Bareosfd_PyGetAcl_PROTO (PluginContext* bareos_plugin_ctx, acl_pkt* ap) 70 71/* static bRC PySetAcl(PluginContext* bareos_plugin_ctx, acl_pkt* ap); */ 72#define Bareosfd_PySetAcl_NUM 13 73#define Bareosfd_PySetAcl_RETURN bRC 74#define Bareosfd_PySetAcl_PROTO (PluginContext* bareos_plugin_ctx, acl_pkt* ap) 75 76/* static bRC PyGetXattr(PluginContext* bareos_plugin_ctx, xattr_pkt* xp); */ 77#define Bareosfd_PyGetXattr_NUM 14 78#define Bareosfd_PyGetXattr_RETURN bRC 79#define Bareosfd_PyGetXattr_PROTO (PluginContext* bareos_plugin_ctx, xattr_pkt* xp) 80 81/* static bRC PySetXattr(PluginContext* bareos_plugin_ctx, xattr_pkt* xp); */ 82#define Bareosfd_PySetXattr_NUM 15 83#define Bareosfd_PySetXattr_RETURN bRC 84#define Bareosfd_PySetXattr_PROTO (PluginContext* bareos_plugin_ctx, xattr_pkt* xp) 85 86/* static bRC PyRestoreObjectData(PluginContext* bareos_plugin_ctx, struct restore_object_pkt* rop); */ 87#define Bareosfd_PyRestoreObjectData_NUM 16 88#define Bareosfd_PyRestoreObjectData_RETURN bRC 89#define Bareosfd_PyRestoreObjectData_PROTO (PluginContext* bareos_plugin_ctx, struct restore_object_pkt* rop) 90 91/* static bRC PyHandleBackupFile(PluginContext* bareos_plugin_ctx, struct save_pkt* sp); */ 92#define Bareosfd_PyHandleBackupFile_NUM 17 93#define Bareosfd_PyHandleBackupFile_RETURN bRC 94#define Bareosfd_PyHandleBackupFile_PROTO (PluginContext* bareos_plugin_ctx, struct save_pkt* sp) 95 96/* static bRC set_bareos_core_functions(CoreFunctions* new_bareos_core_functions); */ 97#define Bareosfd_set_bareos_core_functions_NUM 18 98#define Bareosfd_set_bareos_core_functions_RETURN bRC 99#define Bareosfd_set_bareos_core_functions_PROTO (CoreFunctions* new_bareos_core_functions) 100 101/* static bRC set_plugin_context(PluginContext* new_plugin_context); */ 102#define Bareosfd_set_plugin_context_NUM 19 103#define Bareosfd_set_plugin_context_RETURN bRC 104#define Bareosfd_set_plugin_context_PROTO (PluginContext* new_plugin_context) 105 106/*Total Number of C API function pointers */ 107#define Bareosfd_API_pointers 20 108