Abstract PJSIP-specific elements from the pubsub API.

This helps to pave the way for RLS work that is to come.
Since this is a self-contained change and subscription
tests still pass, this work is being committed directly
to trunk instead of a working branch.

ASTERISK-23865 #close
Review: https://reviewboard.asterisk.org/r/3628



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2014-06-25 20:57:28 +00:00
parent 4a7a36a0a1
commit bc8c08c609
7 changed files with 841 additions and 867 deletions

View File

@@ -79,7 +79,7 @@ static int pidf_generate_body_content(void *body, void *data)
return 0;
}
#define MAX_STRING_GROWTHS 3
#define MAX_STRING_GROWTHS 5
#define XML_PROLOG 39
static void pidf_to_string(void *body, struct ast_str **str)