Browse code

core, lib, modules: restructured source code tree

- new folder src/ to hold the source code for main project applications
- main.c is in src/
- all core files are subfolder are in src/core/
- modules are in src/modules/
- libs are in src/lib/
- application Makefiles are in src/
- application binary is built in src/ (src/kamailio)

Daniel-Constantin Mierla authored on 07/12/2016 11:03:51
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,21 +0,0 @@
1
-
2
-#ifndef _CRC_H_
3
-#define _CRC_H_
4
-
5
-#include "str.h"
6
-
7
-#define CRC16_LEN	4
8
-
9
-extern unsigned long int crc_32_tab[];
10
-extern unsigned short int ccitt_tab[];
11
-extern unsigned short int crc_16_tab[];
12
-
13
-
14
-unsigned short crcitt_string_ex( char *s, int len, register unsigned short ccitt);
15
-unsigned short crcitt_string( char *s, int len );
16
-void crcitt_string_array( char *dst, str src[], int size );
17
-
18
-void crc32_uint (str *source_string, unsigned int *hash_ret);
19
-
20
-#endif /* _CRC_H_ */
21
-
Browse code

core : Update include files - delete IDs, update doxygen, delete history

Olle E. Johansson authored on 03/01/2015 10:55:48
Showing 1 changed files
... ...
@@ -1,4 +1,3 @@
1
-/* $Id$*/
2 1
 
3 2
 #ifndef _CRC_H_
4 3
 #define _CRC_H_
Browse code

lib/kcore: cleaned up unused code

- local route and errinfo related code were not used for long time
- also moved some bits of code to more appropriate location

Daniel-Constantin Mierla authored on 10/02/2012 12:42:59
Showing 1 changed files
... ...
@@ -16,5 +16,7 @@ unsigned short crcitt_string_ex( char *s, int len, register unsigned short ccitt
16 16
 unsigned short crcitt_string( char *s, int len );
17 17
 void crcitt_string_array( char *dst, str src[], int size );
18 18
 
19
+void crc32_uint (str *source_string, unsigned int *hash_ret);
20
+
19 21
 #endif /* _CRC_H_ */
20 22
 
Browse code

- added crcitt_string_ex to enable computing for multiple strings

Tomas Mandys authored on 16/02/2006 15:51:59
Showing 1 changed files
... ...
@@ -11,6 +11,8 @@ extern unsigned long int crc_32_tab[];
11 11
 extern unsigned short int ccitt_tab[];
12 12
 extern unsigned short int crc_16_tab[];
13 13
 
14
+
15
+unsigned short crcitt_string_ex( char *s, int len, register unsigned short ccitt);
14 16
 unsigned short crcitt_string( char *s, int len );
15 17
 void crcitt_string_array( char *dst, str src[], int size );
16 18
 
Browse code

- fixed missing #ifndefs.

Jan Janak authored on 10/04/2003 12:37:50
Showing 1 changed files
... ...
@@ -3,6 +3,8 @@
3 3
 #ifndef _CRC_H_
4 4
 #define _CRC_H_
5 5
 
6
+#include "str.h"
7
+
6 8
 #define CRC16_LEN	4
7 9
 
8 10
 extern unsigned long int crc_32_tab[];
... ...
@@ -12,5 +14,5 @@ extern unsigned short int crc_16_tab[];
12 14
 unsigned short crcitt_string( char *s, int len );
13 15
 void crcitt_string_array( char *dst, str src[], int size );
14 16
 
15
-#endif
17
+#endif /* _CRC_H_ */
16 18
 
Browse code

added variable to-rag part to mitigate dropping TM-owned ACKs

Jiri Kuthan authored on 26/05/2002 17:53:21
Showing 1 changed files
... ...
@@ -3,9 +3,14 @@
3 3
 #ifndef _CRC_H_
4 4
 #define _CRC_H_
5 5
 
6
+#define CRC16_LEN	4
7
+
6 8
 extern unsigned long int crc_32_tab[];
7 9
 extern unsigned short int ccitt_tab[];
8 10
 extern unsigned short int crc_16_tab[];
9 11
 
12
+unsigned short crcitt_string( char *s, int len );
13
+void crcitt_string_array( char *dst, str src[], int size );
14
+
10 15
 #endif
11 16
 
Browse code

performance and bug fixes

Jiri Kuthan authored on 07/01/2002 04:39:49
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+/* $Id$*/
2
+
3
+#ifndef _CRC_H_
4
+#define _CRC_H_
5
+
6
+extern unsigned long int crc_32_tab[];
7
+extern unsigned short int ccitt_tab[];
8
+extern unsigned short int crc_16_tab[];
9
+
10
+#endif
11
+