Denis Kenzior
48e31f9fc3
main: Quiet ld errors with external ell
...
When oFono is built with --enable-external-ell, the compiler for some
reason does not generate a debug section on some systems. This is due
to the fact that l_debug is never called. However, ell also does not
call l_debug, yet when built-in ell is used, the section is created by
the compiler.
For now work around this by adding a no-op l_debug() call in main.c.
The real fix is to migrate all of the oFono logging functionality to use
ell instead.
2019-05-16 15:10:53 -05:00
Marcel Holtmann
6f431e2d70
main: Remove leftover HAVE_ELL conditions
2018-11-01 20:54:37 +01:00
Marcel Holtmann
d37c22be20
build: Remove setup of thread support
2018-09-21 20:35:18 +02:00
Giacinto Cifelli
f11633f837
main: Remove call to g_thread_init
...
according to g_thread documentation, this call is no longer needed,
and starting from g_thread version 2.32 it must not be used
2018-09-20 10:39:55 -05:00
Denis Kenzior
8dc66c11bd
build: Add optional ell dependency
2017-10-05 11:08:38 -05:00
Slava Monich
54fb56df24
main: Make -d option repeatable
...
Concatenating the patterns makes more sense than using the last
supplied value and leaking the previous allocated patterns.
2016-10-04 22:26:26 -05:00
Tommi Kenakkala
41fadd3787
main: Remove handsfree_audio_manager init/cleanup
...
Init allocates a SCO audio socket always. oFono should do that
with bluez5 but not with bluez4. This patch starts the refactoring of
the handsfree_audio_manager init/cleanup functionality.
2015-02-02 09:26:58 -06:00
Claudio Takahasi
55a9b0411e
main: Call handsfree audio manager init and cleanup
2013-02-20 21:20:26 -06:00
Marcel Holtmann
c98de2a4bf
build: Remove dependency on libcap-ng
2012-05-29 08:17:01 +02:00
Marcel Holtmann
7e6afe37bf
core: Update copyright information
2011-10-10 13:39:42 -07:00
Marcel Holtmann
35ea6a5a05
log: Add support for backtrace symbole resolving
2011-10-05 19:41:40 -07:00
Marcel Holtmann
e85b17118a
main: Print message when starting to shutdown
2011-07-29 14:12:18 +02:00
Marcel Holtmann
b63c34adcf
main: Move signalfd setup in its own function
2011-07-01 21:33:16 -07:00
Jeevaka Badrappan
480f7dffd9
core: M15 coding style fix
2011-01-12 08:06:58 -08:00
Lucas De Marchi
b210838e87
core: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 13:27:15 -06:00
Mika Liljeberg
d282509a9d
main: add capabilities for phonet
...
Phonet sockets require CAP_SYS_ADMIN and SO_BINDTODEVICE socket
option requires CAP_NET_RAW.
2010-11-01 17:27:46 +01:00
Marcel Holtmann
a46fbe493e
main: Enable active capability dropping
2010-10-27 14:03:13 +02:00
Pekka Pessi
adb8219090
Support -p and -P options with list of plugins
2010-10-04 17:34:50 +02:00
Denis Kenzior
f4a0b9fa20
modem: Add modemwatch watchlist functions
...
Used for registering to modem added & removed notifications
2010-09-28 22:49:22 -05:00
Zhenhua Zhang
b02f8cfbd6
Add support to enable/disable specific plugin
...
Support to load or not load specific plugin when ofono is started.
E.g., use 'ofonod -P hfp' to disable hfp plugin.
2010-09-11 12:41:27 +02:00
Marcel Holtmann
6322542719
Break function declaration down to two lines
2010-05-25 11:08:58 +02:00
Gustavo F. Padovan
d62548bfd0
Bring back -d option without need for argument
2010-05-25 11:08:22 +02:00
Marcel Holtmann
9ee614b64b
Check for capabilities support via libcap-ng
2010-03-29 11:06:04 -07:00
Marcel Holtmann
a82a62bd31
Remove empty block for SIGPIPE handling
2010-01-26 10:07:56 +01:00
Marcel Holtmann
e4850f2eeb
Add support for dynamic debug feature
2010-01-26 10:06:53 +01:00
Marcel Holtmann
e433ddc100
Add command line option for printing version number
2010-01-16 19:29:43 -08:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Denis Kenzior
955e6a61ee
Style: Fix a few more occurences of if/else
...
See Linux coding style document for details
2009-12-17 21:45:39 -06:00
Denis Kenzior
5745292cca
Don't generate multiple g_sources, 1 is enough
2009-12-04 20:51:19 -06:00
Denis Kenzior
adfb6c9d60
Use signalfd for signal handling
2009-12-04 20:44:04 -06:00
Denis Kenzior
0500fadc63
Fix: Be a bit more signal-handler safe
2009-12-02 20:10:18 -06:00
Denis Kenzior
b0f0e248e9
When SIGTERM is received, run the event loop
...
This feature will continue running the event loop for another 10 seconds
or so or until all the modems have been shut down. This will allow the
modem drivers to properly shutdown their respective devices.
2009-12-02 19:11:36 -06:00
Denis Kenzior
54816de04d
Get rid of dbus-gsm.h
2009-07-29 12:26:06 -05:00
Denis Kenzior
c31350294f
Refactor dbus initialization & reconnect
2009-07-29 12:26:04 -05:00
Denis Kenzior
73fe7ac6dc
Move & Rename dbus_gsm_init & dbus_gsm_exit
...
Rename to __ofono_dbus_init && __ofono_dbus_cleanup for consistency
Move to ofono.h
2009-07-29 12:26:04 -05:00
Denis Kenzior
a78b36290b
Add implementation of telephony daemon
2009-05-05 21:14:19 -07:00
Marcel Holtmann
838583f498
Add option parsing and mainloop setup
2009-05-05 19:03:13 -07:00
Marcel Holtmann
ed08e2adee
Add plugin support infrastructure
2009-04-26 21:28:48 +02:00
Marcel Holtmann
e059f43fae
Add skeleton for telephony daemon
2009-04-26 21:12:32 +02:00