#ifndef __SELFCARE_CONFIG_H__
#define __SELFCARE_CONFIG_H__

#ifdef __cplusplus
extern "C" {
#endif


typedef struct _selfcare_config_s
{
	const char *cnf_file;

	unsigned int udp_local_ip;
	unsigned short int udp_local_port;

	unsigned int udp_ocs_ip;
	unsigned short int udp_ocs_port;
	
	unsigned int http_local_ip;
	unsigned short int http_local_port;

	unsigned int sms_notify_type;
	
	char authcode_url[128];
	char query_userdata_url[128];
	char bundle_subs_url[128];
	char bundle_usage_url[128];
	char recharge_url[128];
	char transfer_url[128];
	char recharge_card_url[128];
	char check_balance_url[128];
	char query_balane_url[128];	
	char payment_url[128];
	char sms_deliver_url[128];
	char create_account_url[128];
	char update_subs_url[128];
	char delete_subs_url[128];
	

}selfcare_config_s;


int selfcare_config_init(const char *cnf_file);

int selfcare_config_uninit(void);

selfcare_config_s* selfcare_config_get(void);


#ifdef __cplusplus
}
#endif

#endif /* __SELFCARE_CONFIG_H__ */
