~ubuntu-branches/ubuntu/quantal/linphone/quantal

« back to all changes in this revision

Viewing changes to coreapi/misc.h

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2004-06-30 13:58:16 UTC
  • Revision ID: james.westby@ubuntu.com-20040630135816-wwx75gdlodkqbabb
Tags: upstream-0.12.2
ImportĀ upstreamĀ versionĀ 0.12.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
linphone
 
3
Copyright (C) 2000  Simon MORLAT (simon.morlat@free.fr)
 
4
 
 
5
This program is free software; you can redistribute it and/or
 
6
modify it under the terms of the GNU General Public License
 
7
as published by the Free Software Foundation; either version 2
 
8
of the License, or (at your option) any later version.
 
9
 
 
10
This program is distributed in the hope that it will be useful,
 
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
GNU General Public License for more details.
 
14
 
 
15
You should have received a copy of the GNU General Public License
 
16
along with this program; if not, write to the Free Software
 
17
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
18
*/
 
19
 
 
20
#ifndef MISC_H
 
21
#define MISC_H
 
22
 
 
23
#include "linphonecore.h"
 
24
#include <ortp.h>
 
25
 
 
26
 
 
27
int set_lock_file();
 
28
int get_lock_file();
 
29
int remove_lock_file();
 
30
int linphone_arts_suspend();
 
31
int linphone_arts_restore();
 
32
int kill_sound_daemons();
 
33
void restore_sound_daemons();
 
34
int try_open_dsp(LinphoneCore *lc);
 
35
gint do_registration(LinphoneCore *lc, gboolean doit);
 
36
void check_for_registration(LinphoneCore *lc);
 
37
char *int2str(int number);
 
38
int from_2char_without_params(from_t *from,char **str);
 
39
void check_sound_device(LinphoneCore *lc);
 
40
void linphone_core_check_codecs_for_bandwidth(LinphoneCore *lc);
 
41
void linphone_core_setup_local_rtp_profile(LinphoneCore *lc);
 
42
 
 
43
#define PAYLOAD_TYPE_ENABLED    (1<<7)
 
44
#define PAYLOAD_TYPE_USABLE             (1<<8)
 
45
 
 
46
 
 
47
#endif