#### utils: use spve fixup - more flexibility in allowing strings and variables

Daniel-Constantin Mierla authored on 28/04/2017 09:16:26
Showing 1 changed files
 ... ... @@ -39,7 +39,8 @@ 39 39  * Checks from presence server xcap table if watcher is authorized 40 40  * to subscribe event 'presence' of presentity. 41 41  */ 42 -int xcap_auth_status(struct sip_msg* _msg, char* _sp1, char* _sp2); 42 +int w_xcap_auth_status(struct sip_msg* _msg, char* _sp1, char* _sp2); 43 43   44 +int ki_xcap_auth_status(sip_msg_t* _msg, str* watcher_uri, str* presentity_uri); 44 45   45 46  #endif /* XCAP_AUTH_FUNCTIONS_H */

#### core, lib, modules: updated include paths for header files

Daniel-Constantin Mierla authored on 07/12/2016 11:07:22
Showing 1 changed files
 ... ... @@ -32,7 +32,7 @@ 32 32  #ifndef XCAP_AUTH_FUNCTIONS_H 33 33  #define XCAP_AUTH_FUNCTIONS_H 34 34   35 -#include "../../parser/msg_parser.h" 35 +#include "../../core/parser/msg_parser.h" 36 36   37 37   38 38  /*

#### core, lib, modules: restructured source code tree

- new folder src/ to hold the source code for main project applications
- main.c is in src/
- all core files are subfolder are in src/core/
- modules are in src/modules/
- libs are in src/lib/
- application Makefiles are in src/
- application binary is built in src/ (src/kamailio)

Daniel-Constantin Mierla authored on 07/12/2016 11:03:51
Showing 1 changed files
 1 1 new file mode 100644 ... ... @@ -0,0 +1,45 @@ 1 +/* 2 + * headers of xcap_auth functions of utils module 3 + * 4 + * Copyright (C) 2009 Juha Heinanen 5 + * 6 + * This file is part of Kamailio, a free SIP server. 7 + * 8 + * Kamailio is free software; you can redistribute it and/or modify 9 + * it under the terms of the GNU General Public License as published by 10 + * the Free Software Foundation; either version 2 of the License, or 11 + * (at your option) any later version 12 + * 13 + * Kamailio is distributed in the hope that it will be useful, 14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 + * GNU General Public License for more details. 17 + * 18 + * You should have received a copy of the GNU General Public License  19 + * along with this program; if not, write to the Free Software  20 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 + * 22 + */ 23 + 24 + 25 +/*! 26 + * \file 27 + * \brief Kamailio utils ::  28 + * \ingroup utils 29 + * Module: \ref utils 30 + */ 31 + 32 +#ifndef XCAP_AUTH_FUNCTIONS_H 33 +#define XCAP_AUTH_FUNCTIONS_H 34 + 35 +#include "../../parser/msg_parser.h" 36 + 37 + 38 +/*  39 + * Checks from presence server xcap table if watcher is authorized 40 + * to subscribe event 'presence' of presentity. 41 + */ 42 +int xcap_auth_status(struct sip_msg* _msg, char* _sp1, char* _sp2); 43 + 44 + 45 +#endif /* XCAP_AUTH_FUNCTIONS_H */