Module: kamailio Branch: master Commit: 96a1367ef9c0977c4b7ae378ad76ec22d393e990 URL: https://github.com/kamailio/kamailio/commit/96a1367ef9c0977c4b7ae378ad76ec22...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-03-10T12:18:28+01:00
app_python3: renamed main files to match module name
---
Added: src/modules/app_python3/app_python3_mod.c Added: src/modules/app_python3/app_python3_mod.h Modified: src/modules/app_python3/mod_Core.c Modified: src/modules/app_python3/mod_Logger.c Modified: src/modules/app_python3/mod_Ranks.c Modified: src/modules/app_python3/mod_Router.c Modified: src/modules/app_python3/python_exec.c Modified: src/modules/app_python3/python_support.c Removed: src/modules/app_python3/app_python_mod.c Removed: src/modules/app_python3/app_python_mod.h
---
Diff: https://github.com/kamailio/kamailio/commit/96a1367ef9c0977c4b7ae378ad76ec22... Patch: https://github.com/kamailio/kamailio/commit/96a1367ef9c0977c4b7ae378ad76ec22...
---
diff --git a/src/modules/app_python3/app_python_mod.c b/src/modules/app_python3/app_python3_mod.c similarity index 99% rename from src/modules/app_python3/app_python_mod.c rename to src/modules/app_python3/app_python3_mod.c index 180bb74230..5d45f3f355 100644 --- a/src/modules/app_python3/app_python_mod.c +++ b/src/modules/app_python3/app_python3_mod.c @@ -31,7 +31,7 @@ #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" -#include "app_python_mod.h" +#include "app_python3_mod.h"
#include "mod_Router.h" #include "mod_Core.h" diff --git a/src/modules/app_python3/app_python_mod.h b/src/modules/app_python3/app_python3_mod.h similarity index 94% rename from src/modules/app_python3/app_python_mod.h rename to src/modules/app_python3/app_python3_mod.h index 0c108e2d3f..b011036172 100644 --- a/src/modules/app_python3/app_python_mod.h +++ b/src/modules/app_python3/app_python3_mod.h @@ -19,8 +19,8 @@ * */
-#ifndef _PYTHON_MOD_H -#define _PYTHON_MOD_H +#ifndef _APP_PYTHON3_MOD_H +#define _APP_PYTHON3_MOD_H
#include <Python.h>
diff --git a/src/modules/app_python3/mod_Core.c b/src/modules/app_python3/mod_Core.c index 4572a1bb80..c8963b6011 100644 --- a/src/modules/app_python3/mod_Core.c +++ b/src/modules/app_python3/mod_Core.c @@ -33,7 +33,7 @@
// local includes #include "python_exec.h" -#include "app_python_mod.h" +#include "app_python3_mod.h" #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" diff --git a/src/modules/app_python3/mod_Logger.c b/src/modules/app_python3/mod_Logger.c index b723269bb8..424ed31bc9 100644 --- a/src/modules/app_python3/mod_Logger.c +++ b/src/modules/app_python3/mod_Logger.c @@ -33,7 +33,7 @@
// local includes #include "python_exec.h" -#include "app_python_mod.h" +#include "app_python3_mod.h" #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" diff --git a/src/modules/app_python3/mod_Ranks.c b/src/modules/app_python3/mod_Ranks.c index 80860284bd..118c2ca4f3 100644 --- a/src/modules/app_python3/mod_Ranks.c +++ b/src/modules/app_python3/mod_Ranks.c @@ -33,7 +33,7 @@
// local includes #include "python_exec.h" -#include "app_python_mod.h" +#include "app_python3_mod.h" #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" diff --git a/src/modules/app_python3/mod_Router.c b/src/modules/app_python3/mod_Router.c index 3fe96f08f1..04183ba47d 100644 --- a/src/modules/app_python3/mod_Router.c +++ b/src/modules/app_python3/mod_Router.c @@ -32,7 +32,7 @@
// local includes #include "python_exec.h" -#include "app_python_mod.h" +#include "app_python3_mod.h" #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" diff --git a/src/modules/app_python3/python_exec.c b/src/modules/app_python3/python_exec.c index 55f40c1e47..b402a2b9d6 100644 --- a/src/modules/app_python3/python_exec.c +++ b/src/modules/app_python3/python_exec.c @@ -33,7 +33,7 @@ #include "../../core/locking.h"
#include "python_exec.h" -#include "app_python_mod.h" +#include "app_python3_mod.h" #include "python_msgobj.h" #include "python_support.h"
diff --git a/src/modules/app_python3/python_support.c b/src/modules/app_python3/python_support.c index 2ad522901a..e7dc47d526 100644 --- a/src/modules/app_python3/python_support.c +++ b/src/modules/app_python3/python_support.c @@ -26,7 +26,7 @@ #include "../../core/dprint.h" #include "../../core/mem/mem.h"
-#include "app_python_mod.h" +#include "app_python3_mod.h" #include "python_support.h"
static char *make_message(const char *fmt, va_list args);