Merge topic 'ASTERISK-25027'

* changes:
  res_pjsip: Remove incorrect MODULEINFO from presence_xml.c.
  Git Migration: Create doc/rest-api when needed.
changes/90/290/1
Matt Jordan 10 years ago committed by Gerrit Code Review
commit d6ecbbac0a

@ -982,6 +982,7 @@ ifeq ($(PYTHON),:)
@echo "--------------------------------------------------------------------------" @echo "--------------------------------------------------------------------------"
@false @false
else else
@$(INSTALL) -d doc/rest-api
$(PYTHON) rest-api-templates/make_ari_stubs.py \ $(PYTHON) rest-api-templates/make_ari_stubs.py \
rest-api/resources.json . rest-api/resources.json .
endif endif

1
doc/.gitignore vendored

@ -1 +1,2 @@
core-en_US.xml core-en_US.xml
rest-api

@ -16,14 +16,6 @@
* at the top of the source tree. * at the top of the source tree.
*/ */
/*** MODULEINFO
<depend>pjproject</depend>
<depend>res_pjsip</depend>
<depend>res_pjsip_pubsub</depend>
<depend>res_pjsip_exten_state</depend>
<support_level>core</support_level>
***/
#include "asterisk.h" #include "asterisk.h"
#include <pjsip.h> #include <pjsip.h>
@ -31,10 +23,8 @@
#include <pjlib.h> #include <pjlib.h>
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/res_pjsip.h" #include "asterisk/pbx.h"
#include "asterisk/res_pjsip_pubsub.h"
#include "asterisk/res_pjsip_presence_xml.h" #include "asterisk/res_pjsip_presence_xml.h"
#include "asterisk/res_pjsip_body_generator_types.h"
void ast_sip_sanitize_xml(const char *input, char *output, size_t len) void ast_sip_sanitize_xml(const char *input, char *output, size_t len)
{ {

Loading…
Cancel
Save