~ubuntu-branches/ubuntu/vivid/linphone/vivid

« back to all changes in this revision

Viewing changes to osipua/src/uatransaction.h

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2006-11-15 10:34:50 UTC
  • mfrom: (1.2.1 upstream) (2.1.8 feisty)
  • Revision ID: james.westby@ubuntu.com-20061115103450-qgafwcks2lkhctlj
* New upstream release.
* Enable video support.
* Fix mismatched #endif in mscommon.h, closes: #398307.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
  The osipua library is a library based on oSIP that implements CallLeg and User Agent
3
 
  level.
4
 
  Copyright (C) 2001  Simon MORLAT simon.morlat@free.fr
5
 
                                                                                        Aymeric MOIZARD jack@atosc.org
6
 
  This library is free software; you can redistribute it and/or
7
 
  modify it under the terms of the GNU Lesser General Public
8
 
  License as published by the Free Software Foundation; either
9
 
  version 2.1 of the License, or (at your option) any later version.
10
 
 
11
 
  This library is distributed in the hope that it will be useful,
12
 
  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
 
  Lesser General Public License for more details.
15
 
 
16
 
  You should have received a copy of the GNU Lesser General Public
17
 
  License along with this library; if not, write to the Free Software
18
 
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
 
*/
20
 
 
21
 
#include <osip/osip.h>
22
 
#include <osip/smsgtypes.h>
23
 
#include "osipdialog.h"
24
 
 
25
 
transaction_t * ua_transaction_new(OsipDialog *call, sip_t *msg);
26
 
 
27
 
 
28
 
#define ua_transaction_get_dialog(trn) ((OsipDialog*)((trn)->your_instance))
29
 
 
30
 
void ua_transaction_set_incoming_invite_tr(transaction_t *trn,OsipDialog *call);
31
 
void ua_transaction_set_outgoing_invite_tr(transaction_t *trn,OsipDialog *call);
32
 
void ua_transaction_set_incoming_bye_tr(transaction_t *trn,OsipDialog *call);
33
 
void ua_transaction_set_outgoing_bye_tr(transaction_t *trn,OsipDialog *call);
34
 
void ua_transaction_set_outgoing_register_tr(transaction_t *trn,OsipDialog *call);
35
 
void ua_transaction_set_outgoing_cancel_tr(transaction_t *trn,OsipDialog *call);
36
 
void ua_transaction_set_incoming_cancel_tr(transaction_t *trn,OsipDialog *call);
37
 
 
38
 
void ua_transaction_free(transaction_t *transaction);
39
 
 
40
 
void ua_transaction_set_destination(transaction_t *trn,char *destination, int port);
41
 
 
42
 
int ua_transaction_get_destination(transaction_t *trn, char **destination, int *port);
43
 
 
44
 
/* execute a transaction outside the udp thread context */
45
 
void ua_transaction_execute(transaction_t *trn, sipevent_t *ev);
46