Browse code

core: cfg lex - clean history and update application name

Daniel-Constantin Mierla authored on 08/10/2015 16:44:48
Showing 2 changed files
... ...
@@ -1,13 +1,11 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * scanner for cfg files
5 3
  *
6 4
  * Copyright (C) 2001-2003 FhG Fokus
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
... ...
@@ -17,7 +15,7 @@
17 17
  * software, please contact iptel.org by e-mail at the following addresses:
18 18
  *    info@iptel.org
19 19
  *
20
- * ser is distributed in the hope that it will be useful,
20
+ * Kamailio is distributed in the hope that it will be useful,
21 21
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 22
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 23
  * GNU General Public License for more details.
... ...
@@ -26,62 +24,6 @@
26 26
  * along with this program; if not, write to the Free Software
27 27
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
28 28
  *
29
- * History:
30
- * -------
31
- *  2003-01-29  src_port added (jiri)
32
- *  2003-01-23  mhomed added (jiri)
33
- *  2003-03-19  replaced all the mallocs/frees w/ pkg_malloc/pkg_free (andrei)
34
- *  2003-04-01  added dst_port, proto (tcp, udp, tls), af(inet, inet6) (andrei)
35
- *  2003-04-05  s/reply_route/failure_route, onreply_route introduced (jiri)
36
- *  2003-04-12  added force_rport, chdir and wdir (andrei)
37
- *  2003-04-22  strip_tail added (jiri)
38
- *  2003-07-03  tls* (disable, certificate, private_key, ca_list, verify,
39
- *               require_certificate added (andrei)
40
- *  2003-07-06  more tls config. vars added: tls_method, tls_port_no (andrei)
41
- *  2003-10-02  added {,set_}advertised_{address,port} (andrei)
42
- *  2003-10-07  added hex and octal numbers support (andrei)
43
- *  2003-10-10  replaced len_gt w/ msg:len (andrei)
44
- *  2003-10-13  added fifo_dir (andrei)
45
- *  2003-10-28  added tcp_accept_aliases (andrei)
46
- *  2003-11-29  added {tcp_send, tcp_connect, tls_*}_timeout (andrei)
47
- *  2004-03-30  added DISABLE_CORE and OPEN_FD_LIMIT (andrei)
48
- *  2004-04-28  added sock_mode (replaces fifo_mode), sock_user &
49
- *               sock_group  (andrei)
50
- *  2004-05-03  applied multicast support patch from janakj
51
- *              added MCAST_TTL (andrei)
52
- *  2004-10-08  more escapes: \", \xHH, \nnn and minor optimizations (andrei)
53
- *  2004-10-19  added FROM_URI and TO_URI (andrei)
54
- *  2004-11-30  added force_send_socket
55
- *  2005-07-08  added tcp_connection_lifetime, tcp_poll_method,
56
- *               tcp_max_connections (andrei)
57
- *  2005-07-11  added dns_retr_{time,no}, dns_servers_no, dns_use_search_list,
58
- *              dns_try_ipv6 (andrei)
59
- *  2005-12-11  added onsend_route, snd_{ip,port,proto,af},
60
- *              to_{ip,port} (andrei)
61
- *  2005-12-12  separated drop, exit, break, return, added RETCODE (andrei)
62
- *  2005-12-19  select framework (mma)
63
- *  2006-09-11  added dns cache (use, flags, ttls, mem ,gc) & dst blacklist
64
- *              options (andrei)
65
- *  2006-10-13  added STUN_ALLOW_STUN, STUN_ALLOW_FP, STUN_REFRESH_INTERVAL
66
- *              (vlada)
67
- *  2007-06-07  added SHM_FORCE_ALLOC, MLOCK_PAGES, REAL_TIME, RT_PRIO,
68
- *              RT_POLICY, RT_TIMER1_PRIO, RT_TIMER1_POLICY, RT_TIMER2_PRIO,
69
- *              RT_TIMER2_POLICY (andrei)
70
- *  2007-06-16  added DNS_SRV_LB, DNS_TRY_NAPTR (andrei)
71
- *  2007-06-18  added DNS_{UDP,TCP,TLS}_PREF (andrei)
72
- *  2007-09-10  introduced phone2tel option which allows NOT to consider
73
- *              user=phone URIs as TEL URIs (jiri)
74
- *  2007-10-10  added DNS_SEARCH_FMATCH (mma)
75
- *  2007-11-28  added TCP_OPT_{FD_CACHE, DEFER_ACCEPT, DELAYED_ACK, SYNCNT,
76
- *              LINGER2, KEEPALIVE, KEEPIDLE, KEEPINTVL, KEEPCNT} (andrei)
77
- *  2008-01-24  added CFG_DESCRIPTION used by cfg_var (Miklos)
78
- *  2008-11-28  added support for kamailio pvars and avp/pvar guessing (andrei)
79
- *  2008-12-11  added support for "string1" "string2" (andrei)
80
- *  2009-03-10  added SET_USERPHONE action (Miklos)
81
- *  2009-04-24  add strlen, strempty and defined operators (andrei)
82
- *  2009-03-07  RETCODE, it's now  a core pvar (andrei)
83
- *  2010-01-10  added SHM_MEM_SZ (andrei)
84
- *  2010-02-17 added DST_BLST_{UDP,TCP,TLS,SCTP}_IMASK (andrei)
85 29
 */
86 30
 
87 31
 %option noinput
... ...
@@ -1,13 +1,11 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  *  cfg grammar
5 3
  *
6 4
  * Copyright (C) 2001-2003 FhG Fokus
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
... ...
@@ -17,7 +15,7 @@
17 17
  * software, please contact iptel.org by e-mail at the following addresses:
18 18
  *    info@iptel.org
19 19
  *
20
- * ser is distributed in the hope that it will be useful,
20
+ * Kamailio is distributed in the hope that it will be useful,
21 21
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 22
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 23
  * GNU General Public License for more details.
... ...
@@ -26,80 +24,6 @@
26 26
  * along with this program; if not, write to the Free Software
27 27
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
28 28
  */
29
- /*
30
- * History:
31
- * ---------
32
- * 2003-01-29  src_port added (jiri)
33
- * 2003-01-23  mhomed added (jiri)
34
- * 2003-03-19  replaced all mallocs/frees with pkg_malloc/pkg_free (andrei)
35
- * 2003-03-19  Added support for route type in find_export (janakj)
36
- * 2003-03-20  Regex support in modparam (janakj)
37
- * 2003-04-01  added dst_port, proto , af (andrei)
38
- * 2003-04-05  s/reply_route/failure_route, onreply_route introduced (jiri)
39
- * 2003-04-12  added force_rport, chroot and wdir (andrei)
40
- * 2003-04-15  added tcp_children, disable_tcp (andrei)
41
- * 2003-04-22  strip_tail added (jiri)
42
- * 2003-07-03  tls* (disable, certificate, private_key, ca_list, verify,
43
- *              require_certificate added (andrei)
44
- * 2003-07-06  more tls config. vars added: tls_method, tls_port_no (andrei)
45
- * 2003-10-02  added {,set_}advertised_{address,port} (andrei)
46
- * 2003-10-10  added <,>,<=,>=, != operators support
47
- *             added msg:len (andrei)
48
- * 2003-10-11  if(){} doesn't require a ';' after it anymore (andrei)
49
- * 2003-10-13  added FIFO_DIR & proto:host:port listen/alias support (andrei)
50
- * 2003-10-24  converted to the new socket_info lists (andrei)
51
- * 2003-10-28  added tcp_accept_aliases (andrei)
52
- * 2003-11-20  added {tcp_connect, tcp_send, tls_*}_timeout (andrei)
53
- * 2004-03-30  added DISABLE_CORE and OPEN_FD_LIMIT (andrei)
54
- * 2004-04-29  added SOCK_MODE, SOCK_USER & SOCK_GROUP (andrei)
55
- * 2004-05-03  applied multicast support patch (MCAST_LOOPBACK) from janakj
56
- *             added MCAST_TTL (andrei)
57
- * 2004-07-05  src_ip & dst_ip will detect ip addresses between quotes
58
- *              (andrei)
59
- * 2004-10-19  added FROM_URI, TO_URI (andrei)
60
- * 2004-11-30  added force_send_socket (andrei)
61
- * 2005-07-08  added TCP_CON_LIFETIME, TCP_POLL_METHOD, TCP_MAX_CONNECTIONS
62
- *              (andrei)
63
- * 2005-07-11 added DNS_RETR_TIME, DNS_RETR_NO, DNS_SERVERS_NO, DNS_USE_SEARCH,
64
- *             DNS_TRY_IPV6 (andrei)
65
- * 2005-07-12  default onreply route added (andrei)
66
- * 2005-11-16  fixed if (cond) cmd; (andrei)
67
- * 2005-12-11  added onsend_route support, fcmd (filtered cmd),
68
- *             snd_{ip,port,proto,af}, to_{ip,proto} (andrei)
69
- * 2005-12-19  select framework (mma)
70
- * 2006-01-06  AVP index support (mma)
71
- * 2005-01-07  optional semicolon in statement, PARAM_STR&PARAM_STRING
72
- * 2006-02-02  named flags support (andrei)
73
- * 2006-02-06  named routes support (andrei)
74
- * 2006-05-30  avp flags (tma)
75
- * 2006-09-11  added dns cache (use, flags, ttls, mem ,gc) & dst blacklist
76
- *              options (andrei)
77
- * 2006-10-13  added STUN_ALLOW_STUN, STUN_ALLOW_FP, STUN_REFRESH_INTERVAL
78
- *              (vlada)
79
- * 2007-02-09  separated command needed for tls-in-core and for tls in general
80
- *              (andrei)
81
- * 2007-06-07  added SHM_FORCE_ALLOC, MLOCK_PAGES, REAL_TIME, RT_PRIO,
82
- *              RT_POLICY, RT_TIMER1_PRIO, RT_TIMER1_POLICY, RT_TIMER2_PRIO,
83
- *              RT_TIMER2_POLICY (andrei)
84
- * 2007-06-16  added DDNS_SRV_LB, DNS_TRY_NAPTR (andrei)
85
- * 2007-09-10  introduced phone2tel option which allows NOT to consider
86
- *             user=phone URIs as TEL URIs (jiri)
87
- * 2007-10-10  added DNS_SEARCH_FMATCH (mma)
88
- * 2007-11-28  added TCP_OPT_{FD_CACHE, DEFER_ACCEPT, DELAYED_ACK, SYNCNT,
89
- *              LINGER2, KEEPALIVE, KEEPIDLE, KEEPINTVL, KEEPCNT} (andrei)
90
- * 2008-01-24  added cfg_var definition (Miklos)
91
- * 2008-11-18  support for variable parameter module functions (andrei)
92
- * 2007-12-03  support for generalised lvalues and rvalues:
93
- *               lval=rval_expr, where lval=avp|pvar  (andrei)
94
- * 2007-12-06  expression are now evaluated in terms of rvalues;
95
- *             NUMBER is now always positive; cleanup (andrei)
96
- * 2009-01-26  case/switch() support (andrei)
97
- * 2009-03-10  added SET_USERPHONE action (Miklos)
98
- * 2009-05-04  switched if to rval_expr (andrei)
99
- * 2010-01-10  init shm on first mod_param or route block;
100
- *             added SHM_MEM_SZ (andrei)
101
- * 2010-02-17  added blacklist imask (DST_BLST_*_IMASK) support (andrei)
102
-*/
103 29
 
104 30
 %expect 6
105 31