register_tester.h 1.48 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
        belle-sip - SIP (RFC3261) library.
    Copyright (C) 2010  Belledonne Communications SARL

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
Simon Morlat's avatar
Simon Morlat committed
18 19 20 21 22 23


extern belle_sip_stack_t * stack;
extern belle_sip_provider_t *prov;
extern const char *test_domain;
int call_endeed;
24 25
extern int register_before_all(void);
extern int register_after_all(void);
Simon Morlat's avatar
Simon Morlat committed
26 27 28 29 30
extern belle_sip_request_t* register_user(belle_sip_stack_t * stack
		,belle_sip_provider_t *prov
		,const char *transport
		,int use_transaction
		,const char* username,const char* outbound) ;
jehan's avatar
jehan committed
31
extern belle_sip_client_transaction_t* register_user_with_transaction(belle_sip_stack_t * stack
32 33 34 35
		,belle_sip_provider_t *prov
		,const char *transport
		,const char* username
		,const char* outbound_proxy);
Simon Morlat's avatar
Simon Morlat committed
36 37 38 39
extern void unregister_user(belle_sip_stack_t * stack
					,belle_sip_provider_t *prov
					,belle_sip_request_t* initial_request
					,int use_transaction);