[libpri-commits] rmudgett: branch 1.4 r1596 - in /branches/1.4: pri.c pri_internal.h

SVN commits to the libpri project libpri-commits at lists.digium.com
Thu Apr 15 13:43:39 CDT 2010


Author: rmudgett
Date: Thu Apr 15 13:43:37 2010
New Revision: 1596

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1596
Log:
Make some internal routines available to other libpri components.

Modified:
    branches/1.4/pri.c
    branches/1.4/pri_internal.h

Modified: branches/1.4/pri.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/pri.c?view=diff&rev=1596&r1=1595&r2=1596
==============================================================================
--- branches/1.4/pri.c (original)
+++ branches/1.4/pri.c Thu Apr 15 13:43:37 2010
@@ -646,7 +646,6 @@
 }
 
 /*!
- * \internal
  * \brief Copy the PRI party name to the Q.931 party name structure.
  *
  * \param q931_name Q.931 party name structure
@@ -654,7 +653,7 @@
  *
  * \return Nothing
  */
-static void pri_copy_party_name_to_q931(struct q931_party_name *q931_name, const struct pri_party_name *pri_name)
+void pri_copy_party_name_to_q931(struct q931_party_name *q931_name, const struct pri_party_name *pri_name)
 {
 	q931_party_name_init(q931_name);
 	if (pri_name->valid) {
@@ -666,7 +665,6 @@
 }
 
 /*!
- * \internal
  * \brief Copy the PRI party number to the Q.931 party number structure.
  *
  * \param q931_number Q.931 party number structure
@@ -674,7 +672,7 @@
  *
  * \return Nothing
  */
-static void pri_copy_party_number_to_q931(struct q931_party_number *q931_number, const struct pri_party_number *pri_number)
+void pri_copy_party_number_to_q931(struct q931_party_number *q931_number, const struct pri_party_number *pri_number)
 {
 	q931_party_number_init(q931_number);
 	if (pri_number->valid) {
@@ -686,7 +684,6 @@
 }
 
 /*!
- * \internal
  * \brief Copy the PRI party subaddress to the Q.931 party subaddress structure.
  *
  * \param q931_subaddress Q.931 party subaddress structure
@@ -694,7 +691,7 @@
  *
  * \return Nothing
  */
-static void pri_copy_party_subaddress_to_q931(struct q931_party_subaddress *q931_subaddress, const struct pri_party_subaddress *pri_subaddress)
+void pri_copy_party_subaddress_to_q931(struct q931_party_subaddress *q931_subaddress, const struct pri_party_subaddress *pri_subaddress)
 {
 	int length;
 	int maxlen = sizeof(q931_subaddress->data) - 1;
@@ -720,7 +717,6 @@
 }
 
 /*!
- * \internal
  * \brief Copy the PRI party id to the Q.931 party id structure.
  *
  * \param q931_id Q.931 party id structure
@@ -728,7 +724,7 @@
  *
  * \return Nothing
  */
-static void pri_copy_party_id_to_q931(struct q931_party_id *q931_id, const struct pri_party_id *pri_id)
+void pri_copy_party_id_to_q931(struct q931_party_id *q931_id, const struct pri_party_id *pri_id)
 {
 	pri_copy_party_name_to_q931(&q931_id->name, &pri_id->name);
 	pri_copy_party_number_to_q931(&q931_id->number, &pri_id->number);

Modified: branches/1.4/pri_internal.h
URL: http://svnview.digium.com/svn/libpri/branches/1.4/pri_internal.h?view=diff&rev=1596&r1=1595&r2=1596
==============================================================================
--- branches/1.4/pri_internal.h (original)
+++ branches/1.4/pri_internal.h Thu Apr 15 13:43:37 2010
@@ -583,6 +583,11 @@
 void q931_party_id_copy_to_pri(struct pri_party_id *pri_id, const struct q931_party_id *q931_id);
 void q931_party_redirecting_copy_to_pri(struct pri_party_redirecting *pri_redirecting, const struct q931_party_redirecting *q931_redirecting);
 
+void pri_copy_party_name_to_q931(struct q931_party_name *q931_name, const struct pri_party_name *pri_name);
+void pri_copy_party_number_to_q931(struct q931_party_number *q931_number, const struct pri_party_number *pri_number);
+void pri_copy_party_subaddress_to_q931(struct q931_party_subaddress *q931_subaddress, const struct pri_party_subaddress *pri_subaddress);
+void pri_copy_party_id_to_q931(struct q931_party_id *q931_id, const struct pri_party_id *pri_id);
+
 void q931_party_id_fixup(const struct pri *ctrl, struct q931_party_id *id);
 int q931_party_id_presentation(const struct q931_party_id *id);
 




More information about the libpri-commits mailing list