ソースを参照

ims_icscf: fix compiler warnings

> In file included from cxdx_uar.c:50:0:
> cxdx_avp.h:274:12: warning: inline function 'cxdx_add_result_code' declared but never defined
>  inline int cxdx_add_result_code(AAAMessage *msg,unsigned int data);
>             ^~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:266:12: warning: inline function 'cxdx_get_user_name' declared but never defined
>  inline str cxdx_get_user_name(AAAMessage *msg);
>             ^~~~~~~~~~~~~~~~~~
> cxdx_avp.h:259:17: warning: inline function 'cxdx_get_next_public_identity' declared but never defined
>  inline AAA_AVP* cxdx_get_next_public_identity(AAAMessage *msg,AAA_AVP* pos,int avp_code,int vendor_id,const char *func);
>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:248:12: warning: inline function 'cxdx_add_userdata_available' declared but never defined
>  inline int cxdx_add_userdata_available(AAAMessage *msg,unsigned int data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:240:12: warning: inline function 'cxdx_add_server_assignment_type' declared but never defined
>  inline int cxdx_add_server_assignment_type(AAAMessage *msg,unsigned int data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:232:12: warning: inline function 'cxdx_get_charging_info' declared but never defined
>  inline int cxdx_get_charging_info(AAAMessage *msg,str *ccf1,str *ccf2,str *ecf1,str *ecf2);
>             ^~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:225:12: warning: inline function 'cxdx_get_user_data' declared but never defined
>  inline str cxdx_get_user_data(AAAMessage *msg);
>             ^~~~~~~~~~~~~~~~~~
> cxdx_avp.h:184:12: warning: inline function 'cxdx_get_sip_number_auth_items' declared but never defined
>  inline int cxdx_get_sip_number_auth_items(AAAMessage *msg, int *data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:177:12: warning: inline function 'cxdx_add_server_name' declared but never defined
>  inline int cxdx_add_server_name(AAAMessage *msg,str data);
>             ^~~~~~~~~~~~~~~~~~~~
> In file included from cxdx_uar.c:50:0:
> cxdx_avp.h:169:12: warning: inline function 'cxdx_add_sip_auth_data_item_request' declared but never defined
>  inline int cxdx_add_sip_auth_data_item_request(AAAMessage *msg, str auth_scheme, str auth, str username, str realm,str method, str server_name);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:160:12: warning: inline function 'cxdx_add_sip_number_auth_items' declared but never defined
>  inline int cxdx_add_sip_number_auth_items(AAAMessage *msg,unsigned int data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:152:12: warning: inline function 'cxdx_get_capabilities' declared but never defined
>  inline int cxdx_get_capabilities(AAAMessage *msg,int **m,int *m_cnt,int **o,int *o_cnt, str **p,int *p_cnt);
>             ^~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:141:12: warning: inline function 'cxdx_get_server_name' declared but never defined
>  inline str cxdx_get_server_name(AAAMessage *msg);
>             ^~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:134:12: warning: inline function 'cxdx_get_experimental_result_code' declared but never defined
>  inline int cxdx_get_experimental_result_code(AAAMessage *msg, int *data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:127:12: warning: inline function 'cxdx_get_result_code' declared but never defined
>  inline int cxdx_get_result_code(AAAMessage *msg, int *data);
>             ^~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:120:12: warning: inline function 'cxdx_add_authorization_type' declared but never defined
>  inline int cxdx_add_authorization_type(AAAMessage *msg,unsigned int data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:112:12: warning: inline function 'cxdx_add_UAR_flags' declared but never defined
>  inline int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg);
>             ^~~~~~~~~~~~~~~~~~
> cxdx_avp.h:104:12: warning: inline function 'cxdx_add_visited_network_id' declared but never defined
>  inline int cxdx_add_visited_network_id(AAAMessage *msg,str data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:96:12: warning: inline function 'cxdx_add_public_identity' declared but never defined
>  inline int cxdx_add_public_identity(AAAMessage *msg,str data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:88:12: warning: inline function 'cxdx_add_user_name' declared but never defined
>  inline int cxdx_add_user_name(AAAMessage *msg,str data);
>             ^~~~~~~~~~~~~~~~~~
> cxdx_avp.h:80:12: warning: inline function 'cxdx_add_auth_session_state' declared but never defined
>  inline int cxdx_add_auth_session_state(AAAMessage *msg,unsigned int data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:72:12: warning: inline function 'cxdx_add_vendor_specific_appid' declared but never defined
>  inline int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id,unsigned int auth_id,unsigned int acct_id);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cxdx_avp.h:62:12: warning: inline function 'cxdx_add_destination_realm' declared but never defined
>  inline int cxdx_add_destination_realm(AAAMessage *msg, str data);
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Victor Seva 8 年 前
コミット
728c7e4776
2 ファイル変更46 行追加46 行削除
  1. 23 23
      src/modules/ims_icscf/cxdx_avp.c
  2. 23 23
      src/modules/ims_icscf/cxdx_avp.h

+ 23 - 23
src/modules/ims_icscf/cxdx_avp.c

@@ -147,7 +147,7 @@ static inline str cxdx_get_avp(AAAMessage *msg,int avp_code,int vendor_id,
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_destination_realm(AAAMessage *msg,str data)
+int cxdx_add_destination_realm(AAAMessage *msg,str data)
 {
 	return
 	cxdx_add_avp(msg,data.s,data.len,
@@ -167,7 +167,7 @@ inline int cxdx_add_destination_realm(AAAMessage *msg,str data)
  * @param acct_id - the accounting application id
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id,
+int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id,
 	unsigned int auth_id,unsigned int acct_id)
 {
 	AAA_AVP_LIST list;
@@ -225,7 +225,7 @@ inline int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_auth_session_state(AAAMessage *msg,unsigned int data)
+int cxdx_add_auth_session_state(AAAMessage *msg,unsigned int data)
 {
 	char x[4];
 	set_4bytes(x,data);
@@ -244,7 +244,7 @@ inline int cxdx_add_auth_session_state(AAAMessage *msg,unsigned int data)
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_user_name(AAAMessage *msg,str data)
+int cxdx_add_user_name(AAAMessage *msg,str data)
 {
 	return
 	cxdx_add_avp(msg,data.s,data.len,
@@ -261,7 +261,7 @@ inline int cxdx_add_user_name(AAAMessage *msg,str data)
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_public_identity(AAAMessage *msg,str data)
+int cxdx_add_public_identity(AAAMessage *msg,str data)
 {
 	return
 	cxdx_add_avp(msg,data.s,data.len,
@@ -278,7 +278,7 @@ inline int cxdx_add_public_identity(AAAMessage *msg,str data)
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_visited_network_id(AAAMessage *msg,str data)
+int cxdx_add_visited_network_id(AAAMessage *msg,str data)
 {
 	return
 	cxdx_add_avp(msg,data.s,data.len,
@@ -295,7 +295,7 @@ inline int cxdx_add_visited_network_id(AAAMessage *msg,str data)
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg)
+int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg)
 {
 
 	char x[4];
@@ -319,7 +319,7 @@ inline int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg)
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_authorization_type(AAAMessage *msg,unsigned int data)
+int cxdx_add_authorization_type(AAAMessage *msg,unsigned int data)
 {
 	char x[4];
 	set_4bytes(x,data);
@@ -337,7 +337,7 @@ inline int cxdx_add_authorization_type(AAAMessage *msg,unsigned int data)
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline int cxdx_get_result_code(AAAMessage *msg, int *data)
+int cxdx_get_result_code(AAAMessage *msg, int *data)
 {
 	str s;
 	s = cxdx_get_avp(msg,
@@ -354,7 +354,7 @@ inline int cxdx_get_result_code(AAAMessage *msg, int *data)
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline int cxdx_get_experimental_result_code(AAAMessage *msg, int *data)
+int cxdx_get_experimental_result_code(AAAMessage *msg, int *data)
 {
 	AAA_AVP_LIST list;
 	AAA_AVP *avp;
@@ -384,7 +384,7 @@ inline int cxdx_get_experimental_result_code(AAAMessage *msg, int *data)
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline str cxdx_get_server_name(AAAMessage *msg)
+str cxdx_get_server_name(AAAMessage *msg)
 {
 	return cxdx_get_avp(msg,
 		AVP_IMS_Server_Name,
@@ -401,7 +401,7 @@ inline str cxdx_get_server_name(AAAMessage *msg)
  * @param o_cnt - size of the array above to be filled
  * @returns 1 on success 0 on fail
  */
-inline int cxdx_get_capabilities(AAAMessage *msg,int **m,int *m_cnt,int **o,int *o_cnt,
+int cxdx_get_capabilities(AAAMessage *msg,int **m,int *m_cnt,int **o,int *o_cnt,
 	str **p,int *p_cnt)
 {
 	AAA_AVP_LIST list;
@@ -477,7 +477,7 @@ error:
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_sip_number_auth_items(AAAMessage *msg,unsigned int data)
+int cxdx_add_sip_number_auth_items(AAAMessage *msg,unsigned int data)
 {
 	char x[4];
 	set_4bytes(x,data);
@@ -497,7 +497,7 @@ inline int cxdx_add_sip_number_auth_items(AAAMessage *msg,unsigned int data)
  * @param auth - the value for the authorization AVP
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_sip_auth_data_item_request(AAAMessage *msg, str auth_scheme, str auth, str username, str realm,str method, str server_name)
+int cxdx_add_sip_auth_data_item_request(AAAMessage *msg, str auth_scheme, str auth, str username, str realm,str method, str server_name)
 {
 	AAA_AVP_LIST list;
 	str group;
@@ -558,7 +558,7 @@ inline int cxdx_add_sip_auth_data_item_request(AAAMessage *msg, str auth_scheme,
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_server_name(AAAMessage *msg,str data)
+int cxdx_add_server_name(AAAMessage *msg,str data)
 {
 	return
 	cxdx_add_avp(msg,data.s,data.len,
@@ -574,7 +574,7 @@ inline int cxdx_add_server_name(AAAMessage *msg,str data)
  * @param msg - the Diameter message
  * @returns the number or 0 on error
  */
-inline int cxdx_get_sip_number_auth_items(AAAMessage *msg, int *data)
+int cxdx_get_sip_number_auth_items(AAAMessage *msg, int *data)
 {
 	str s;
 	s = cxdx_get_avp(msg,
@@ -883,7 +883,7 @@ str cxdx_ETSI_sip_authorization(str username, str realm, str nonce, str URI, str
  * @returns the AVP payload on success or an empty string on error
  */
 
-inline str cxdx_get_user_data(AAAMessage *msg)
+str cxdx_get_user_data(AAAMessage *msg)
 {
 	return cxdx_get_avp(msg,
 		AVP_IMS_User_Data_Cx,
@@ -896,7 +896,7 @@ inline str cxdx_get_user_data(AAAMessage *msg)
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline int cxdx_get_charging_info(AAAMessage *msg,str *ccf1,str *ccf2,str *ecf1,str *ecf2)
+int cxdx_get_charging_info(AAAMessage *msg,str *ccf1,str *ccf2,str *ecf1,str *ecf2)
 {
 	AAA_AVP_LIST list;
 	AAA_AVP *avp;
@@ -941,7 +941,7 @@ inline int cxdx_get_charging_info(AAAMessage *msg,str *ccf1,str *ccf2,str *ecf1,
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_server_assignment_type(AAAMessage *msg,unsigned int data)
+int cxdx_add_server_assignment_type(AAAMessage *msg,unsigned int data)
 {
 	char x[4];
 	set_4bytes(x,data);
@@ -960,7 +960,7 @@ inline int cxdx_add_server_assignment_type(AAAMessage *msg,unsigned int data)
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_userdata_available(AAAMessage *msg,unsigned int data)
+int cxdx_add_userdata_available(AAAMessage *msg,unsigned int data)
 {
 	char x[4];
 	set_4bytes(x,data);
@@ -982,7 +982,7 @@ inline int cxdx_add_userdata_available(AAAMessage *msg,unsigned int data)
  * @param func - the name of the calling function for debugging purposes
  * @returns the AVP payload on success or an empty string on error
  */
-inline AAA_AVP* cxdx_get_next_public_identity(AAAMessage *msg,AAA_AVP* pos,int avp_code,int vendor_id,const char *func)
+AAA_AVP* cxdx_get_next_public_identity(AAAMessage *msg,AAA_AVP* pos,int avp_code,int vendor_id,const char *func)
 {
 	AAA_AVP *avp;
 
@@ -1000,7 +1000,7 @@ inline AAA_AVP* cxdx_get_next_public_identity(AAAMessage *msg,AAA_AVP* pos,int a
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline str cxdx_get_user_name(AAAMessage *msg)
+str cxdx_get_user_name(AAAMessage *msg)
 {
 	return cxdx_get_avp(msg,
 		AVP_User_Name,
@@ -1014,7 +1014,7 @@ inline str cxdx_get_user_name(AAAMessage *msg)
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_result_code(AAAMessage *msg,unsigned int data)
+int cxdx_add_result_code(AAAMessage *msg,unsigned int data)
 {
 	char x[4];
 	set_4bytes(x,data);

+ 23 - 23
src/modules/ims_icscf/cxdx_avp.h

@@ -59,7 +59,7 @@ struct sip_msg;
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_destination_realm(AAAMessage *msg, str data);
+int cxdx_add_destination_realm(AAAMessage *msg, str data);
 
 /**
  * Creates and adds a Vendor-Specifig-Application-ID AVP.
@@ -69,7 +69,7 @@ inline int cxdx_add_destination_realm(AAAMessage *msg, str data);
  * @param acct_id - the accounting application id
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id,unsigned int auth_id,unsigned int acct_id);
+int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id,unsigned int auth_id,unsigned int acct_id);
 
 /**
  * Creates and adds a Auth-Session-State AVP.
@@ -77,7 +77,7 @@ inline int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_auth_session_state(AAAMessage *msg,unsigned int data);
+int cxdx_add_auth_session_state(AAAMessage *msg,unsigned int data);
 
 /**
  * Creates and adds a User-Name AVP.
@@ -85,7 +85,7 @@ inline int cxdx_add_auth_session_state(AAAMessage *msg,unsigned int data);
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_user_name(AAAMessage *msg,str data);
+int cxdx_add_user_name(AAAMessage *msg,str data);
 
 /**
  * Creates and adds a Public Identity AVP.
@@ -93,7 +93,7 @@ inline int cxdx_add_user_name(AAAMessage *msg,str data);
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_public_identity(AAAMessage *msg,str data);
+int cxdx_add_public_identity(AAAMessage *msg,str data);
 
 /**
  * Creates and adds a Visited-Network-ID AVP.
@@ -101,7 +101,7 @@ inline int cxdx_add_public_identity(AAAMessage *msg,str data);
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_visited_network_id(AAAMessage *msg,str data);
+int cxdx_add_visited_network_id(AAAMessage *msg,str data);
 
 /**
  * Creates and adds a UAR-Flags AVP.
@@ -109,7 +109,7 @@ inline int cxdx_add_visited_network_id(AAAMessage *msg,str data);
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg);
+int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg);
 
 /**
  * Creates and adds a Authorization-Type AVP.
@@ -117,28 +117,28 @@ inline int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg);
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_authorization_type(AAAMessage *msg,unsigned int data);
+int cxdx_add_authorization_type(AAAMessage *msg,unsigned int data);
 
 /**
  * Returns the Result-Code AVP from a Diameter message.
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline int cxdx_get_result_code(AAAMessage *msg, int *data);
+int cxdx_get_result_code(AAAMessage *msg, int *data);
 
 /**
  * Returns the Experimental-Result-Code AVP from a Diameter message.
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline int cxdx_get_experimental_result_code(AAAMessage *msg, int *data);
+int cxdx_get_experimental_result_code(AAAMessage *msg, int *data);
 
 /**
  * Returns the Server-Name AVP from a Diameter message.
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline str cxdx_get_server_name(AAAMessage *msg);
+str cxdx_get_server_name(AAAMessage *msg);
 
 /**
  * Returns the Capabilities from the grouped AVP from a Diameter message.
@@ -149,7 +149,7 @@ inline str cxdx_get_server_name(AAAMessage *msg);
  * @param o_cnt - size of the array above to be filled
  * @returns 1 on success 0 on fail
  */
-inline int cxdx_get_capabilities(AAAMessage *msg,int **m,int *m_cnt,int **o,int *o_cnt,	str **p,int *p_cnt);
+int cxdx_get_capabilities(AAAMessage *msg,int **m,int *m_cnt,int **o,int *o_cnt,	str **p,int *p_cnt);
 
 /**
  * Creates and adds a SIP-Number-Auth-Items AVP.
@@ -157,7 +157,7 @@ inline int cxdx_get_capabilities(AAAMessage *msg,int **m,int *m_cnt,int **o,int
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_sip_number_auth_items(AAAMessage *msg,unsigned int data);
+int cxdx_add_sip_number_auth_items(AAAMessage *msg,unsigned int data);
 
 /**
  * Creates and adds a SIP-Auth-Data-Item AVP.
@@ -166,7 +166,7 @@ inline int cxdx_add_sip_number_auth_items(AAAMessage *msg,unsigned int data);
  * @param auth - the value for the authorization AVP
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_sip_auth_data_item_request(AAAMessage *msg, str auth_scheme, str auth, str username, str realm,str method, str server_name);
+int cxdx_add_sip_auth_data_item_request(AAAMessage *msg, str auth_scheme, str auth, str username, str realm,str method, str server_name);
 
 /**
  * Creates and adds a Server-Name AVP.
@@ -174,14 +174,14 @@ inline int cxdx_add_sip_auth_data_item_request(AAAMessage *msg, str auth_scheme,
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_server_name(AAAMessage *msg,str data);
+int cxdx_add_server_name(AAAMessage *msg,str data);
 
 /**
  * Returns the SIP-Number-Auth-Items AVP from a Diameter message.
  * @param msg - the Diameter message
  * @returns the number or 0 on error
  */
-inline int cxdx_get_sip_number_auth_items(AAAMessage *msg, int *data);
+int cxdx_get_sip_number_auth_items(AAAMessage *msg, int *data);
 
 /**
  * Returns the Auth-Data-Item from a Diameter answer message.
@@ -222,14 +222,14 @@ str cxdx_ETSI_sip_authorization(str username, str realm, str nonce, str URI, str
  * @returns the AVP payload on success or an empty string on error
  */
 
-inline str cxdx_get_user_data(AAAMessage *msg);
+str cxdx_get_user_data(AAAMessage *msg);
 
 /**
  * Returns the Charging-Information from a Diameter message.
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline int cxdx_get_charging_info(AAAMessage *msg,str *ccf1,str *ccf2,str *ecf1,str *ecf2);
+int cxdx_get_charging_info(AAAMessage *msg,str *ccf1,str *ccf2,str *ecf1,str *ecf2);
 
 /**
  * Creates and adds a Server-Assignment-Type AVP.
@@ -237,7 +237,7 @@ inline int cxdx_get_charging_info(AAAMessage *msg,str *ccf1,str *ccf2,str *ecf1,
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_server_assignment_type(AAAMessage *msg,unsigned int data);
+int cxdx_add_server_assignment_type(AAAMessage *msg,unsigned int data);
 
 /**
  * Creates and adds Userdata-Available AVP.
@@ -245,7 +245,7 @@ inline int cxdx_add_server_assignment_type(AAAMessage *msg,unsigned int data);
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_userdata_available(AAAMessage *msg,unsigned int data);
+int cxdx_add_userdata_available(AAAMessage *msg,unsigned int data);
 
 /**
  * Finds out the next Public-Identity AVP from a Diameter message.
@@ -256,14 +256,14 @@ inline int cxdx_add_userdata_available(AAAMessage *msg,unsigned int data);
  * @param func - the name of the calling function for debugging purposes
  * @returns the AVP payload on success or an empty string on error
  */
-inline AAA_AVP* cxdx_get_next_public_identity(AAAMessage *msg,AAA_AVP* pos,int avp_code,int vendor_id,const char *func);
+AAA_AVP* cxdx_get_next_public_identity(AAAMessage *msg,AAA_AVP* pos,int avp_code,int vendor_id,const char *func);
 
 /**
  * Returns the User-Name AVP from a Diameter message.
  * @param msg - the Diameter message
  * @returns the AVP payload on success or an empty string on error
  */
-inline str cxdx_get_user_name(AAAMessage *msg);
+str cxdx_get_user_name(AAAMessage *msg);
 
 /**
  * Creates and adds a Result-Code AVP.
@@ -271,6 +271,6 @@ inline str cxdx_get_user_name(AAAMessage *msg);
  * @param data - the value for the AVP payload
  * @returns 1 on success or 0 on error
  */
-inline int cxdx_add_result_code(AAAMessage *msg,unsigned int data);
+int cxdx_add_result_code(AAAMessage *msg,unsigned int data);
 
 #endif /* IS_CSCF_CXDX_AVP_H */