Skip to content

Commit

Permalink
ims_auth: removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent 7c66940 commit 2c95b6e
Show file tree
Hide file tree
Showing 19 changed files with 197 additions and 197 deletions.
18 changes: 9 additions & 9 deletions src/modules/ims_auth/api.h
@@ -1,23 +1,23 @@
/*
* Copyright (C) 2012 Smile Communications, jason.penton@smilecoms.com
* Copyright (C) 2012 Smile Communications, richard.good@smilecoms.com
*
*
* The initial version of this code was written by Dragos Vingarzan
* (dragos(dot)vingarzan(at)fokus(dot)fraunhofer(dot)de and the
* Fruanhofer Institute. It was and still is maintained in a separate
* branch of the original SER. We are therefore migrating it to
* Kamailio/SR and look forward to maintaining it from here on out.
* 2011/2012 Smile Communications, Pty. Ltd.
* ported/maintained/improved by
* ported/maintained/improved by
* Jason Penton (jason(dot)penton(at)smilecoms.com and
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* effort to add full IMS support to Kamailio/SR using a new and
* improved architecture
*
*
* NB: Alot of this code was originally part of OpenIMSCore,
* FhG Fokus.
* FhG Fokus.
* Copyright (C) 2004-2006 FhG Fokus
* Thanks for great work! This is an effort to
* Thanks for great work! This is an effort to
* break apart the various CSCF functions into logically separate
* components. We hope this will drive wider use. We also feel
* that in this way the architecture is more complete and thereby easier
Expand All @@ -35,10 +35,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*
*/

#ifndef _IMS_AUTH_API_H_
Expand Down
18 changes: 9 additions & 9 deletions src/modules/ims_auth/authorize.c
@@ -1,23 +1,23 @@
/*
* Copyright (C) 2012 Smile Communications, jason.penton@smilecoms.com
* Copyright (C) 2012 Smile Communications, richard.good@smilecoms.com
*
*
* The initial version of this code was written by Dragos Vingarzan
* (dragos(dot)vingarzan(at)fokus(dot)fraunhofer(dot)de and the
* Fruanhofer Institute. It was and still is maintained in a separate
* branch of the original SER. We are therefore migrating it to
* Kamailio/SR and look forward to maintaining it from here on out.
* 2011/2012 Smile Communications, Pty. Ltd.
* ported/maintained/improved by
* ported/maintained/improved by
* Jason Penton (jason(dot)penton(at)smilecoms.com and
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* effort to add full IMS support to Kamailio/SR using a new and
* improved architecture
*
*
* NB: Alot of this code was originally part of OpenIMSCore,
* FhG Fokus.
* FhG Fokus.
* Copyright (C) 2004-2006 FhG Fokus
* Thanks for great work! This is an effort to
* Thanks for great work! This is an effort to
* break apart the various CSCF functions into logically separate
* components. We hope this will drive wider use. We also feel
* that in this way the architecture is more complete and thereby easier
Expand All @@ -35,10 +35,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*
*/

#include <string.h>
Expand Down
18 changes: 9 additions & 9 deletions src/modules/ims_auth/authorize.h
@@ -1,23 +1,23 @@
/*
* Copyright (C) 2012 Smile Communications, jason.penton@smilecoms.com
* Copyright (C) 2012 Smile Communications, richard.good@smilecoms.com
*
*
* The initial version of this code was written by Dragos Vingarzan
* (dragos(dot)vingarzan(at)fokus(dot)fraunhofer(dot)de and the
* Fruanhofer Institute. It was and still is maintained in a separate
* branch of the original SER. We are therefore migrating it to
* Kamailio/SR and look forward to maintaining it from here on out.
* 2011/2012 Smile Communications, Pty. Ltd.
* ported/maintained/improved by
* ported/maintained/improved by
* Jason Penton (jason(dot)penton(at)smilecoms.com and
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* effort to add full IMS support to Kamailio/SR using a new and
* improved architecture
*
*
* NB: Alot of this code was originally part of OpenIMSCore,
* FhG Fokus.
* FhG Fokus.
* Copyright (C) 2004-2006 FhG Fokus
* Thanks for great work! This is an effort to
* Thanks for great work! This is an effort to
* break apart the various CSCF functions into logically separate
* components. We hope this will drive wider use. We also feel
* that in this way the architecture is more complete and thereby easier
Expand All @@ -35,10 +35,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*
*/


Expand Down
40 changes: 20 additions & 20 deletions src/modules/ims_auth/conversion.c
@@ -1,23 +1,23 @@
/*
* Copyright (C) 2012 Smile Communications, jason.penton@smilecoms.com
* Copyright (C) 2012 Smile Communications, richard.good@smilecoms.com
*
*
* The initial version of this code was written by Dragos Vingarzan
* (dragos(dot)vingarzan(at)fokus(dot)fraunhofer(dot)de and the
* Fruanhofer Institute. It was and still is maintained in a separate
* branch of the original SER. We are therefore migrating it to
* Kamailio/SR and look forward to maintaining it from here on out.
* 2011/2012 Smile Communications, Pty. Ltd.
* ported/maintained/improved by
* ported/maintained/improved by
* Jason Penton (jason(dot)penton(at)smilecoms.com and
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* effort to add full IMS support to Kamailio/SR using a new and
* improved architecture
*
*
* NB: Alot of this code was originally part of OpenIMSCore,
* FhG Fokus.
* FhG Fokus.
* Copyright (C) 2004-2006 FhG Fokus
* Thanks for great work! This is an effort to
* Thanks for great work! This is an effort to
* break apart the various CSCF functions into logically separate
* components. We hope this will drive wider use. We also feel
* that in this way the architecture is more complete and thereby easier
Expand All @@ -35,19 +35,19 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*
*/

/**
* \file
*
*
* Serving-CSCF - Conversion between base16, base64 and base256
*
*
* \author Dragos Vingarzan vingarzan -at- fokus dot fraunhofer dot de
*
*
*/

/** base16 char constants */
Expand All @@ -56,8 +56,8 @@ char *hexchars = "0123456789abcdef";
* Converts a binary encoded value to its base16 representation.
* @param from - buffer containing the input data
* @param len - the size of from
* @param to - the output buffer !!! must have at least len*2 allocated memory
* @returns the written length
* @param to - the output buffer !!! must have at least len*2 allocated memory
* @returns the written length
*/
int bin_to_base16(char *from, int len, char *to)
{
Expand All @@ -81,8 +81,8 @@ int bin_to_base16(char *from, int len, char *to)
* Converts a hex encoded value to its binary value
* @param from - buffer containing the input data
* @param len - the size of from
* @param to - the output buffer !!! must have at least len/2 allocated memory
* @returns the written length
* @param to - the output buffer !!! must have at least len/2 allocated memory
* @returns the written length
*/
int base16_to_bin(char *from, int len, char *to)
{
Expand Down Expand Up @@ -241,8 +241,8 @@ static int base64_val(char x)
* Convert a string encoded in base64 to binary value.
* @param from - buffer containing the input data
* @param from_len - the size of from
* @param to - the output buffer !!! must have at least len*2 allocated memory
* @returns the written length
* @param to - the output buffer !!! must have at least len*2 allocated memory
* @returns the written length
*/
int base64_to_bin(char *from, int from_len, char *to)
{
Expand Down Expand Up @@ -271,8 +271,8 @@ char base64[64] =
* Convert a binary string to base64 encoding.
* @param src - the source buffer
* @param src_len - length of the source buffer
* @param ptr - the destination buffer - must be allocated to at least src_len/3*4+4
* @returns the length of the resulted buffer
* @param ptr - the destination buffer - must be allocated to at least src_len/3*4+4
* @returns the length of the resulted buffer
*/
int bin_to_base64(char *src, int src_len, char *ptr)
{
Expand Down
24 changes: 12 additions & 12 deletions src/modules/ims_auth/conversion.h
@@ -1,23 +1,23 @@
/*
* Copyright (C) 2012 Smile Communications, jason.penton@smilecoms.com
* Copyright (C) 2012 Smile Communications, richard.good@smilecoms.com
*
*
* The initial version of this code was written by Dragos Vingarzan
* (dragos(dot)vingarzan(at)fokus(dot)fraunhofer(dot)de and the
* Fruanhofer Institute. It was and still is maintained in a separate
* branch of the original SER. We are therefore migrating it to
* Kamailio/SR and look forward to maintaining it from here on out.
* 2011/2012 Smile Communications, Pty. Ltd.
* ported/maintained/improved by
* ported/maintained/improved by
* Jason Penton (jason(dot)penton(at)smilecoms.com and
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* effort to add full IMS support to Kamailio/SR using a new and
* improved architecture
*
*
* NB: Alot of this code was originally part of OpenIMSCore,
* FhG Fokus.
* FhG Fokus.
* Copyright (C) 2004-2006 FhG Fokus
* Thanks for great work! This is an effort to
* Thanks for great work! This is an effort to
* break apart the various CSCF functions into logically separate
* components. We hope this will drive wider use. We also feel
* that in this way the architecture is more complete and thereby easier
Expand All @@ -35,19 +35,19 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*
*/

/**
* \file
*
*
* Serving-CSCF - Conversion between base16, base64 and base256
*
*
* \author Dragos Vingarzan vingarzan -at- fokus dot fraunhofer dot de
*
*
*/

#ifndef PIS_CSCF_CONVERSION_H_
Expand Down
24 changes: 12 additions & 12 deletions src/modules/ims_auth/cxdx_avp.c
@@ -1,23 +1,23 @@
/*
* Copyright (C) 2012 Smile Communications, jason.penton@smilecoms.com
* Copyright (C) 2012 Smile Communications, richard.good@smilecoms.com
*
*
* The initial version of this code was written by Dragos Vingarzan
* (dragos(dot)vingarzan(at)fokus(dot)fraunhofer(dot)de and the
* Fruanhofer Institute. It was and still is maintained in a separate
* branch of the original SER. We are therefore migrating it to
* Kamailio/SR and look forward to maintaining it from here on out.
* 2011/2012 Smile Communications, Pty. Ltd.
* ported/maintained/improved by
* ported/maintained/improved by
* Jason Penton (jason(dot)penton(at)smilecoms.com and
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* effort to add full IMS support to Kamailio/SR using a new and
* improved architecture
*
*
* NB: Alot of this code was originally part of OpenIMSCore,
* FhG Fokus.
* FhG Fokus.
* Copyright (C) 2004-2006 FhG Fokus
* Thanks for great work! This is an effort to
* Thanks for great work! This is an effort to
* break apart the various CSCF functions into logically separate
* components. We hope this will drive wider use. We also feel
* that in this way the architecture is more complete and thereby easier
Expand All @@ -35,10 +35,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*
*/


Expand All @@ -51,7 +51,7 @@ static str s_empty = {0, 0};

/**
* Create and add an AVP to a Diameter message.
* @param m - Diameter message to add to
* @param m - Diameter message to add to
* @param d - the payload data
* @param len - length of the payload data
* @param avp_code - the code of the AVP
Expand Down Expand Up @@ -82,7 +82,7 @@ static int cxdx_add_avp(AAAMessage *m, char *d, int len, int avp_code,

/**
* Create and add an AVP to a list of AVPs.
* @param list - the AVP list to add to
* @param list - the AVP list to add to
* @param d - the payload data
* @param len - length of the payload data
* @param avp_code - the code of the AVP
Expand Down Expand Up @@ -941,7 +941,7 @@ int cxdx_add_userdata_available(AAAMessage *msg, unsigned int data)
/**
* Finds out the next Public-Identity AVP from a Diameter message.
* @param msg - the Diameter message
* @param pos - position to resume search or NULL if to start from the first AVP
* @param pos - position to resume search or NULL if to start from the first AVP
* @param avp_code - the code of the AVP to look for
* @param vendor_id - the vendor id of the AVP to look for
* @param func - the name of the calling function for debugging purposes
Expand Down

0 comments on commit 2c95b6e

Please sign in to comment.