[svn-commits] trunk - r298 in /trunk: pri_facility.c pri_facility.h

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jan 19 11:31:49 MST 2006


Author: mattf
Date: Thu Jan 19 12:31:48 2006
New Revision: 298

URL: http://svn.digium.com/view/libpri?rev=298&view=rev
Log:
Header file cleanups

Modified:
    trunk/pri_facility.c
    trunk/pri_facility.h

Modified: trunk/pri_facility.c
URL: http://svn.digium.com/view/libpri/trunk/pri_facility.c?rev=298&r1=297&r2=298&view=diff
==============================================================================
--- trunk/pri_facility.c (original)
+++ trunk/pri_facility.c Thu Jan 19 12:31:48 2006
@@ -839,7 +839,7 @@
 }
 
 /* Send the rltThirdParty: Invoke */
-extern int rlt_initiate_transfer(struct pri *pri, q931_call *c1, q931_call *c2)
+int rlt_initiate_transfer(struct pri *pri, q931_call *c1, q931_call *c2)
 {
 	int i = 0;
 	unsigned char buffer[256];
@@ -1075,7 +1075,7 @@
 /* End MWI */
 
 /* EECT functions */
-extern int eect_initiate_transfer(struct pri *pri, q931_call *c1, q931_call *c2)
+int eect_initiate_transfer(struct pri *pri, q931_call *c1, q931_call *c2)
 {
 	/* Did all the tests to see if we're on the same PRI and
 	 * are on a compatible switchtype */

Modified: trunk/pri_facility.h
URL: http://svn.digium.com/view/libpri/trunk/pri_facility.h?rev=298&r1=297&r2=298&view=diff
==============================================================================
--- trunk/pri_facility.h (original)
+++ trunk/pri_facility.h Thu Jan 19 12:31:48 2006
@@ -236,46 +236,46 @@
 	} while (0)
 
 /* Decoder for the invoke ROSE component */
-extern int rose_invoke_decode(struct pri *pri, struct q931_call *call, unsigned char *data, int len);
+int rose_invoke_decode(struct pri *pri, struct q931_call *call, unsigned char *data, int len);
 
 /* Decoder for the return result ROSE component */
-extern int rose_return_result_decode(struct pri *pri, struct q931_call *call, unsigned char *data, int len);
+int rose_return_result_decode(struct pri *pri, struct q931_call *call, unsigned char *data, int len);
 
 /* Decoder for the return error ROSE component */
-extern int rose_return_error_decode(struct pri *pri, struct q931_call *call, unsigned char *data, int len);
+int rose_return_error_decode(struct pri *pri, struct q931_call *call, unsigned char *data, int len);
 
 /* Decoder for the reject ROSE component */
-extern int rose_reject_decode(struct pri *pri, struct q931_call *call, unsigned char *data, int len);
-
-extern int asn1_copy_string(char * buf, int buflen, struct rose_component *comp);
-
-extern int asn1_string_encode(unsigned char asn1_type, void *data, int len, int max_len, void *src, int src_len);
+int rose_reject_decode(struct pri *pri, struct q931_call *call, unsigned char *data, int len);
+
+int asn1_copy_string(char * buf, int buflen, struct rose_component *comp);
+
+int asn1_string_encode(unsigned char asn1_type, void *data, int len, int max_len, void *src, int src_len);
 
 /* Get Name types from ASN.1 */
-extern int asn1_name_decode(void * data, int len, char *namebuf, int buflen);
-
-extern int typeofnumber_from_q931(struct pri *pri, int ton);
-
-extern int redirectingreason_from_q931(struct pri *pri, int redirectingreason);
+int asn1_name_decode(void * data, int len, char *namebuf, int buflen);
+
+int typeofnumber_from_q931(struct pri *pri, int ton);
+
+int redirectingreason_from_q931(struct pri *pri, int redirectingreason);
 
 /* Queues an MWI apdu on a the given call */
-extern int mwi_message_send(struct pri *pri, q931_call *call, struct pri_sr *req, int activate);
+int mwi_message_send(struct pri *pri, q931_call *call, struct pri_sr *req, int activate);
 
 /* starts a 2BCT */
-extern int eect_initiate_transfer(struct pri *pri, q931_call *c1, q931_call *c2);
-
-extern int rlt_initiate_transfer(struct pri *pri, q931_call *c1, q931_call *c2);
+int eect_initiate_transfer(struct pri *pri, q931_call *c1, q931_call *c2);
+
+int rlt_initiate_transfer(struct pri *pri, q931_call *c1, q931_call *c2);
 
 /* Use this function to queue a facility-IE born APDU onto a call
  * call is the call to use, messagetype is any one of the Q931 messages,
  * apdu is the apdu data, apdu_len is the length of the apdu data  */
-extern int pri_call_apdu_queue(q931_call *call, int messagetype, void *apdu, int apdu_len, void (*function)(void *data), void *data);
+int pri_call_apdu_queue(q931_call *call, int messagetype, void *apdu, int apdu_len, void (*function)(void *data), void *data);
 
 /* Used by q931.c to cleanup the apdu queue upon destruction of a call */
-extern int pri_call_apdu_queue_cleanup(q931_call *call);
+int pri_call_apdu_queue_cleanup(q931_call *call);
 
 /* Adds the "standard" APDUs to a call */
-extern int pri_call_add_standard_apdus(struct pri *pri, q931_call *call);
+int pri_call_add_standard_apdus(struct pri *pri, q931_call *call);
 
 int asn1_dump(struct pri *pri, void *comp, int len);
 



More information about the svn-commits mailing list