Module: sip-router Branch: pd/outbound Commit: 96347fb3b2d747712c52579abec081b8eec545d1 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=96347fb3...
Author: Peter Dunkley peter.dunkley@crocodile-rcs.com Committer: Peter Dunkley peter.dunkley@crocodile-rcs.com Date: Thu Mar 14 21:50:20 2013 +0000
lib/kcore, parser: moved parse_(options_tags|require|supported) to parser
---
.../option-tags.c => parser/parse_option_tags.c | 4 +++- .../option-tags.h => parser/parse_option_tags.h | 2 ++ {lib/kcore => parser}/parse_require.c | 2 ++ {lib/kcore => parser}/parse_require.h | 4 +++- {lib/kcore => parser}/parse_supported.c | 0 {lib/kcore => parser}/parse_supported.h | 2 +- 6 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/lib/kcore/option-tags.c b/parser/parse_option_tags.c similarity index 92% rename from lib/kcore/option-tags.c rename to parser/parse_option_tags.c index 22aac32..7d00e8c 100644 --- a/lib/kcore/option-tags.c +++ b/parser/parse_option_tags.c @@ -1,6 +1,8 @@ /* * $Id$ * + * Copyright (C) 2006 Andreas Granig agranig@linguin.org + * * This file is part of Kamailio, a free SIP server. * * Kamailio is free software; you can redistribute it and/or modify @@ -20,7 +22,7 @@ */
#include "../../mem/mem.h" -#include "option-tags.h" +#include "parse_option_tags.h"
static inline void free_option_tag(struct option_tag_body **otb) { diff --git a/lib/kcore/option-tags.h b/parser/parse_option_tags.h similarity index 98% rename from lib/kcore/option-tags.h rename to parser/parse_option_tags.h index 0f2c1f2..2f0c232 100644 --- a/lib/kcore/option-tags.h +++ b/parser/parse_option_tags.h @@ -1,6 +1,8 @@ /* * $Id$ * + * Copyright (C) 2006 Andreas Granig agranig@linguin.org + * * This file is part of Kamailio, a free SIP server. * * Kamailio is free software; you can redistribute it and/or modify diff --git a/lib/kcore/parse_require.c b/parser/parse_require.c similarity index 96% rename from lib/kcore/parse_require.c rename to parser/parse_require.c index 7bb1a3d..44619a2 100644 --- a/lib/kcore/parse_require.c +++ b/parser/parse_require.c @@ -1,6 +1,8 @@ /* * $Id$ * + * Copyright (C) 2006 Andreas Granig agranig@linguin.org + * * This file is part of Kamailio, a free SIP server. * * Kamailio is free software; you can redistribute it and/or modify diff --git a/lib/kcore/parse_require.h b/parser/parse_require.h similarity index 93% rename from lib/kcore/parse_require.h rename to parser/parse_require.h index 9214455..2499a58 100644 --- a/lib/kcore/parse_require.h +++ b/parser/parse_require.h @@ -1,6 +1,8 @@ /* * $Id$ * + * Copyright (C) 2006 Andreas Granig agranig@linguin.org + * * This file is part of Kamailio, a free SIP server. * * Kamailio is free software; you can redistribute it and/or modify @@ -31,7 +33,7 @@ #include "../../parser/msg_parser.h" #include "../../parser/hf.h" #include "../../mem/mem.h" -#include "option-tags.h" +#include "parse_option_tags.h"
#define get_require(p_msg) \ ((p_msg)->require ? ((struct option_tag_body*)(p_msg)->require->parsed)->option_tags_all : 0) diff --git a/lib/kcore/parse_supported.c b/parser/parse_supported.c similarity index 100% rename from lib/kcore/parse_supported.c rename to parser/parse_supported.c diff --git a/lib/kcore/parse_supported.h b/parser/parse_supported.h similarity index 97% rename from lib/kcore/parse_supported.h rename to parser/parse_supported.h index 77eb65a..bffbb0d 100644 --- a/lib/kcore/parse_supported.h +++ b/parser/parse_supported.h @@ -37,7 +37,7 @@
#include "../../parser/msg_parser.h" #include "../../mem/mem.h" -#include "option-tags.h" +#include "parse_option_tags.h"
#define get_supported(p_msg) \ ((p_msg)->supported ? ((struct option_tag_body*)(p_msg)->supported->parsed)->option_tags_all : 0)