2009-12-22 20:46:06 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2009 Mamadou Diop.
|
|
|
|
*
|
2010-04-06 00:57:03 +00:00
|
|
|
* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
|
2009-12-22 20:46:06 +00:00
|
|
|
*
|
|
|
|
* This file is part of Open Source Doubango Framework.
|
|
|
|
*
|
|
|
|
* DOUBANGO 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 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* DOUBANGO 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
|
2010-02-17 19:48:35 +00:00
|
|
|
* GNU General Public License for more details.
|
2009-12-22 20:46:06 +00:00
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with DOUBANGO.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**@file tsip_dialog_register.h
|
|
|
|
* @brief SIP dialog REGISTER.
|
|
|
|
*
|
2010-04-06 00:57:03 +00:00
|
|
|
* @author Mamadou Diop <diopmamadou(at)doubango.org>
|
2009-12-22 20:46:06 +00:00
|
|
|
*
|
|
|
|
* @date Created: Sat Nov 8 16:54:58 2009 mdiop
|
|
|
|
*/
|
|
|
|
#ifndef TINYSIP_DIALOG_REGISTER_H
|
|
|
|
#define TINYSIP_DIALOG_REGISTER_H
|
|
|
|
|
2010-05-04 12:32:53 +00:00
|
|
|
#include "tinysip_config.h"
|
2010-05-04 11:55:25 +00:00
|
|
|
#include "tinysip/dialogs/tsip_dialog.h"
|
2010-02-18 00:52:36 +00:00
|
|
|
|
2010-01-01 23:34:13 +00:00
|
|
|
TSIP_BEGIN_DECLS
|
|
|
|
|
2009-12-25 10:30:53 +00:00
|
|
|
#define TSIP_DIALOG_REGISTER(self) ((tsip_dialog_register_t*)(self))
|
|
|
|
|
2010-05-05 23:25:01 +00:00
|
|
|
/**< SIP REGISTER dialog */
|
2009-12-22 20:46:06 +00:00
|
|
|
typedef struct tsip_dialog_register
|
|
|
|
{
|
|
|
|
TSIP_DECLARE_DIALOG;
|
|
|
|
|
2009-12-25 10:30:53 +00:00
|
|
|
tsip_timer_t timerrefresh;
|
2010-03-03 18:18:24 +00:00
|
|
|
tsip_timer_t timershutdown;
|
2009-12-25 10:30:53 +00:00
|
|
|
|
2010-03-22 01:56:49 +00:00
|
|
|
tsk_bool_t unregistering;
|
2009-12-22 20:46:06 +00:00
|
|
|
}
|
|
|
|
tsip_dialog_register_t;
|
|
|
|
|
2010-04-21 17:33:32 +00:00
|
|
|
tsip_dialog_register_t* tsip_dialog_register_create(const tsip_ssession_handle_t* ss);
|
|
|
|
|
|
|
|
TINYSIP_GEXTERN const tsk_object_def_t *tsip_dialog_register_def_t;
|
2010-01-01 23:34:13 +00:00
|
|
|
|
|
|
|
TSIP_END_DECLS
|
|
|
|
|
|
|
|
#endif /* TINYSIP_DIALOG_REGISTER_H */
|
2009-12-22 20:46:06 +00:00
|
|
|
|