summaryrefslogtreecommitdiffstats
path: root/srs.c
Commit message (Collapse)AuthorAgeFilesLines
* srs: include signal.hDenis 'GNUtoo' Carikli2020-08-071-0/+1
| | | | | | | | | | | | | | | | | | srs.c uses functions like signal and define like SIGPIPE, which come from the signal.h header from the C standard library. While for some reason this didn't create compilation issues in Replicant 6, compiling libsamsung-ril with Guix[1] fails because of that. References: ----------- [1]At the time of writing, the libsamsung-ril is not yet in Guix, however an unofficial package does exist, and is being worked on[2]. If srs.c is patched to include signal.h, that unofficial libsamsung-ril packages does compile successfully. [2]https://git.replicant.us/contrib/GNUtoo/guix/log/?h=libsamsung-ril Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* srs: reorder includesDenis 'GNUtoo' Carikli2020-08-071-7/+8
| | | | | | | | | | | | | | | | | | | - The includes were ordered alphabetically - #include "" is prefered over #incude <> for files relative to a given project[1] (here libsamsung-ril). References: ----------- [1]In the C standard[2], the difference of behavior of between #include <> and #include "" is implementation-defined[2]. And The GCC documentation[3] says that #include "" "is used for header files of your own program.". [2]The standard doesn't seem to be available for free, but the draft can be downloaded from the following URL: https://web.archive.org/web/20181230041359if_/http://www.open-std.org/jtc1/sc22/wg14/www/abq/c17_updated_proposed_fdis.pdf [3]https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove unused variablesDenis 'GNUtoo' Carikli2019-07-241-5/+0
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove unused labelsDenis 'GNUtoo' Carikli2019-06-181-2/+1
| | | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* samsung-ril-socket: mic mute implementationWolfgang Wiedmeyer2019-06-181-0/+2
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* client: RIL state update delegation, no client destroy, IPC client boot in openreplicant-4.2-0004replicant-4.2-0003Paul Kocialkowski2014-10-041-1/+0
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* samsung-ril-socket: SRS test messages implementationPaul Kocialkowski2014-10-041-0/+17
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Samsung-RIL rewrite: harder, better, probably not faster but definitely strongerPaul Kocialkowski2014-08-071-300/+881
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* RIL_LOG macro to log messagesreplicant-4.2-0002replicant-4.2-0001Paul Kocialkowski2013-12-201-20/+20
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Update copyright informationPaul Kocialkowski2013-03-311-2/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Coding style: add spaces around equal sign in for statementsPaul Kocialkowski2013-03-311-1/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* srs: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-311-133/+130
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rename samsung-ril to Samsung-RIL, refactor Android.mk and comments stylePaul Kocialkowski2013-03-301-5/+5
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SRS: srs-client library, proper structures for protocol dataPaul Kocialkowski2013-03-071-12/+12
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Change coding style: add a space after if, for and whilePaul Kocialkowski2013-02-091-62/+62
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Copyright: Corrected email addressPaul Kocialkowski2012-11-191-1/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SRS: Set non-blocking flag without overridePaul Kocialkowski2012-11-121-1/+4
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SRS: Rework to handle multiple clients in a better wayPaul Kocialkowski2012-11-051-119/+409
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Updated copyright informationPaul Kocialkowski2012-11-041-1/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Reworked RIL requests, globals, SIM status, clientPaul Kocialkowski2012-11-011-5/+5
| | | | | | | | | | | * Handling ril requests with lists * Renamed functions to complete requests * Globals (most of them) are held in ril_data * Renamed SIM_Status to ril_sim_state * Renamed client object to data * Moved client funcs to a sub-structure Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SRS: Use different socket type based on RIL versionPaul Kocialkowski2012-08-281-1/+4
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rework SRS to support multiple clientsAlexander Tarasikov2012-08-271-115/+109
| | | | | | This fixes deadlocks on Galaxy Nexus (Tuna) when GPS/NFC libraries open the socket thus preventing in-call audio from functioning
* Fix some compilation warningsAlexander Tarasikov2012-07-251-4/+7
|
* srs: use SOCKET_ABSTRACT to fix ICS permissionsAlexander Tarasikov2012-07-081-1/+1
|
* RIL rework: multi-client, more stable, added GPLv3 copyright noticePaulK2011-12-211-0/+291