Browse code

lib/kcore, parser: moved parse_(options_tags|require|supported) to parser

Peter Dunkley authored on 14/03/2013 21:50:20
Showing 6 changed files
1 1
similarity index 92%
2 2
rename from lib/kcore/option-tags.c
3 3
rename to parser/parse_option_tags.c
... ...
@@ -1,6 +1,8 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
+ * Copyright (C) 2006 Andreas Granig <agranig@linguin.org>
5
+ *
4 6
  * This file is part of Kamailio, a free SIP server.
5 7
  *
6 8
  * Kamailio is free software; you can redistribute it and/or modify
... ...
@@ -20,7 +22,7 @@
20 20
  */
21 21
 
22 22
 #include "../../mem/mem.h"
23
-#include "option-tags.h"
23
+#include "parse_option_tags.h"
24 24
 
25 25
 static inline void free_option_tag(struct option_tag_body **otb)
26 26
 {
27 27
similarity index 98%
28 28
rename from lib/kcore/option-tags.h
29 29
rename to parser/parse_option_tags.h
... ...
@@ -1,6 +1,8 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
+ * Copyright (C) 2006 Andreas Granig <agranig@linguin.org>
5
+ * 
4 6
  * This file is part of Kamailio, a free SIP server.
5 7
  *
6 8
  * Kamailio is free software; you can redistribute it and/or modify
7 9
similarity index 96%
8 10
rename from lib/kcore/parse_require.c
9 11
rename to parser/parse_require.c
... ...
@@ -1,6 +1,8 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
+ * Copyright (C) 2006 Andreas Granig <agranig@linguin.org>
5
+ * 
4 6
  * This file is part of Kamailio, a free SIP server.
5 7
  *
6 8
  * Kamailio is free software; you can redistribute it and/or modify
7 9
similarity index 93%
8 10
rename from lib/kcore/parse_require.h
9 11
rename to parser/parse_require.h
... ...
@@ -1,6 +1,8 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
+ * Copyright (C) 2006 Andreas Granig <agranig@linguin.org>
5
+ *
4 6
  * This file is part of Kamailio, a free SIP server.
5 7
  *
6 8
  * Kamailio is free software; you can redistribute it and/or modify
... ...
@@ -31,7 +33,7 @@
31 31
 #include "../../parser/msg_parser.h"
32 32
 #include "../../parser/hf.h"
33 33
 #include "../../mem/mem.h"
34
-#include "option-tags.h"
34
+#include "parse_option_tags.h"
35 35
 
36 36
 #define get_require(p_msg) \
37 37
 	((p_msg)->require ? ((struct option_tag_body*)(p_msg)->require->parsed)->option_tags_all : 0)
38 38
similarity index 100%
39 39
rename from lib/kcore/parse_supported.c
40 40
rename to parser/parse_supported.c
41 41
similarity index 97%
42 42
rename from lib/kcore/parse_supported.h
43 43
rename to parser/parse_supported.h
... ...
@@ -37,7 +37,7 @@
37 37
 
38 38
 #include "../../parser/msg_parser.h"
39 39
 #include "../../mem/mem.h"
40
-#include "option-tags.h"
40
+#include "parse_option_tags.h"
41 41
 
42 42
 #define get_supported(p_msg) \
43 43
 	((p_msg)->supported ? ((struct option_tag_body*)(p_msg)->supported->parsed)->option_tags_all : 0)