github.com/craicoverflow/tyk@v2.9.6-rc3+incompatible/coprocess/python/dispatcher.h (about) 1 #include <Python.h> 2 3 #ifndef TYK_COPROCESS_PYTHON_DISPATCHER 4 #define TYK_COPROCESS_PYTHON_DISPATCHER 5 6 extern void dispatch_hook(char*, char*); 7 8 static char* dispatcher_module_name = "dispatcher"; 9 static char* dispatcher_class_name = "TykDispatcher"; 10 static char* hook_name = "dispatch_hook"; 11 static char* load_bundle_name = "load_bundle"; 12 13 static char* dispatch_event_name_s = "dispatch_event"; 14 static PyObject* dispatch_event_name; 15 static PyObject* dispatch_event; 16 17 static PyObject* dispatcher_module; 18 static PyObject* dispatcher_module_dict; 19 static PyObject* dispatcher_class; 20 21 static PyObject* dispatcher_args; 22 static PyObject* dispatcher; 23 24 static PyObject* dispatcher_hook_name; 25 static PyObject* dispatcher_hook; 26 27 static PyObject* dispatcher_load_bundle_name; 28 static PyObject* dispatcher_load_bundle; 29 30 static char* dispatcher_reload = "reload"; 31 static PyObject* dispatcher_reload_hook; 32 33 #endif