Skip to content

Commit

Permalink
osp: removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent 60b53e5 commit 9496877
Show file tree
Hide file tree
Showing 19 changed files with 126 additions and 126 deletions.
16 changes: 8 additions & 8 deletions src/modules/osp/destination.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ osp_dest *ospInitDestination(osp_dest *dest)
return dest;
}

/*
/*
* Save destination as an AVP
* name - OSP_ORIGDEST_NAME / OSP_TERMDEST_NAME
* value - osp_dest wrapped in a string
Expand All @@ -81,8 +81,8 @@ static int ospSaveDestination(osp_dest *dest, const str *name)
wrapper.s = (char *)dest;
wrapper.len = sizeof(osp_dest);

/*
* add_avp will make a private copy of both the name and value in shared memory
/*
* add_avp will make a private copy of both the name and value in shared memory
* which will be released by TM at the end of the transaction
*/
if(add_avp(AVP_NAME_STR | AVP_VAL_STR, (int_str)*name, (int_str)wrapper)
Expand Down Expand Up @@ -116,7 +116,7 @@ int ospSaveTermDestination(osp_dest *dest)
return ospSaveDestination(dest, &OSP_TERMDEST_NAME);
}

/*
/*
* Check if there is an unused and supported originate destination from an AVP
* name - OSP_ORIGDEST_NAME
* value - osp_dest wrapped in a string
Expand Down Expand Up @@ -159,11 +159,11 @@ int ospCheckOrigDestination(void)
return result;
}

/*
/*
* Retrieved an unused and supported originate destination from an AVP
* name - OSP_ORIGDEST_NAME
* value - osp_dest wrapped in a string
* There can be 0, 1 or more originate destinations.
* There can be 0, 1 or more originate destinations.
* Find the 1st unused destination (used==0) & supported (support==1),
* return it, and mark it as used (used==1).
* return NULL on failure
Expand Down Expand Up @@ -213,7 +213,7 @@ osp_dest *ospGetNextOrigDestination(void)
* Retrieved the last used originate destination from an AVP
* name - OSP_ORIGDEST_NAME
* value - osp_dest wrapped in a string
* There can be 0, 1 or more destinations.
* There can be 0, 1 or more destinations.
* Find the last used destination (used==1) & supported (support==1),
* and return it.
* In normal condition, this one is the current destination. But it may
Expand Down Expand Up @@ -249,7 +249,7 @@ osp_dest *ospGetLastOrigDestination(void)
return lastdest;
}

/*
/*
* Retrieved the terminate destination from an AVP
* name - OSP_TERMDEST_NAME
* value - osp_dest wrapped in a string
Expand Down
8 changes: 4 additions & 4 deletions src/modules/osp/destination.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand Down
10 changes: 5 additions & 5 deletions src/modules/osp/globals.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand Down
14 changes: 7 additions & 7 deletions src/modules/osp/orig_transaction.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand Down Expand Up @@ -179,10 +179,10 @@ static int ospLoadRoutes(OSPTTRANHANDLE transaction, int destcount,
dest->host, dest->supported, dest->networkid, dest->tokensize);
}

/*
/*
* Save destination in reverse order,
* when we start searching avps the destinations
* will be in order
* will be in order
*/
if(result == 0) {
for(count = destcount - 1; count >= 0; count--) {
Expand Down
10 changes: 5 additions & 5 deletions src/modules/osp/orig_transaction.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand Down
10 changes: 5 additions & 5 deletions src/modules/osp/osp_mod.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand Down
10 changes: 5 additions & 5 deletions src/modules/osp/osp_mod.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand Down
10 changes: 5 additions & 5 deletions src/modules/osp/osptoolkit.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand Down
14 changes: 7 additions & 7 deletions src/modules/osp/osptoolkit.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand All @@ -33,12 +33,12 @@

#include <osp/osp.h>

/*
/*
* This module implements help functions for the OSP toolkit.
* Some of the functions maybe impemented by the toolkit in the future.
*/

/*
/*
* Returns the OSP transaction id generated by the server. The id is
* returned in the Authorization Response and also packaged in the token.
*/
Expand Down
12 changes: 6 additions & 6 deletions src/modules/osp/provider.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand Down Expand Up @@ -85,7 +85,7 @@ int ospSetupProvider(void)
}
}

/*
/*
* Free space allocated while loading crypto information from PEM-encoded files.
* There are some problems to free the memory, do not free them
*/
Expand Down
10 changes: 5 additions & 5 deletions src/modules/osp/provider.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Kamailio osp module.
* Kamailio osp module.
*
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* This module enables Kamailio to communicate with an Open Settlement
* Protocol (OSP) server. The Open Settlement Protocol is an ETSI
* defined standard for Inter-Domain VoIP pricing, authorization
* and usage exchange. The technical specifications for OSP
* and usage exchange. The technical specifications for OSP
* (ETSI TS 101 321 V4.1.1) are available at www.etsi.org.
*
* Uli Abend was the original contributor to this module.
*
*
* Copyright (C) 2001-2005 Fhg Fokus
*
* This file is part of Kamailio, a free SIP server.
Expand Down

0 comments on commit 9496877

Please sign in to comment.