Explorar o código

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

Peter Dunkley %!s(int64=12) %!d(string=hai) anos
pai
achega
96347fb3b2

+ 3 - 1
lib/kcore/option-tags.c → parser/parse_option_tags.c

@@ -1,6 +1,8 @@
 /*
 /*
  * $Id$
  * $Id$
  *
  *
+ * Copyright (C) 2006 Andreas Granig <[email protected]>
+ *
  * This file is part of Kamailio, a free SIP server.
  * This file is part of Kamailio, a free SIP server.
  *
  *
  * Kamailio is free software; you can redistribute it and/or modify
  * Kamailio is free software; you can redistribute it and/or modify
@@ -20,7 +22,7 @@
  */
  */
 
 
 #include "../../mem/mem.h"
 #include "../../mem/mem.h"
-#include "option-tags.h"
+#include "parse_option_tags.h"
 
 
 static inline void free_option_tag(struct option_tag_body **otb)
 static inline void free_option_tag(struct option_tag_body **otb)
 {
 {

+ 2 - 0
lib/kcore/option-tags.h → parser/parse_option_tags.h

@@ -1,6 +1,8 @@
 /*
 /*
  * $Id$
  * $Id$
  *
  *
+ * Copyright (C) 2006 Andreas Granig <[email protected]>
+ * 
  * This file is part of Kamailio, a free SIP server.
  * This file is part of Kamailio, a free SIP server.
  *
  *
  * Kamailio is free software; you can redistribute it and/or modify
  * Kamailio is free software; you can redistribute it and/or modify

+ 2 - 0
lib/kcore/parse_require.c → parser/parse_require.c

@@ -1,6 +1,8 @@
 /*
 /*
  * $Id$
  * $Id$
  *
  *
+ * Copyright (C) 2006 Andreas Granig <[email protected]>
+ * 
  * This file is part of Kamailio, a free SIP server.
  * This file is part of Kamailio, a free SIP server.
  *
  *
  * Kamailio is free software; you can redistribute it and/or modify
  * Kamailio is free software; you can redistribute it and/or modify

+ 3 - 1
lib/kcore/parse_require.h → parser/parse_require.h

@@ -1,6 +1,8 @@
 /*
 /*
  * $Id$
  * $Id$
  *
  *
+ * Copyright (C) 2006 Andreas Granig <[email protected]>
+ *
  * This file is part of Kamailio, a free SIP server.
  * This file is part of Kamailio, a free SIP server.
  *
  *
  * Kamailio is free software; you can redistribute it and/or modify
  * Kamailio is free software; you can redistribute it and/or modify
@@ -31,7 +33,7 @@
 #include "../../parser/msg_parser.h"
 #include "../../parser/msg_parser.h"
 #include "../../parser/hf.h"
 #include "../../parser/hf.h"
 #include "../../mem/mem.h"
 #include "../../mem/mem.h"
-#include "option-tags.h"
+#include "parse_option_tags.h"
 
 
 #define get_require(p_msg) \
 #define get_require(p_msg) \
 	((p_msg)->require ? ((struct option_tag_body*)(p_msg)->require->parsed)->option_tags_all : 0)
 	((p_msg)->require ? ((struct option_tag_body*)(p_msg)->require->parsed)->option_tags_all : 0)

+ 0 - 0
lib/kcore/parse_supported.c → parser/parse_supported.c


+ 1 - 1
lib/kcore/parse_supported.h → parser/parse_supported.h

@@ -37,7 +37,7 @@
 
 
 #include "../../parser/msg_parser.h"
 #include "../../parser/msg_parser.h"
 #include "../../mem/mem.h"
 #include "../../mem/mem.h"
-#include "option-tags.h"
+#include "parse_option_tags.h"
 
 
 #define get_supported(p_msg) \
 #define get_supported(p_msg) \
 	((p_msg)->supported ? ((struct option_tag_body*)(p_msg)->supported->parsed)->option_tags_all : 0)
 	((p_msg)->supported ? ((struct option_tag_body*)(p_msg)->supported->parsed)->option_tags_all : 0)