Bläddra i källkod

lib/ims: Add SPDX identifiers

Victor Seva 9 månader sedan
förälder
incheckning
22ef7f8b9f
3 ändrade filer med 8 tillägg och 2 borttagningar
  1. 3 1
      src/lib/ims/ims_getters.c
  2. 3 1
      src/lib/ims/ims_getters.h
  3. 2 0
      src/lib/ims/useful_defs.h

+ 3 - 1
src/lib/ims/ims_getters.c

@@ -25,6 +25,8 @@
  *
  *
  * This file is part of Kamailio, a free SIP server.
  * This file is part of Kamailio, a free SIP server.
  *
  *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
  * Kamailio is free software; you can redistribute it and/or modify
  * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * the Free Software Foundation; either version 2 of the License, or
@@ -539,7 +541,7 @@ done:
 	return pu;
 	return pu;
 }
 }
 
 
-/** 
+/**
  * Get the host from the Request URI of the message.
  * Get the host from the Request URI of the message.
  * Useful for example on MT, to get the destination from the Request URI, if P-Called-Party-ID is not present.
  * Useful for example on MT, to get the destination from the Request URI, if P-Called-Party-ID is not present.
  */
  */

+ 3 - 1
src/lib/ims/ims_getters.h

@@ -26,6 +26,8 @@
  *
  *
  * This file is part of Kamailio, a free SIP server.
  * This file is part of Kamailio, a free SIP server.
  *
  *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
  * Kamailio is free software; you can redistribute it and/or modify
  * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * the Free Software Foundation; either version 2 of the License, or
@@ -206,7 +208,7 @@ str cscf_get_public_identity_from_requri(struct sip_msg *msg);
  */
  */
 str cscf_get_contact_from_requri(struct sip_msg *msg);
 str cscf_get_contact_from_requri(struct sip_msg *msg);
 
 
-/** 
+/**
  * Get the host from the Request URI of the message.
  * Get the host from the Request URI of the message.
  * Useful for example on MT, to get the destination from the Request URI, if P-Called-Party-ID is not present.
  * Useful for example on MT, to get the destination from the Request URI, if P-Called-Party-ID is not present.
  */
  */

+ 2 - 0
src/lib/ims/useful_defs.h

@@ -27,6 +27,8 @@
  *
  *
  * This file is part of Kamailio, a free SIP server.
  * This file is part of Kamailio, a free SIP server.
  *
  *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
  * Kamailio is free software; you can redistribute it and/or modify
  * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * the Free Software Foundation; either version 2 of the License, or