Browse code

modules_k/*: moved k modules in directory modules/

Daniel-Constantin Mierla authored on 20/01/2013 11:57:52
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,45 +0,0 @@
1
-/* $Id$
2
- *
3
- * Copyright (C) 2006-2007 VozTelecom Sistemas S.L
4
- *
5
- * This file is part of Kamailio, a free SIP server.
6
- *
7
- * Kamailio is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version
11
- *
12
- * Kamailio is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License 
18
- * along with this program; if not, write to the Free Software 
19
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20
- */
21
-
22
-
23
-#include "../../parser/hf.h"
24
-#include "../../parser/msg_parser.h"
25
-
26
-#define MAX_ERROR 32
27
-#define MAX_HEADERS 32
28
-#define MAX_ENCODED_MSG 1500
29
-#define MAX_MESSAGE_LEN 1500
30
-
31
-#define TYPE_IDX 0
32
-#define MSG_START_IDX 	(TYPE_IDX+2)
33
-#define MSG_LEN_IDX 	(MSG_START_IDX+2)
34
-#define CONTENT_IDX 	(MSG_LEN_IDX+2)
35
-#define METHOD_CODE_IDX (CONTENT_IDX+2)
36
-#define URI_REASON_IDX 	(METHOD_CODE_IDX+2)
37
-#define VERSION_IDX 	(URI_REASON_IDX+2)
38
-#define REQUEST_URI_IDX (VERSION_IDX+2)
39
-
40
-#define GET_PAY_SIZE( A ) (ntohs(((short*)( A ))[1]) + ntohs(((short*)( A ))[2]))
41
-char get_header_code(struct hdr_field *f);
42
-int encode_msg(struct sip_msg *msg,char *payload,int len);
43
-int print_encoded_msg(FILE* fd,char *code,char *prefix);
44
-int dump_msg_test(char *code,FILE* fd,char header,char segregationLevel);
45
-extern unsigned int theSignal;
Browse code

Replaced dprintf for fprintf (dprintf is somewhat gnu-specific and does not compile on Mac). even though it was just used for debugging (not on the module) it prevented compilation

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

Elias Baixas authored on 13/11/2008 10:18:48
Showing 1 changed files
... ...
@@ -40,6 +40,6 @@
40 40
 #define GET_PAY_SIZE( A ) (ntohs(((short*)( A ))[1]) + ntohs(((short*)( A ))[2]))
41 41
 char get_header_code(struct hdr_field *f);
42 42
 int encode_msg(struct sip_msg *msg,char *payload,int len);
43
-int print_encoded_msg(int fd,char *code,char *prefix);
44
-int dump_msg_test(char *code,int fd,char header,char segregationLevel);
43
+int print_encoded_msg(FILE* fd,char *code,char *prefix);
44
+int dump_msg_test(char *code,FILE* fd,char header,char segregationLevel);
45 45
 extern unsigned int theSignal;
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
... ...
@@ -2,14 +2,14 @@
2 2
  *
3 3
  * Copyright (C) 2006-2007 VozTelecom Sistemas S.L
4 4
  *
5
- * This file is part of openser, a free SIP server.
5
+ * This file is part of Kamailio, a free SIP server.
6 6
  *
7
- * openser is free software; you can redistribute it and/or modify
7
+ * Kamailio is free software; you can redistribute it and/or modify
8 8
  * it under the terms of the GNU General Public License as published by
9 9
  * the Free Software Foundation; either version 2 of the License, or
10 10
  * (at your option) any later version
11 11
  *
12
- * openser is distributed in the hope that it will be useful,
12
+ * Kamailio is distributed in the hope that it will be useful,
13 13
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 14
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 15
  * GNU General Public License for more details.
Browse code

- added license and copyright

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

Daniel-Constantin Mierla authored on 11/03/2007 19:20:59
Showing 1 changed files
... ...
@@ -1,4 +1,24 @@
1
-/* $Id$ */
1
+/* $Id$
2
+ *
3
+ * Copyright (C) 2006-2007 VozTelecom Sistemas S.L
4
+ *
5
+ * This file is part of openser, a free SIP server.
6
+ *
7
+ * openser is free software; you can redistribute it and/or modify
8
+ * it under the terms of the GNU General Public License as published by
9
+ * the Free Software Foundation; either version 2 of the License, or
10
+ * (at your option) any later version
11
+ *
12
+ * openser is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+ * GNU General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU General Public License 
18
+ * along with this program; if not, write to the Free Software 
19
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20
+ */
21
+
2 22
 
3 23
 #include "../../parser/hf.h"
4 24
 #include "../../parser/msg_parser.h"
Browse code

Added code files for SEAS module

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

Elias Baixas authored on 22/12/2006 17:07:44
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,25 @@
1
+/* $Id$ */
2
+
3
+#include "../../parser/hf.h"
4
+#include "../../parser/msg_parser.h"
5
+
6
+#define MAX_ERROR 32
7
+#define MAX_HEADERS 32
8
+#define MAX_ENCODED_MSG 1500
9
+#define MAX_MESSAGE_LEN 1500
10
+
11
+#define TYPE_IDX 0
12
+#define MSG_START_IDX 	(TYPE_IDX+2)
13
+#define MSG_LEN_IDX 	(MSG_START_IDX+2)
14
+#define CONTENT_IDX 	(MSG_LEN_IDX+2)
15
+#define METHOD_CODE_IDX (CONTENT_IDX+2)
16
+#define URI_REASON_IDX 	(METHOD_CODE_IDX+2)
17
+#define VERSION_IDX 	(URI_REASON_IDX+2)
18
+#define REQUEST_URI_IDX (VERSION_IDX+2)
19
+
20
+#define GET_PAY_SIZE( A ) (ntohs(((short*)( A ))[1]) + ntohs(((short*)( A ))[2]))
21
+char get_header_code(struct hdr_field *f);
22
+int encode_msg(struct sip_msg *msg,char *payload,int len);
23
+int print_encoded_msg(int fd,char *code,char *prefix);
24
+int dump_msg_test(char *code,int fd,char header,char segregationLevel);
25
+extern unsigned int theSignal;