- 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)
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,37 +0,0 @@ |
1 |
-/* |
|
2 |
- * resolver related functions |
|
3 |
- * |
|
4 |
- * Copyright (C) 2006 iptelorg GmbH |
|
5 |
- * |
|
6 |
- * This file is part of Kamailio, a free SIP server. |
|
7 |
- * |
|
8 |
- * Kamailio is free software; you can redistribute it and/or modify |
|
9 |
- * it under the terms of the GNU General Public License as published by |
|
10 |
- * the Free Software Foundation; either version 2 of the License, or |
|
11 |
- * (at your option) any later version |
|
12 |
- * |
|
13 |
- * Kamailio is distributed in the hope that it will be useful, |
|
14 |
- * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
- * GNU General Public License for more details. |
|
17 |
- * |
|
18 |
- * You should have received a copy of the GNU General Public License |
|
19 |
- * along with this program; if not, write to the Free Software |
|
20 |
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
21 |
- */ |
|
22 |
- |
|
23 |
-/** |
|
24 |
- * @file |
|
25 |
- * @brief Kamailio core :: resolver related functions |
|
26 |
- * @author andrei |
|
27 |
- * @ingroup core |
|
28 |
- * Module: @ref core |
|
29 |
- */ |
|
30 |
- |
|
31 |
-#ifndef __dns_wrappers_h |
|
32 |
-#define __dns_wrappers_h |
|
33 |
- |
|
34 |
-struct hostent* dns_resolvehost(char* name); |
|
35 |
-struct hostent* dns_sip_resolvehost(str* name, unsigned short* port, char* proto); |
|
36 |
- |
|
37 |
-#endif |
... | ... |
@@ -1,23 +1,16 @@ |
1 | 1 |
/* |
2 |
- * $Id$ |
|
3 |
- * |
|
4 | 2 |
* resolver related functions |
5 | 3 |
* |
6 | 4 |
* Copyright (C) 2006 iptelorg GmbH |
7 | 5 |
* |
8 |
- * This file is part of ser, a free SIP server. |
|
6 |
+ * This file is part of Kamailio, a free SIP server. |
|
9 | 7 |
* |
10 |
- * ser is free software; you can redistribute it and/or modify |
|
8 |
+ * Kamailio is free software; you can redistribute it and/or modify |
|
11 | 9 |
* it under the terms of the GNU General Public License as published by |
12 | 10 |
* the Free Software Foundation; either version 2 of the License, or |
13 | 11 |
* (at your option) any later version |
14 | 12 |
* |
15 |
- * For a license to use the ser software under conditions |
|
16 |
- * other than those described here, or to purchase support for this |
|
17 |
- * software, please contact iptel.org by e-mail at the following addresses: |
|
18 |
- * info@iptel.org |
|
19 |
- * |
|
20 |
- * ser is distributed in the hope that it will be useful, |
|
13 |
+ * Kamailio is distributed in the hope that it will be useful, |
|
21 | 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
22 | 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
23 | 16 |
* GNU General Public License for more details. |
... | ... |
@@ -26,14 +19,11 @@ |
26 | 19 |
* along with this program; if not, write to the Free Software |
27 | 20 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
28 | 21 |
*/ |
29 |
-/* History: |
|
30 |
- * -------- |
|
31 |
- * 2006-07-23 created by andrei |
|
32 |
- */ |
|
33 | 22 |
|
34 | 23 |
/** |
35 | 24 |
* @file |
36 | 25 |
* @brief SIP-router core :: resolver related functions |
26 |
+ * @author andrei |
|
37 | 27 |
* @ingroup core |
38 | 28 |
* Module: @ref core |
39 | 29 |
*/ |
... | ... |
@@ -42,7 +32,6 @@ |
42 | 32 |
#define __dns_wrappers_h |
43 | 33 |
|
44 | 34 |
struct hostent* dns_resolvehost(char* name); |
45 |
-struct hostent* dns_sip_resolvehost(str* name, unsigned short* port, |
|
46 |
- char* proto); |
|
35 |
+struct hostent* dns_sip_resolvehost(str* name, unsigned short* port, char* proto); |
|
47 | 36 |
|
48 | 37 |
#endif |
... | ... |
@@ -24,7 +24,7 @@ |
24 | 24 |
* |
25 | 25 |
* You should have received a copy of the GNU General Public License |
26 | 26 |
* along with this program; if not, write to the Free Software |
27 |
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
27 |
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
28 | 28 |
*/ |
29 | 29 |
/* History: |
30 | 30 |
* -------- |
For more info see doc/dns.txt.
WARNING: there are a lot of changes in tm
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,41 @@ |
1 |
+/* |
|
2 |
+ * $Id$ |
|
3 |
+ * |
|
4 |
+ * resolver related functions |
|
5 |
+ * |
|
6 |
+ * Copyright (C) 2006 iptelorg GmbH |
|
7 |
+ * |
|
8 |
+ * This file is part of ser, a free SIP server. |
|
9 |
+ * |
|
10 |
+ * ser is free software; you can redistribute it and/or modify |
|
11 |
+ * it under the terms of the GNU General Public License as published by |
|
12 |
+ * the Free Software Foundation; either version 2 of the License, or |
|
13 |
+ * (at your option) any later version |
|
14 |
+ * |
|
15 |
+ * For a license to use the ser software under conditions |
|
16 |
+ * other than those described here, or to purchase support for this |
|
17 |
+ * software, please contact iptel.org by e-mail at the following addresses: |
|
18 |
+ * info@iptel.org |
|
19 |
+ * |
|
20 |
+ * ser is distributed in the hope that it will be useful, |
|
21 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
22 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
23 |
+ * GNU General Public License for more details. |
|
24 |
+ * |
|
25 |
+ * You should have received a copy of the GNU General Public License |
|
26 |
+ * along with this program; if not, write to the Free Software |
|
27 |
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
28 |
+ */ |
|
29 |
+/* History: |
|
30 |
+ * -------- |
|
31 |
+ * 2006-07-23 created by andrei |
|
32 |
+ */ |
|
33 |
+ |
|
34 |
+#ifndef __dns_wrappers_h |
|
35 |
+#define __dns_wrappers_h |
|
36 |
+ |
|
37 |
+struct hostent* dns_resolvehost(char* name); |
|
38 |
+struct hostent* dns_sip_resolvehost(str* name, unsigned short* port, |
|
39 |
+ int proto); |
|
40 |
+ |
|
41 |
+#endif |