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,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
Browse code

core: Modify doxygen, remove history, remove SVN IDs, change "ser" and "sip-router" to "KAMAILIO"

Olle E. Johansson authored on 16/01/2015 16:38:46
Showing 1 changed files
... ...
@@ -22,7 +22,7 @@
22 22
 
23 23
 /**
24 24
  * @file
25
- * @brief SIP-router core :: resolver related functions
25
+ * @brief Kamailio core :: resolver related functions
26 26
  * @author andrei
27 27
  * @ingroup core
28 28
  * Module: @ref core
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,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
Browse code

all: updated FSF address in GPL text

Anthony Messina authored on 04/07/2014 09:36:37 • Daniel-Constantin Mierla committed on 04/07/2014 09:37:36
Showing 1 changed files
... ...
@@ -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
  * --------
Browse code

Documentation and doxygen updates

oej authored on 25/10/2009 19:49:25
Showing 1 changed files
... ...
@@ -31,6 +31,13 @@
31 31
  *  2006-07-23  created by andrei
32 32
  */
33 33
 
34
+/**
35
+ * @file
36
+ * @brief SIP-router core :: resolver related functions
37
+ * @ingroup core
38
+ * Module: @ref core
39
+ */
40
+
34 41
 #ifndef __dns_wrappers_h
35 42
 #define __dns_wrappers_h
36 43
 
Browse code

- dns naptr support (off by default) - dns naptr related config options: dns_try_naptr (off by default), dns_udp_pref, dns_tcp_pref. dns_tls_pref (protocol preferences for naptr record selection) - dns srv load balancing config options: dns_srv_lb (off by default) - dns resolver & cache api change (to support getting the protocol via naptr) - fix: dns iteration through A & AAAA records was not correct

For more info see doc/dns.txt.

Andrei Pelinescu-Onciul authored on 18/06/2007 21:20:58
Showing 1 changed files
... ...
@@ -36,6 +36,6 @@
36 36
 
37 37
 struct hostent* dns_resolvehost(char* name);
38 38
 struct hostent* dns_sip_resolvehost(str* name, unsigned short* port,
39
-										int proto);
39
+										char* proto);
40 40
 
41 41
 #endif
Browse code

- dns cache support (ser will cache both positive and negative responses if turned on, see doc/dns.txt for more details & config options) - dns failover support: when a name resolves to more then 1 ip (either multiple A or AAAA records or multiple SRVs) and sending to the first ip fails, ser will retry with the others. By default is off. See doc/dns.txt for more details/config options a.s.o. - destination blacklist: when sending to some destination (defined by ip:port and protocol) fails, ser will temporarily add this destination in a blacklist giving future sends the opportunity of immediately failing. Destination are also added to the blacklist on tm invite timeouts (when no response is received in the fr_timer interval). By default is off, see doc/dst_blacklist.txt form more details/config options. - small makefile fixes (in mode=debug) - resolver get_record api changes (updated enum)

WARNING: there are a lot of changes in tm

Andrei Pelinescu-Onciul authored on 15/09/2006 10:37:44
Showing 1 changed files
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