Browse code

app_perl: perl module moved and renamed to modules/app_perl

- same naming pattern as for the other embedded interpreters

Daniel-Constantin Mierla authored on 20/01/2013 11:47:08
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,45 +0,0 @@
1
-/*
2
- * $Id$
3
- *
4
- * Perl module for Kamailio
5
- *
6
- * Copyright (C) 2006 Collax GmbH
7
- *                    (Bastian Friedrich <bastian.friedrich@collax.com>)
8
- *
9
- * This file is part of Kamailio, a free SIP server.
10
- *
11
- * Kamailio is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License as published by
13
- * the Free Software Foundation; either version 2 of the License, or
14
- * (at your option) any later version
15
- *
16
- * Kamailio is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
- * GNU General Public License for more details.
20
- *
21
- * You should have received a copy of the GNU General Public License
22
- * along with this program; if not, write to the Free Software
23
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
- *
25
- */
26
-
27
-#ifndef PERL_FUNC_H
28
-#define PERL_FUNC_H
29
-
30
-#include "../../parser/msg_parser.h"
31
-
32
-/*
33
- * Run a perl function without a sip message parameter.
34
- */
35
-int perl_exec_simple1(struct sip_msg* _msg, char* fnc, char* str2);
36
-int perl_exec_simple2(struct sip_msg* _msg, char* fnc, char* str2);
37
-
38
-/*
39
- * Run function with a reference to the current SIP message.
40
- * An optional string may be passed to perl_exec_string.
41
- */
42
-int perl_exec1(struct sip_msg* _msg, char* fnc, char *foobar);
43
-int perl_exec2(struct sip_msg* _msg, char* fnc, char* mystr);
44
-
45
-#endif /* PERL_FUNC_H */
Browse code

perl: renaming openser to kamailio in C source files

Daniel-Constantin Mierla authored on 20/01/2013 10:47:48
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * Perl module for OpenSER
4
+ * Perl module for Kamailio
5 5
  *
6 6
  * Copyright (C) 2006 Collax GmbH
7 7
  *                    (Bastian Friedrich <bastian.friedrich@collax.com>)
Browse code

- change name in copyright headers

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4518 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 28/07/2008 15:39:28
Showing 1 changed files
... ...
@@ -6,14 +6,14 @@
6 6
  * Copyright (C) 2006 Collax GmbH
7 7
  *                    (Bastian Friedrich <bastian.friedrich@collax.com>)
8 8
  *
9
- * This file is part of openser, a free SIP server.
9
+ * This file is part of Kamailio, a free SIP server.
10 10
  *
11
- * openser is free software; you can redistribute it and/or modify
11
+ * Kamailio is free software; you can redistribute it and/or modify
12 12
  * it under the terms of the GNU General Public License as published by
13 13
  * the Free Software Foundation; either version 2 of the License, or
14 14
  * (at your option) any later version
15 15
  *
16
- * openser is distributed in the hope that it will be useful,
16
+ * Kamailio is distributed in the hope that it will be useful,
17 17
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 18
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 19
  * GNU General Public License for more details.
Browse code

Modifying header #defines (PERL_FUNC_H now)

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@1406 689a6050-402a-0410-94f2-e92a70836424

Bastian Friedrich authored on 15/12/2006 09:19:12
Showing 1 changed files
... ...
@@ -24,8 +24,8 @@
24 24
  *
25 25
  */
26 26
 
27
-#ifndef MOD_PERL_H
28
-#define MOD_PERL_H
27
+#ifndef PERL_FUNC_H
28
+#define PERL_FUNC_H
29 29
 
30 30
 #include "../../parser/msg_parser.h"
31 31
 
... ...
@@ -42,4 +42,4 @@ int perl_exec_simple2(struct sip_msg* _msg, char* fnc, char* str2);
42 42
 int perl_exec1(struct sip_msg* _msg, char* fnc, char *foobar);
43 43
 int perl_exec2(struct sip_msg* _msg, char* fnc, char* mystr);
44 44
 
45
-#endif /* MOD_PERL_H */
45
+#endif /* PERL_FUNC_H */
Browse code

Initial import of Perl module.

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@1341 689a6050-402a-0410-94f2-e92a70836424

Bastian Friedrich authored on 08/12/2006 14:56:06
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,45 @@
1
+/*
2
+ * $Id$
3
+ *
4
+ * Perl module for OpenSER
5
+ *
6
+ * Copyright (C) 2006 Collax GmbH
7
+ *                    (Bastian Friedrich <bastian.friedrich@collax.com>)
8
+ *
9
+ * This file is part of openser, a free SIP server.
10
+ *
11
+ * openser is free software; you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation; either version 2 of the License, or
14
+ * (at your option) any later version
15
+ *
16
+ * openser is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program; if not, write to the Free Software
23
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
+ *
25
+ */
26
+
27
+#ifndef MOD_PERL_H
28
+#define MOD_PERL_H
29
+
30
+#include "../../parser/msg_parser.h"
31
+
32
+/*
33
+ * Run a perl function without a sip message parameter.
34
+ */
35
+int perl_exec_simple1(struct sip_msg* _msg, char* fnc, char* str2);
36
+int perl_exec_simple2(struct sip_msg* _msg, char* fnc, char* str2);
37
+
38
+/*
39
+ * Run function with a reference to the current SIP message.
40
+ * An optional string may be passed to perl_exec_string.
41
+ */
42
+int perl_exec1(struct sip_msg* _msg, char* fnc, char *foobar);
43
+int perl_exec2(struct sip_msg* _msg, char* fnc, char* mystr);
44
+
45
+#endif /* MOD_PERL_H */